GetChannelSelectors Data Member Function

Populates an <Int32Array> with the <TextureSliceNode> object's channel selector values. A channel selector value refers to the channel to extract from the <Texture> data source. For example, given a <Texture> with an <Image> object storing 8888RGBA, you can select channels 0, 1, 2, or 3. A <TextureSliceNode> may select multiple channels from multiple <Texture> objects, so the values are stored in the <Int32Array> submitted to this function.

Prototype

int32 GetChannelSelectors( Int32Array p_aiChannels )

Parameters

Parameter Type Parameter Name Documentation
<Int32Array>p_aiChannelsThe <Int32Array> to populate with channel selector values.

Examples

Copy Text To Clipboard

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