<SamplerNode> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » Node » VariableNode » SamplerNode

Function Members

Function members are as follows:

Return Type Function Name Documentation
stringGetSamplerTypeStringReturns the SamplerType string ( ex: sampler2D ) at the specified index.
int32GetSamplerTypesPopulates a <StrList> with sampler type names and an <Int32Array> with indices of the type names. These values refer to the SamplerType enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.
int32IsAnyBufferTypeReturns true if the sampler type is any buffer type: samplerBuffer, isamplerBuffer, usamplerBuffer, imageBuffer, iimageBuffer, or uimageBuffer.
int32IsAnyImageBufferTypeReturns true if the sampler type is any image buffer type: imageBuffer, iimageBuffer, or uimageBuffer.
int32IsAnySamplerBufferTypeReturns true if the sampler type is any sampler buffer type: samplerBuffer, isamplerBuffer, or usamplerBuffer.
int32IsTypeReturns true if this object is a <SamplerNode> representing the specified type.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
uint32BindingGets or sets the explicit binding location value, in case the sampler declaration does not use explicit binding.
int32InternalFormatGets or set the internal format, which only applies to a <SamplerNode> being used in a texture buffer or pixel buffer configuration. Typically, the user doesn't need to set this value. This value refers to the GLInternalFormat enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.
int32SamplerTypeGets or sets the sampler type. This value refers to the SamplerType enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.
<Texture>TextureGets or sets the pointer to the <Texture> this <Node> binds.
<Node>TextureLinkGets or sets the pointer to the <Texture> this <Node> binds.