IsSampler1D Data Member Function

Returns true if the <Texture> object and its underlying <Image> object are correctly configured to represent a 1D sampler such as sampler1D, usampler1D, or isampler1D.

Prototype

int32 IsSampler1D( 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.