imageTexture
Tag: imageTexture
Parent tag: imageTextures
Attributes:
texture
(string) – the name of a previously defined texture.UNIT
(unsigned int) – The texture unit
Child tags:
ACCESS
(read/write) – ENUM {READ_ONLY WRITE_ONLY READ_WRITE}CLEAR
(read/write) – BOOL default: falseINTERNAL_FORMAT
(read/write) – ENUM {RGBA RGBA16 DEPTH_COMPONENT16 DEPTH_COMPONENT24 R8 R16 RG8 RG16 R16F R32F RG16F RG32F R8I R8UI R16I R16UI R32I R32UI RG8I RG8UI RG16I RG16UI RG32I RG32UI RGBA32F RGBA16F DEPTH_COMPONENT32F DEPTH32F_STENCIL8 RGBA32UI RGBA16UI RGBA8UI RGBA32I RGBA16I RGBA8I }LEVEL
(read/write) – UINT default: 0TEX_ID
(read only) – UINT the id of the assigned textureUNIT
(read only) – INT default: -1
Example:
<imageTextures> <imageTexture UNIT=1 texture="tex" > <ACCESS value="WRITE_ONLY" /> <LEVEL value=0 /> <CLEAR value=true /> </imageTexture> </imageTextures>