Provides script language access to C++ objects of this type.
Class Hierarchy | Type » Node » VariableNode » VariableArrayNode » SamplerArrayNode |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | Clear | Clears any <Texture> <Node> objects to which this object is connected. |
string | GetSamplerTypeString | Provides script language access to objects of typeProvides script language access to objects of type <SamplerNode>. |
int32 | GetSamplerTypes | Populates a <StrList> with sampler type names and an <Int32Array> with indices of the type names. These values refer to the SamplerType enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | GetSlotCount | Returns the maximum number of texture slots available for this <Node>, which is 32. Note that this exceeds the number of texture binding slots available in most OpenGL implementations. |
<Texture> | GetTexture | Returns a pointer to the <Texture> at the specified index, or nullptr. This is the <Texture> being bound to the GPU by this SamplerArrayNode. |
<Node> | GetTextureLink | Returns a pointer to the <Texture> at the specified index, or nullptr. This is the <Texture> being bound to the GPU by this SamplerArrayNode. |
int32 | IsType | Returns true if this object is a SamplerArrayNode representing the specified type. |
int32 | SetTexture | Sets the texture binding at the specified index. |
int32 | SetTextureLink | Sets the texture binding at the specified index. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
int32 | SamplerType | Gets or sets the sampler type. This value refers to the SamplerType enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |