Click or drag to resize
AB4D logo

RenderTextureRenderingStepGetTextureChannelsCount Method

GetTextureChannelsCount returns number of channels (colors) that are used by the specified sourceTexture.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
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

RenderTextureRenderingStepTextureChannelsCount
number of channels (colors) that are used by the specified sourceTexture
See Also