IsSampler2D Data Member Function

Returns true if the <Texture> object and its underlying <Image> object are correctly configured to represent a 2D sampler such as sampler2D, usampler2D, or isampler2D.

Prototype

int32 IsSampler2D( Texture p_oTexture )

Parameters

Parameter Type Parameter Name Documentation
<Texture>p_oTextureA pointer to the <Texture> to query.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.