Function: getTextureImageView()
getTextureImageView<
T>(arrayBuffer,memoryLayout,format,image?):Uint8Array<ArrayBuffer> |Uint16Array<ArrayBuffer> |Uint32Array<ArrayBuffer> |Float32Array<ArrayBuffer>
Defined in: modules/core/src/shadertypes/texture-types/texture-layout.ts:9
Type Parameters
T
T extends TextureFormat
Parameters
arrayBuffer
ArrayBuffer
memoryLayout
format
T
image?
number = 0
Returns
Uint8Array<ArrayBuffer> | Uint16Array<ArrayBuffer> | Uint32Array<ArrayBuffer> | Float32Array<ArrayBuffer>