D3D11 namespace
Direct3D 11 backend, selected by WITH_RHI_D3D11.
Namespaces
- namespace UniformTypeInfo
- Free-function helpers that classify reflected uniform types (component count, float-ness).
Classes
- class D3D11Attribute
- Reflected metadata of a single active vertex attribute (aliased as
RHI::Attribute). - class D3D11BufferObject
- Buffer object of the Direct3D 11 backend (aliased as
RHI::Buffer). - struct D3D11CBufferSlot
- Describes one constant buffer slot a shader stage expects, precomputed from bytecode reflection.
- class D3D11Debug
- Debug-output and object-labelling stub of the Direct3D 11 backend.
- class D3D11Device
- Pipeline-state and draw-call facade of the Direct3D 11 backend (aliased as
RHI::Device). - class D3D11Framebuffer
- Framebuffer stub of the Direct3D 11 backend (aliased as
RHI::Framebuffer). - class D3D11Renderbuffer
- Renderbuffer stub of the Direct3D 11 backend (aliased as
RHI::Renderbuffer). - class D3D11RenderTarget
- Off-screen render target of the Direct3D 11 backend (aliased as
RHI::RenderTarget). - class D3D11RhiCapabilities
- Runtime capabilities of the Direct3D 11 backend.
- class D3D11Shader
- Shader-object stub of the Direct3D 11 backend.
- class D3D11ShaderProgram
- Shader program of the Direct3D 11 backend (aliased as
RHI::ShaderProgram). - class D3D11ShaderUniformBlocks
- Manages the uniform-block caches of a program (aliased as
RHI::ShaderUniformBlocks). - class D3D11ShaderUniforms
- Manages the loose-uniform caches of a program (aliased as
RHI::ShaderUniforms). - class D3D11Texture
- Texture object of the Direct3D 11 backend (aliased as
RHI::Texture). - class D3D11Uniform
- Reflected metadata of a single active uniform (aliased as
RHI::Uniform). - class D3D11UniformBlock
- Reflected metadata of a single active uniform block (aliased as
RHI::UniformBlock). - class D3D11UniformBlockCache
- Caches the contents of a uniform block (aliased as
RHI::UniformBlockCache). - class D3D11UniformCache
- Caches the host-side value of a single uniform (aliased as
RHI::UniformCache). - class D3D11VertexArray
- Vertex array object stub of the Direct3D 11 backend (aliased as
RHI::VertexArray). - class D3D11VertexFormat
- Vertex layout description of the Direct3D 11 backend (aliased as
RHI::VertexFormat).
Typedefs
- using CBufferSlotList = SmallVector<D3D11CBufferSlot, 2>
- Constant-buffer slots one shader stage expects.
-
using ShaderByteCode = SmallVector<std::
uint8_t, 0> - Compiled DXBC bytecode of one shader stage (kilobytes — always heap-allocated).
Typedef documentation
using nCine:: RHI:: D3D11:: CBufferSlotList = SmallVector<D3D11CBufferSlot, 2>
Constant-buffer slots one shader stage expects.
A stage binds one or two cbuffers in practice (the gathered _Globals plus at most one uniform block), so the inline capacity covers the usual case without a heap allocation, and the draw path walks the slots inline.
using nCine:: RHI:: D3D11:: ShaderByteCode = SmallVector<std:: uint8_t, 0>
Compiled DXBC bytecode of one shader stage (kilobytes — always heap-allocated).