|
RenderTextureRenderingStepGetTextureChannelsCount Method |
GetTextureChannelsCount returns number of channels (colors) that are used by the specified sourceTexture.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public static RenderTextureRenderingStepTextureChannelsCount GetTextureChannelsCount(
ShaderResourceView sourceTexture,
bool throwException
)
Parameters
- sourceTexture ShaderResourceView
- sourceTexture as ShaderResourceView
- throwException Boolean
- true when an exception is throw when the number of channels cannot be determined
Return Value
RenderTextureRenderingStepTextureChannelsCountnumber of channels (colors) that are used by the specified sourceTexture
See Also