DirectX Graphics API Reference
Welcome to the comprehensive API reference for DirectX Graphics on Windows. This section provides detailed information on the classes, functions, structures, and enumerations that make up the DirectX graphics stack, enabling you to build powerful and visually rich applications.
Direct3D 12
Direct3D 12 is the latest generation of DirectX graphics API, offering low-overhead, high-performance access to the GPU. It provides more control over hardware, allowing developers to optimize rendering pipelines and achieve greater efficiency.
Key Components
-
Device Creation and Management
Learn how to create and manage Direct3D devices, which represent the graphics adapter and provide access to its capabilities.
-
Command Lists and Execution
Understand how to record commands into command lists and execute them on the GPU using command allocators and command queues.
-
Resource Management
Details on creating and managing GPU resources such as buffers, textures, and heaps.
-
Root Signatures and Shaders
Information on defining shader inputs and outputs using root signatures and compiling shaders.
Direct3D 11
Direct3D 11 is a widely used, robust graphics API that balances performance with ease of use, suitable for a vast range of applications.
Key Components
-
Device and Context
Learn about creating the Direct3D device and accessing immediate and deferred contexts for rendering commands.
-
Shader Model 5.0
Explore the features of the Shader Model 5.0, including compute shaders and advanced pixel shader capabilities.
-
Input Assembler, Rasterizer, Output Merger
Discover how these fixed-function pipeline stages are configured and controlled.
DXGI (DirectX Graphics Infrastructure)
DXGI provides the underlying services for DirectX graphics, including enumerating adapters, managing swap chains, and handling multi-monitor scenarios.