SoTexture3layout Property |
Indicates whether the data layout is a volumetric texture VOLUME or an array of bi-dimensional textures ARRAY.
Namespace: OIV.Inventor.Nodes
. Default is VOLUME.
Note that if you use a OIV.Inventor.Nodes.SoTexture3 with a OIV.Inventor.Nodes.SoShaderProgram, the layout value affects the type of sampler in GLSL: if the layout value is VOLUME, the sampler type is sampler3D; if the layout value is ARRAY, the sampler type is sampler2DArray.
Note |
---|
Field available since Open Inventor 9.6 |