DirectX12Util
Description
Full source code is included in the Tinman 3D SDK download. |
Helper class for this namespace.
Public / Methods
ConstantValueFor
5 overloads
Returns the DirectX12 constant value for the given RenderTargetFormat value.
Returns the DirectX12 constant value for the given TextureFormat value.
Returns the DirectX12 constant value for the given VertexElementUsage value.
Returns the DirectX12 constant value for the given Primitive value.
Returns the DirectX12 constant value for the given VertexElement value.
ConstantValueForThrow
4 overloads
Returns the DirectX12 constant value for the given VertexElement value.
- RenderException
-
If value in is not supported.
Returns the DirectX12 constant value for the given static sampler border color.
Returns the DirectX12 constant value for the given RenderTargetFormat value.
- RenderException
-
If value in is not supported.
Returns the DirectX12 constant value for the given TextureFormat value.
- RenderException
-
If value in is not supported.
ReadPixelsDecodeFormat
Returns the value of the format in parameter for GraphicsContext.DecodeScanline