Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CommandBufferExecTrackedState Struct Reference
Collaboration diagram for CommandBufferExecTrackedState:

Public Attributes

GLenum indexType = GL_UNSIGNED_SHORT
quint32 indexStride = sizeof(quint16)
quint32 indexOffset = 0
GLuint currentArrayBuffer = 0
GLuint currentElementArrayBuffer = 0
struct { 
   QRhiGraphicsPipeline *   ps = nullptr 
   GLuint   buffer = 0 
   quint32   offset = 0 
   int   binding = 0 
lastBindVertexBuffer
bool enabledAttribArrays [TRACKED_ATTRIB_COUNT] = {}
bool nonzeroAttribDivisor [TRACKED_ATTRIB_COUNT] = {}
bool instancedAttributesUsed = false
int maxUntrackedInstancedAttribute = 0

Static Public Attributes

static const int TRACKED_ATTRIB_COUNT = 16

Detailed Description

Definition at line 3151 of file qrhigles2.cpp.

Member Data Documentation

◆ binding

int CommandBufferExecTrackedState::binding = 0

Definition at line 3162 of file qrhigles2.cpp.

◆ buffer

◆ currentArrayBuffer

GLuint CommandBufferExecTrackedState::currentArrayBuffer = 0

Definition at line 3156 of file qrhigles2.cpp.

◆ currentElementArrayBuffer

GLuint CommandBufferExecTrackedState::currentElementArrayBuffer = 0

Definition at line 3157 of file qrhigles2.cpp.

◆ enabledAttribArrays

bool CommandBufferExecTrackedState::enabledAttribArrays = {}

Definition at line 3165 of file qrhigles2.cpp.

Referenced by QRhiGles2::executeCommandBuffer().

◆ indexOffset

quint32 CommandBufferExecTrackedState::indexOffset = 0

Definition at line 3155 of file qrhigles2.cpp.

◆ indexStride

quint32 CommandBufferExecTrackedState::indexStride = sizeof(quint16)

Definition at line 3154 of file qrhigles2.cpp.

◆ indexType

GLenum CommandBufferExecTrackedState::indexType = GL_UNSIGNED_SHORT

Definition at line 3153 of file qrhigles2.cpp.

◆ instancedAttributesUsed

bool CommandBufferExecTrackedState::instancedAttributesUsed = false

Definition at line 3167 of file qrhigles2.cpp.

Referenced by QRhiGles2::executeCommandBuffer().

◆ [struct]

struct { ... } CommandBufferExecTrackedState::lastBindVertexBuffer

◆ maxUntrackedInstancedAttribute

int CommandBufferExecTrackedState::maxUntrackedInstancedAttribute = 0

Definition at line 3168 of file qrhigles2.cpp.

Referenced by QRhiGles2::executeCommandBuffer().

◆ nonzeroAttribDivisor

bool CommandBufferExecTrackedState::nonzeroAttribDivisor = {}

Definition at line 3166 of file qrhigles2.cpp.

Referenced by QRhiGles2::executeCommandBuffer().

◆ offset

◆ ps

QRhiGraphicsPipeline* CommandBufferExecTrackedState::ps = nullptr

Definition at line 3159 of file qrhigles2.cpp.

◆ TRACKED_ATTRIB_COUNT

const int CommandBufferExecTrackedState::TRACKED_ATTRIB_COUNT = 16
static

Definition at line 3164 of file qrhigles2.cpp.

Referenced by QRhiGles2::executeCommandBuffer().


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