GetBindableAs Data Member Function

Populates an <Int32Array> with enumeration values that refer to sampler types that an <Image> is bindable as.

Prototype

int32 GetBindableAs( int32 p_eFormat, Int32Array p_aeSamplerTypes )

Parameters

Parameter Type Parameter Name Documentation
int32p_eFormatAn Image_Pixel_Format enumeration value such as IPF_8888_ARGB. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.
<Int32Array>p_aeSamplerTypesA pointer to an <Int32Array> that stores the list of enumerated constants for each sampler type that can bind the specified Image_Pixel_Format.

Examples

Copy Text To Clipboard

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