DirectX11RenderTarget
Description
- Derived from
-
RenderTarget abstract
Full source code is included in the Tinman 3D SDK download. |
Implementation of the IRenderTarget interface that uses Direct3D 11 resources.
Public / Constructors
DirectX11RenderTarget
Creates a new instance of DirectX11RenderTarget.
The given format in value does not need to be an exact match for the actual render target properties, but it should be chosen according to these rules:
-
The RenderTargetFormat.MaskFlags flags should reflect the actual render target properties (mipmap-chain, multi-sampling and sRGB), because render code may use these values in order to create auxiliary resources.
-
The bit-depth of RenderTargetFormat.MaskColor and RenderTargetFormat.MaskDepth should be as accurate as possible, so that a meaningful value may be computed for the estimated memory consumption.
-
The available color channels in RenderTargetFormat.MaskColor should match (A, R, RG, RGBA), because render code may consume this information.