DirectX12PrimitiveRenderer
Description
- Derived from
-
PrimitiveRenderer abstract
Full source code is included in the Tinman 3D SDK download. |
Implementation of the IPrimitiveRenderer interface for a Direct3D 12 render pipeline.
When obtained via IGraphicsContext.PrimitiveRenderer, the draw buffer (see IPrimitiveRenderer.Buffer) has an element size of 20 bytes and the following layout:
struct DrawIndexedInstancedArguments { UINT IndexCountPerInstance; UINT InstanceCount; UINT StartIndexLocation; INT BaseVertexLocation; UINT StartInstanceLocation; }