Loading...
Searching...
No Matches
HgiCmds Class Reference

Graphics commands are recorded in 'cmds' objects which are later submitted to hgi. More...

#include <cmds.h>

+ Inheritance diagram for HgiCmds:

Public Member Functions

HGI_API bool IsSubmitted () const
 Returns true if the HgiCmds object has been submitted to GPU.
 

Protected Member Functions

virtual HGI_API bool _Submit (Hgi *hgi, HgiSubmitWaitType wait)
 
HGI_API void _SetSubmitted ()
 

Static Protected Attributes

static constexpr GfVec4f s_computeDebugColor = { 0.855, 0.161, 0.11, 1.0 }
 
static constexpr GfVec4f s_graphicsDebugColor = { 0, 0.639, 0.878, 1.0 }
 
static constexpr GfVec4f s_blitDebugColor = { 0.99607843137, 0.87450980392, 0.0, 1.0 }
 
static constexpr GfVec4f s_markerDebugColor = { 0.0, 0.0, 0.0, 0.0 }
 

Friends

class Hgi
 

Detailed Description

Graphics commands are recorded in 'cmds' objects which are later submitted to hgi.

HgiCmds is the base class for other cmds objects.

Definition at line 28 of file cmds.h.

Member Function Documentation

◆ IsSubmitted()

HGI_API bool IsSubmitted ( ) const

Returns true if the HgiCmds object has been submitted to GPU.

Friends And Related Function Documentation

◆ Hgi

friend class Hgi
friend

Definition at line 39 of file cmds.h.

Member Data Documentation

◆ s_blitDebugColor

constexpr GfVec4f s_blitDebugColor = { 0.99607843137, 0.87450980392, 0.0, 1.0 }
staticconstexprprotected

Definition at line 58 of file cmds.h.

◆ s_computeDebugColor

constexpr GfVec4f s_computeDebugColor = { 0.855, 0.161, 0.11, 1.0 }
staticconstexprprotected

Definition at line 54 of file cmds.h.

◆ s_graphicsDebugColor

constexpr GfVec4f s_graphicsDebugColor = { 0, 0.639, 0.878, 1.0 }
staticconstexprprotected

Definition at line 56 of file cmds.h.

◆ s_markerDebugColor

constexpr GfVec4f s_markerDebugColor = { 0.0, 0.0, 0.0, 0.0 }
staticconstexprprotected

Definition at line 60 of file cmds.h.


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