DirectX11PrimitiveRenderer
Description
- Derived from
-
PrimitiveRenderer abstract
Full source code is included in the Tinman 3D SDK download. |
Implementation of the IPrimitiveRenderer interface that uses a Direct3D 11 ID3D11DeviceContext
COM object.
The draw buffer (see IPrimitiveRenderer.Buffer) has an element size of 20 bytes and the following layout:
struct DrawIndexedInstancedIndirectArgs { UINT IndexCountPerInstance; UINT InstanceCount; UINT StartIndexLocation; INT BaseVertexLocation; UINT StartInstanceLocation; }