Blender V5.0
blender::draw::command Namespace Reference

Classes

struct  RecordingState
struct  Header
struct  ShaderBind
struct  FramebufferBind
struct  SubPassTransition
struct  ResourceBind
struct  PushConstant
struct  SpecializeConstant
struct  Draw
struct  DrawMulti
struct  DrawIndirect
struct  Dispatch
struct  DispatchIndirect
struct  Barrier
struct  Clear
struct  ClearMulti
struct  StateSet
struct  StencilSet
union  Undetermined
class  DrawCommandBuf
class  DrawMultiBuf
struct  DrawGroup
struct  DrawPrototype

Enumerations

Regular Commands
enum class  Type : uint8_t {
  None = 0 , Barrier , Clear , ClearMulti ,
  Dispatch , DispatchIndirect , Draw , DrawIndirect ,
  FramebufferBind , PushConstant , SpecializeConstant , ResourceBind ,
  ShaderBind , SubPassTransition , StateSet , StencilSet ,
  SubPass , DrawMulti
}

Functions

static gpu::Batch * procedural_batch_get (GPUPrimType primitive)

Enumeration Type Documentation

◆ Type

enum class blender::draw::command::Type : uint8_t
strong
Enumerator
None 

None Type commands are either uninitialized or are repurposed as data storage. They are skipped during submission.

Barrier 

Commands stored as Undetermined in regular command buffer.

Clear 
ClearMulti 
Dispatch 
DispatchIndirect 
Draw 
DrawIndirect 
FramebufferBind 
PushConstant 
SpecializeConstant 
ResourceBind 
ShaderBind 
SubPassTransition 
StateSet 
StencilSet 
SubPass 

Special commands stored in separate buffers.

DrawMulti 

Definition at line 96 of file draw_command.hh.

Function Documentation

◆ procedural_batch_get()