DirectX12Context
Description
- Derived from
-
GraphicsContext abstract
Full source code is included in the Tinman 3D SDK download. |
An implementation of the IGraphicsContext interface for DirectX 12 with Shader Model 6.5 or higher, Raytracing Tier 1.1 or higher and Mesh Shader Tier 1.0 or higher.
The returned INativeHandles can be interpreted as follows:
-
LowLevel.IsWindows ==
true
:-
DirectX12Context:
TheID3D12Device2*
COM pointer (do not callRelease
on it). -
IGpuBuffer (created by IGraphicsContext.BufferFactory):
TheID3D12Resource*
COM pointer (do not callRelease
on it). -
ITexture2D (created by IGraphicsContext.TextureFactory):
TheID3D12Resource*
COM pointer (do not callRelease
on it). -
ITextureCube (created by IGraphicsContext.CreateTextureCube):
TheID3D12Resource*
COM pointer (do not callRelease
on it). -
IRenderTarget (created by IGraphicsContext.CreateRenderTarget or IGraphicsContext.CreateSwapChain):
TheID3D12Resource*
COM pointer of the backbuffer surface (do not callRelease
on it).
-