D3D12Device
The D3D12Device class extends the Device class to provide Direct3D12-specific functionality for managing a rendering device. It includes methods for interacting with Direct3D12 buffers and textures, such as setting their state, and provides access to key Direct3D12 components like the device, command queue, and graphics command list.
#include <platform/TellusimDevice.h>
Inheritance
- Inherits from Device
Constructors
D3D12Device()
explicit D3D12Device(Context &context)
explicit D3D12Device(Surface &surface)
explicit D3D12Device(Window &window)
Methods
Buffer state.
void setBufferState(Buffer &buffer, uint32_t state)
Texture state.
void setTextureState(Texture &texture, uint32_t state)
Command context.
ID3D12Device *getD3D12Device() const
ID3D12CommandQueue *getQueue() const
ID3D12GraphicsCommandList *getCommand() const