Populates a <StrList> with a sampler declaration that matches the query parameters. Each component of the declaration is stored in a separate <Str> object in the <StrList>.
int32 GetSamplerDeclarationComponents( int32 p_eFormat, int32 p_eTopology, int32 p_eTextureType, string p_sSamplerVariable, StrList p_slComponents )
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'. |
<StrList> | p_slComponents | A pointer to a <StrList> that stores the sampler declaration components. |
None published. Please look for an example in the Scenome Scripting Language code base.