|
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.0.8865.1045
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