Provides script language access to C++ objects of this type.
Class Hierarchy | Type » GlslSamplerInfo |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
int32 | Arrayed | Gets or sets the Arrayed flag. For example, setting this to true indicates the symbol information represents an array of samplers such as sampler2D mySamplers[4]. |
int32 | BasicType | Gets or sets the BasicType flag. This refers to the TBasicType enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | Combined | Gets or sets the Combined flag. For example, this represents a sampler composed of a binding and a texture. |
int32 | External | Gets or sets the External flag. Used with GL_OES_EGL_image_external. |
int32 | Image | Gets or sets the Image flag. For example, when a sampler is declared as image2D myImage. |
int32 | MS | Gets or sets the MultiSampler flag. For example, when a sampler is declared as sampler2DMS mySampler. |
int32 | Sampler | Gets or sets the Sampler flag. For example, when a sampler is declared as sampler2D mySampler. |
int32 | SamplerDim | Gets or sets the SamplerDimension flag. For example, samplers may be 1 dimensional ( r32f ), 2 dimensional ( rg32f ), 3 dimensional ( rgb32f ) or 4 dimensional ( rgba32f ). |
string | SamplerType | Gets or sets the sampler type from a string. Must be a valid OpenGL sampler type such as 'sampler2D' or 'image2D'. |
int32 | Shadow | Gets or sets the Shadowed flag. For example, setting this to true indicates the symbol information represents something like sampler2DShadow. |
uint32 | VectorSize | Gets or sets the vector size. This can be anything from 1 ( for a scalar such as an r32f floating point texture ) or vec4 for a 32-bit RGBA sampler2D. |
int32 | YUV | Gets or sets the YUV flag. For example, YUV may be used on samplers representing video streams. |