Returns a sampler declaration that matches the query parameters.
string GetSamplerDeclaration( int32 p_eFormat, int32 p_eTopology, int32 p_eTextureType, string p_sSamplerVariable )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_eFormat | An enumerated constant from Image_Pixel_Format such as IPF_8888_ARGB. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | p_eTopology | An enumerated constant from ImageTopology such as ImageTopology_2DArray. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | p_eTextureType | An enumerated constant from Texture_Type such as TextureType_Sampler2D. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
string | p_sSamplerVariable | A string representing the sampler variable name such as 'diffuse'. |
None published. Please look for an example in the Scenome Scripting Language code base.