CanBindFormat Data Member Function

Populates an <Int32Array> with Image_Pixel_Format enumeration values that the specified sampler type can bind.

Prototype

int32 CanBindFormat( int32 p_eSamplerType, Int32Array p_aiFormats )

Parameters

Parameter Type Parameter Name Documentation
int32p_eSamplerTypeThe type of sampler for the query. See SamplerTypeNone and subsequent items in TYPE_SERVICE_ENUMERATION_UTIL.SSL for more information.
<Int32Array>p_aiFormatsA pointer to an <Int32Array> that stores the list of enumerated constants for each Image_Pixel_Format that can be bound by the specified sampler type.

Examples

Copy Text To Clipboard

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