HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VE_CommandPool.h File Reference
#include "VE_API.h"
#include "VE_VK.h"
#include "VE_Result.h"
#include "VE_Device.h"
#include <UT/UT_NonCopyable.h>
+ Include dependency graph for VE_CommandPool.h:

Go to the source code of this file.

Classes

class  VE_CommandBuffer
 
class  VE_CommandBufferHandle
 
class  VE_CommandPool< CB_COUNT >
 
class  VE_CommandPoolTransient< CB_COUNT >
 
class  VE_CommandBufferSingleUse
 

Enumerations

enum  CommandBufferState {
  CommandBufferState::INITIAL, CommandBufferState::RECORDING, CommandBufferState::EXECUTABLE, CommandBufferState::PENDING,
  CommandBufferState::RETIRED, CommandBufferState::RECORDING_RENDERPASS
}
 

Functions

VE_API VE_Result< VkCommandPool > VEcreateCommandPool (VkDevice device, uint32_t queue_family_index, VkCommandPoolCreateFlags flags)
 
void VEdestroyCommandPool (VkDevice device, VkCommandPool pool)
 
VE_API VkResult VEsubmitToQueueInternal (VkQueue &, VkSubmitInfo &, VkFence &)
 

Enumeration Type Documentation

enum CommandBufferState
strong
Enumerator
INITIAL 
RECORDING 
EXECUTABLE 
PENDING 
RETIRED 
RECORDING_RENDERPASS 

Definition at line 26 of file VE_CommandPool.h.

Function Documentation

VE_API VE_Result<VkCommandPool> VEcreateCommandPool ( VkDevice  device,
uint32_t  queue_family_index,
VkCommandPoolCreateFlags  flags 
)
void VEdestroyCommandPool ( VkDevice  device,
VkCommandPool  pool 
)
VE_API VkResult VEsubmitToQueueInternal ( VkQueue &  ,
VkSubmitInfo ,
VkFence &   
)

This internal helper function ensures mutual exclusion. It's used by the header-only VE_CommandPool template: it should not be called directly.