DirectX 11 – D3D11 Namespace

Overview

The D3D11 namespace contains the core interfaces, structures, and enumerations used for Direct3D 11 programming. It provides low‑level access to GPU resources, rendering pipelines, and shader stages.

Structures

NameDescription
D3D11_BUFFER_DESCDefines a buffer resource and its properties.
D3D11_TEXTURE2D_DESCDescribes a 2‑D texture resource.
D3D11_SHADER_RESOURCE_VIEW_DESCSpecifies how a resource is accessed by a shader.
D3D11_RENDER_TARGET_VIEW_DESCDescribes a render‑target view for a resource.
D3D11_INPUT_ELEMENT_DESCDefines the layout of a vertex buffer.

Interfaces

NameDescription
ID3D11DeviceCreates resources and the device context.
ID3D11DeviceContextSets pipeline state and issues draw calls.
ID3D11ShaderResourceViewProvides shader access to resources.
ID3D11RenderTargetViewRepresents a render target.
ID3D11SamplerStateDefines sampling behavior for textures.

Enumerations

NameDescription
D3D11_FILL_MODESpecifies how polygons are filled.
D3D11_CULL_MODESpecifies which triangle faces to cull.
D3D11_PRIMITIVE_TOPOLOGYDefines the type of primitive to render.
D3D11_SHADER_STAGEEnumerates shader stages.
D3D11_RESOURCE_MISC_FLAGMiscellaneous resource options.