Populates an <Int32Array> with Image_Pixel_Format enumeration values that the specified sampler type can bind.
int32 CanBindFormat( int32 p_eSamplerType, Int32Array p_aiFormats )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_eSamplerType | The type of sampler for the query. See SamplerTypeNone and subsequent items in TYPE_SERVICE_ENUMERATION_UTIL.SSL for more information. |
<Int32Array> | p_aiFormats | A 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. |
None published. Please look for an example in the Scenome Scripting Language code base.