OglTexture
OglTexture
Target: Sofa.GL.Component.Shader
namespace: sofa::gl::component::shader
parents:
- VisualModel
- ShaderElement
Data
Name | Description | Default value |
---|---|---|
name | object name | unnamed |
printLog | if true, emits extra messages at runtime. | 0 |
tags | list of the subsets the object belongs to | |
bbox | this object bounding box | |
componentState | The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). | Undefined |
listening | if true, handle the events, otherwise ignore the events | 0 |
enable | Display the object or not | 1 |
id | Set an ID name | |
indexShader | Set the index of the desired shader you want to apply this parameter | 0 |
filename | Texture Filename | |
textureUnit | Set the texture unit | 1 |
enabled | enabled ? | 1 |
repeat | Repeat Texture ? | 0 |
linearInterpolation | Interpolate Texture ? | 1 |
generateMipmaps | Generate mipmaps ? | 1 |
srgbColorspace | SRGB colorspace ? | 0 |
minLod | Minimum mipmap lod ? | -1000 |
maxLod | Maximum mipmap lod ? | 1000 |
proceduralTextureWidth | Width of procedural Texture | 0 |
proceduralTextureHeight | Height of procedural Texture | 0 |
proceduralTextureNbBits | Nb bits per color | 1 |
proceduralTextureData | Data of procedural Texture | |
cubemapFilenamePosX | Texture filename of positive-X cubemap face | |
cubemapFilenamePosY | Texture filename of positive-Y cubemap face | |
cubemapFilenamePosZ | Texture filename of positive-Z cubemap face | |
cubemapFilenameNegX | Texture filename of negative-X cubemap face | |
cubemapFilenameNegY | Texture filename of negative-Y cubemap face | |
cubemapFilenameNegZ | Texture filename of negative-Z cubemap face |
Links
Name | Description | Destination type name |
---|---|---|
context | Graph Node containing this object (or BaseContext::getDefault() if no graph is used) | BaseContext |
slaves | Sub-objects used internally by this object | BaseObject |
master | nullptr for regular objects, or master object for which this object is one sub-objects | BaseObject |