ngfx::CommandBuffer
Inherited by ngfx::D3DCommandList, ngfx::MTLCommandBuffer, ngfx::VKCommandBuffer
Public Functions
Name | |
---|---|
CommandBuffer * | create(GraphicsContext * ctx, CommandBufferLevel level =COMMAND_BUFFER_LEVEL_PRIMARY) |
virtual | ~CommandBuffer() |
virtual void | begin() =0 |
virtual void | end() =0 |
Public Functions Documentation
function create
static CommandBuffer * create(
GraphicsContext * ctx,
CommandBufferLevel level =COMMAND_BUFFER_LEVEL_PRIMARY
)
Parameters:
- ctx The graphics context
- level The command buffer level
Create the command buffer
function ~CommandBuffer
inline virtual ~CommandBuffer()
Destroy the command buffer
function begin
virtual void begin() =0
Reimplemented by: ngfx::VKCommandBuffer::begin, ngfx::MTLCommandBuffer::begin, ngfx::D3DCommandList::begin
Begin recording
function end
virtual void end() =0
Reimplemented by: ngfx::VKCommandBuffer::end, ngfx::MTLCommandBuffer::end, ngfx::D3DCommandList::end
End recording
Updated on 3 April 2021 at 20:21:51 PDT