Nebula
Loading...
Searching...
No Matches
Vulkan::VkCommandBufferThread Class Reference

#include <vkcommandbufferthread.h>

Inherits CoreGraphics::DrawThread.

Classes

struct  VkBarrierCommand
 
struct  VkBeginMarkerCommand
 
struct  VkBeginQueryCommand
 
struct  VkCommandBufferBeginCommand
 
struct  VkCommandBufferEndCommand
 
struct  VkCommandBufferResetCommand
 
struct  VkComputePipelineBindCommand
 
struct  VkDescriptorsCommand
 
struct  VkDispatchCommand
 
struct  VkDrawCommand
 
struct  VkEndMarkerCommand
 
struct  VkEndQueryCommand
 
struct  VkGfxPipelineBindCommand
 
struct  VkIndexBufferCommand
 
struct  VkIndirectDrawCommand
 
struct  VkIndirectIndexedDrawCommand
 
struct  VkInsertMarkerCommand
 
struct  VkPushConstantsCommand
 
struct  VkResetEventCommand
 
struct  VkScissorRectArrayCommand
 
struct  VkScissorRectCommand
 
struct  VkSetEventCommand
 
struct  VkStencilReadMaskCommand
 
struct  VkStencilRefCommand
 
struct  VkStencilWriteMaskCommand
 
struct  VkUpdateBufferCommand
 
struct  VkVertexBufferCommand
 
struct  VkViewportArrayCommand
 
struct  VkViewportCommand
 
struct  VkWaitForEventCommand
 
struct  VkWriteTimestampCommand
 

Public Member Functions

 VkCommandBufferThread ()
 constructor
 
virtual ~VkCommandBufferThread ()
 destructor
 
void DoWork () override
 this method runs in the thread context
 
- Public Member Functions inherited from CoreGraphics::DrawThread
 DrawThread ()
 constructor
 
void EmitWakeupSignal () override
 called if thread needs a wakeup call before stopping
 
template<typename T >
void Push (const T &command)
 push command to thread
 
void Flush ()
 flush commands
 
void Signal (Threading::Event *event)
 submit sync call
 

Private Member Functions

 __DeclareClass (VkCommandBufferThread)
 

Private Attributes

VkCommandBuffer vkCommandBuffer
 
VkPipelineLayout vkPipelineLayout
 

Additional Inherited Members

- Public Types inherited from CoreGraphics::DrawThread
enum  CommandType {
  BeginCommand , ResetCommand , EndCommand , GraphicsPipeline ,
  ComputePipeline , InputAssemblyVertex , InputAssemblyIndex , Draw ,
  IndirectDraw , IndirectIndexedDraw , Dispatch , BindDescriptors ,
  PushRange , Viewport , ViewportArray , ScissorRect ,
  ScissorRectArray , StencilRefs , StencilReadMask , StencilWriteMask ,
  UpdateBuffer , SetEvent , ResetEvent , WaitForEvent ,
  Barrier , Sync , Timestamp , BeginQuery ,
  EndQuery , BeginMarker , EndMarker , InsertMarker
}
 
- Protected Attributes inherited from CoreGraphics::DrawThread
Threading::CriticalSection lock
 
Threading::Event signalEvent
 
Util::Array< Commandcommands
 
CommandBuffer commandBuffer
 
Threading::Eventevent
 

Constructor & Destructor Documentation

◆ VkCommandBufferThread()

Vulkan::VkCommandBufferThread::VkCommandBufferThread ( )

constructor

◆ ~VkCommandBufferThread()

Vulkan::VkCommandBufferThread::~VkCommandBufferThread ( )
virtual

destructor

Member Function Documentation

◆ __DeclareClass()

Vulkan::VkCommandBufferThread::__DeclareClass ( VkCommandBufferThread )
private

◆ DoWork()

void Vulkan::VkCommandBufferThread::DoWork ( )
override

this method runs in the thread context

Member Data Documentation

◆ vkCommandBuffer

VkCommandBuffer Vulkan::VkCommandBufferThread::vkCommandBuffer
private

◆ vkPipelineLayout

VkPipelineLayout Vulkan::VkCommandBufferThread::vkPipelineLayout
private

The documentation for this class was generated from the following files: