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
QGles2CommandBuffer::Command::Args Union Reference

#include <qrhigles2_p.h>

Collaboration diagram for QGles2CommandBuffer::Command::Args:

Public Attributes

struct { 
   GLuint   timestampQuery 
} beginFrame
struct { 
   GLuint   timestampQuery 
} endFrame
struct { 
   float   x 
   float   y 
   float   w 
   float   h 
   float   d0 
   float   d1 
} viewport
struct { 
   int   x 
   int   y 
   int   w 
   int   h 
} scissor
struct { 
   float   r 
   float   g 
   float   b 
   float   a 
} blendConstants
struct { 
   quint32   ref 
   QRhiGraphicsPipeline *   ps 
} stencilRef
struct { 
   QRhiGraphicsPipeline *   ps 
   GLuint   buffer 
   quint32   offset 
   int   binding 
} bindVertexBuffer
struct { 
   GLuint   buffer 
   quint32   offset 
   GLenum   type 
} bindIndexBuffer
struct { 
   QRhiGraphicsPipeline *   ps 
   quint32   vertexCount 
   quint32   firstVertex 
   quint32   instanceCount 
   quint32   baseInstance 
} draw
struct { 
   QRhiGraphicsPipeline *   ps 
   quint32   indexCount 
   quint32   firstIndex 
   quint32   instanceCount 
   quint32   baseInstance 
   qint32   baseVertex 
} drawIndexed
struct { 
   QRhiGraphicsPipeline *   ps 
   GLuint   buffer 
   quint32   offset 
   quint32   drawCount 
   quint32   stride 
} drawIndirect
struct { 
   QRhiGraphicsPipeline *   ps 
   GLuint   buffer 
   quint32   offset 
   quint32   drawCount 
   quint32   stride 
} drawIndexedIndirect
struct { 
   QRhiGraphicsPipeline *   ps 
   GLuint   buffer 
   quint32   offset 
   GLuint   countBuffer 
   quint32   countOffset 
   quint32   maxDrawCount 
   quint32   stride 
} drawIndirectCount
struct { 
   QRhiGraphicsPipeline *   ps 
   GLuint   buffer 
   quint32   offset 
   GLuint   countBuffer 
   quint32   countOffset 
   quint32   maxDrawCount 
   quint32   stride 
} drawIndexedIndirectCount
struct { 
   QRhiGraphicsPipeline *   ps 
} bindGraphicsPipeline
struct { 
   QRhiGraphicsPipeline *   maybeGraphicsPs 
   QRhiComputePipeline *   maybeComputePs 
   QRhiShaderResourceBindings *   srb 
   int   dynamicOffsetCount 
   quint32   dynamicOffsetPoolOffset 
} bindShaderResources
struct { 
   QRhiGraphicsPipeline *   maybeGraphicsPs 
   QRhiComputePipeline *   maybeComputePs 
   quint32   dataOffset 
   quint32   size 
} setPushConstants
struct { 
   GLbitfield   mask 
   float   c [4] 
   float   d 
   quint32   s 
} clear
struct { 
   GLuint   fbo 
   bool   srgb 
   int   colorAttCount 
   bool   stereo 
   QRhiSwapChain::StereoTargetBuffer   stereoTarget 
} bindFramebuffer
struct { 
   GLenum   target 
   GLuint   buffer 
   int   offset 
   int   size 
   const void *   data 
} bufferSubData
struct { 
   QRhiReadbackResult *   result 
   GLenum   target 
   GLuint   buffer 
   int   offset 
   int   size 
} getBufferSubData
struct { 
   GLuint   srcBuffer 
   GLuint   dstBuffer 
   int   srcOffset 
   int   dstOffset 
   int   size 
} copyBuf
struct { 
   GLenum   srcTarget 
   GLenum   srcFaceTarget 
   GLuint   srcTexture 
   int   srcLevel 
   int   srcX 
   int   srcY 
   int   srcZ 
   GLenum   dstTarget 
   GLuint   dstTexture 
   GLenum   dstFaceTarget 
   int   dstLevel 
   int   dstX 
   int   dstY 
   int   dstZ 
   int   w 
   int   h 
} copyTex
struct { 
   QRhiReadbackResult *   result 
   GLuint   texture 
   int   x 
   int   y 
   int   w 
   int   h 
   QRhiTexture::Format   format 
   GLenum   readTarget 
   int   level 
   int   slice3D 
} readPixels
struct { 
   GLenum   target 
   GLuint   texture 
   GLenum   faceTarget 
   int   level 
   int   dx 
   int   dy 
   int   dz 
   int   w 
   int   h 
   GLenum   glformat 
   GLenum   gltype 
   int   rowStartAlign 
   int   rowLength 
   const void *   data 
} subImage
struct { 
   GLenum   target 
   GLuint   texture 
   GLenum   faceTarget 
   int   level 
   GLenum   glintformat 
   int   w 
   int   h 
   int   depth 
   int   size 
   const void *   data 
} compressedImage
struct { 
   GLenum   target 
   GLuint   texture 
   GLenum   faceTarget 
   int   level 
   int   dx 
   int   dy 
   int   dz 
   int   w 
   int   h 
   GLenum   glintformat 
   int   size 
   const void *   data 
} compressedSubImage
struct { 
   GLuint   renderbuffer 
   GLuint   stencilRenderbuffer 
   int   w 
   int   h 
   GLenum   target 
   GLuint   dstTexture 
   int   dstLevel 
   int   dstLayer 
   bool   isDepthStencil 
   bool   hasStencil 
} blitFromRenderbuffer
struct { 
   GLenum   srcTarget 
   GLuint   srcTexture 
   int   srcLevel 
   int   srcLayer 
   int   w 
   int   h 
   GLenum   dstTarget 
   GLuint   dstTexture 
   int   dstLevel 
   int   dstLayer 
   bool   isDepthStencil 
   bool   hasStencil 
} blitFromTexture
struct { 
   GLenum   target 
   GLuint   texture 
} genMip
struct { 
   QRhiComputePipeline *   ps 
} bindComputePipeline
struct { 
   GLuint   x 
   GLuint   y 
   GLuint   z 
} dispatch
struct { 
   GLuint   buffer 
   quint32   offset 
} dispatchIndirect
struct { 
   int   trackerIndex 
} barriersForPass
struct { 
   GLbitfield   barriers 
} barrier
struct { 
   GLuint   fbo 
   int   attCount 
   GLenum   att [3] 
} invalidateFramebuffer

Detailed Description

Definition at line 371 of file qrhigles2_p.h.

Member Data Documentation

◆ a

float QGles2CommandBuffer::Command::Args::a

Definition at line 386 of file qrhigles2_p.h.

◆ att

GLenum QGles2CommandBuffer::Command::Args::att[3]

Definition at line 623 of file qrhigles2_p.h.

◆ attCount

int QGles2CommandBuffer::Command::Args::attCount

Definition at line 622 of file qrhigles2_p.h.

◆ b

float QGles2CommandBuffer::Command::Args::b

Definition at line 386 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::barrier

◆ barriers

GLbitfield QGles2CommandBuffer::Command::Args::barriers

Definition at line 618 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::barriersForPass

◆ baseInstance

quint32 QGles2CommandBuffer::Command::Args::baseInstance

Definition at line 408 of file qrhigles2_p.h.

◆ baseVertex

qint32 QGles2CommandBuffer::Command::Args::baseVertex

Definition at line 416 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::beginFrame

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::bindComputePipeline

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::bindFramebuffer

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::bindGraphicsPipeline

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::bindIndexBuffer

◆ binding

int QGles2CommandBuffer::Command::Args::binding

Definition at line 396 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::bindShaderResources

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::bindVertexBuffer

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::blendConstants

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::blitFromRenderbuffer

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::blitFromTexture

◆ buffer

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::bufferSubData

◆ c

float QGles2CommandBuffer::Command::Args::c[4]

Definition at line 468 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::clear

◆ colorAttCount

int QGles2CommandBuffer::Command::Args::colorAttCount

Definition at line 475 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::compressedImage

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::compressedSubImage

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::copyBuf

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::copyTex

◆ countBuffer

GLuint QGles2CommandBuffer::Command::Args::countBuffer

Definition at line 436 of file qrhigles2_p.h.

◆ countOffset

quint32 QGles2CommandBuffer::Command::Args::countOffset

Definition at line 437 of file qrhigles2_p.h.

◆ d

float QGles2CommandBuffer::Command::Args::d

Definition at line 469 of file qrhigles2_p.h.

◆ d0

float QGles2CommandBuffer::Command::Args::d0

Definition at line 380 of file qrhigles2_p.h.

◆ d1

float QGles2CommandBuffer::Command::Args::d1

Definition at line 380 of file qrhigles2_p.h.

◆ data

const void* QGles2CommandBuffer::Command::Args::data

Definition at line 484 of file qrhigles2_p.h.

◆ dataOffset

quint32 QGles2CommandBuffer::Command::Args::dataOffset

Definition at line 463 of file qrhigles2_p.h.

◆ depth

int QGles2CommandBuffer::Command::Args::depth

Definition at line 554 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::dispatch

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::dispatchIndirect

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::draw

◆ drawCount

quint32 QGles2CommandBuffer::Command::Args::drawCount

Definition at line 422 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::drawIndexed

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::drawIndexedIndirect

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::drawIndexedIndirectCount

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::drawIndirect

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::drawIndirectCount

◆ dstBuffer

GLuint QGles2CommandBuffer::Command::Args::dstBuffer

Definition at line 495 of file qrhigles2_p.h.

◆ dstFaceTarget

GLenum QGles2CommandBuffer::Command::Args::dstFaceTarget

Definition at line 510 of file qrhigles2_p.h.

◆ dstLayer

int QGles2CommandBuffer::Command::Args::dstLayer

Definition at line 580 of file qrhigles2_p.h.

◆ dstLevel

int QGles2CommandBuffer::Command::Args::dstLevel

Definition at line 511 of file qrhigles2_p.h.

◆ dstOffset

int QGles2CommandBuffer::Command::Args::dstOffset

Definition at line 497 of file qrhigles2_p.h.

◆ dstTarget

GLenum QGles2CommandBuffer::Command::Args::dstTarget

Definition at line 508 of file qrhigles2_p.h.

◆ dstTexture

GLuint QGles2CommandBuffer::Command::Args::dstTexture

Definition at line 509 of file qrhigles2_p.h.

◆ dstX

int QGles2CommandBuffer::Command::Args::dstX

Definition at line 512 of file qrhigles2_p.h.

◆ dstY

int QGles2CommandBuffer::Command::Args::dstY

Definition at line 513 of file qrhigles2_p.h.

◆ dstZ

int QGles2CommandBuffer::Command::Args::dstZ

Definition at line 514 of file qrhigles2_p.h.

◆ dx

int QGles2CommandBuffer::Command::Args::dx

Definition at line 535 of file qrhigles2_p.h.

◆ dy

int QGles2CommandBuffer::Command::Args::dy

Definition at line 536 of file qrhigles2_p.h.

◆ dynamicOffsetCount

int QGles2CommandBuffer::Command::Args::dynamicOffsetCount

Definition at line 457 of file qrhigles2_p.h.

◆ dynamicOffsetPoolOffset

quint32 QGles2CommandBuffer::Command::Args::dynamicOffsetPoolOffset

Definition at line 458 of file qrhigles2_p.h.

◆ dz

int QGles2CommandBuffer::Command::Args::dz

Definition at line 537 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::endFrame

◆ faceTarget

GLenum QGles2CommandBuffer::Command::Args::faceTarget

Definition at line 533 of file qrhigles2_p.h.

◆ fbo

GLuint QGles2CommandBuffer::Command::Args::fbo

Definition at line 473 of file qrhigles2_p.h.

◆ firstIndex

quint32 QGles2CommandBuffer::Command::Args::firstIndex

Definition at line 413 of file qrhigles2_p.h.

◆ firstVertex

quint32 QGles2CommandBuffer::Command::Args::firstVertex

Definition at line 406 of file qrhigles2_p.h.

◆ format

QRhiTexture::Format QGles2CommandBuffer::Command::Args::format

Definition at line 525 of file qrhigles2_p.h.

◆ g

float QGles2CommandBuffer::Command::Args::g

Definition at line 386 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::genMip

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::getBufferSubData

◆ glformat

GLenum QGles2CommandBuffer::Command::Args::glformat

Definition at line 540 of file qrhigles2_p.h.

◆ glintformat

GLenum QGles2CommandBuffer::Command::Args::glintformat

Definition at line 551 of file qrhigles2_p.h.

◆ gltype

GLenum QGles2CommandBuffer::Command::Args::gltype

Definition at line 541 of file qrhigles2_p.h.

◆ h [1/2]

int QGles2CommandBuffer::Command::Args::h

Definition at line 383 of file qrhigles2_p.h.

◆ h [2/2]

float QGles2CommandBuffer::Command::Args::h

Definition at line 379 of file qrhigles2_p.h.

◆ hasStencil

bool QGles2CommandBuffer::Command::Args::hasStencil

Definition at line 582 of file qrhigles2_p.h.

◆ indexCount

quint32 QGles2CommandBuffer::Command::Args::indexCount

Definition at line 412 of file qrhigles2_p.h.

◆ instanceCount

quint32 QGles2CommandBuffer::Command::Args::instanceCount

Definition at line 407 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::invalidateFramebuffer

◆ isDepthStencil

bool QGles2CommandBuffer::Command::Args::isDepthStencil

Definition at line 581 of file qrhigles2_p.h.

◆ level

int QGles2CommandBuffer::Command::Args::level

Definition at line 527 of file qrhigles2_p.h.

◆ mask

GLbitfield QGles2CommandBuffer::Command::Args::mask

Definition at line 467 of file qrhigles2_p.h.

◆ maxDrawCount

quint32 QGles2CommandBuffer::Command::Args::maxDrawCount

Definition at line 438 of file qrhigles2_p.h.

◆ maybeComputePs

QRhiComputePipeline* QGles2CommandBuffer::Command::Args::maybeComputePs

Definition at line 455 of file qrhigles2_p.h.

◆ maybeGraphicsPs

QRhiGraphicsPipeline* QGles2CommandBuffer::Command::Args::maybeGraphicsPs

Definition at line 454 of file qrhigles2_p.h.

◆ offset [1/2]

◆ offset [2/2]

◆ ps [1/2]

QRhiComputePipeline* QGles2CommandBuffer::Command::Args::ps

Definition at line 603 of file qrhigles2_p.h.

◆ ps [2/2]

QRhiGraphicsPipeline* QGles2CommandBuffer::Command::Args::ps

Definition at line 390 of file qrhigles2_p.h.

◆ r

float QGles2CommandBuffer::Command::Args::r

Definition at line 386 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::readPixels

◆ readTarget

GLenum QGles2CommandBuffer::Command::Args::readTarget

Definition at line 526 of file qrhigles2_p.h.

◆ ref

quint32 QGles2CommandBuffer::Command::Args::ref

Definition at line 389 of file qrhigles2_p.h.

◆ renderbuffer

GLuint QGles2CommandBuffer::Command::Args::renderbuffer

Definition at line 573 of file qrhigles2_p.h.

◆ result

QRhiReadbackResult* QGles2CommandBuffer::Command::Args::result

Definition at line 487 of file qrhigles2_p.h.

◆ rowLength

int QGles2CommandBuffer::Command::Args::rowLength

Definition at line 543 of file qrhigles2_p.h.

◆ rowStartAlign

int QGles2CommandBuffer::Command::Args::rowStartAlign

Definition at line 542 of file qrhigles2_p.h.

◆ s

quint32 QGles2CommandBuffer::Command::Args::s

Definition at line 470 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::scissor

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::setPushConstants

◆ size [1/2]

int QGles2CommandBuffer::Command::Args::size

Definition at line 483 of file qrhigles2_p.h.

◆ size [2/2]

quint32 QGles2CommandBuffer::Command::Args::size

Definition at line 464 of file qrhigles2_p.h.

◆ slice3D

int QGles2CommandBuffer::Command::Args::slice3D

Definition at line 528 of file qrhigles2_p.h.

◆ srb

QRhiShaderResourceBindings* QGles2CommandBuffer::Command::Args::srb

Definition at line 456 of file qrhigles2_p.h.

◆ srcBuffer

GLuint QGles2CommandBuffer::Command::Args::srcBuffer

Definition at line 494 of file qrhigles2_p.h.

◆ srcFaceTarget

GLenum QGles2CommandBuffer::Command::Args::srcFaceTarget

Definition at line 502 of file qrhigles2_p.h.

◆ srcLayer

int QGles2CommandBuffer::Command::Args::srcLayer

Definition at line 588 of file qrhigles2_p.h.

◆ srcLevel

int QGles2CommandBuffer::Command::Args::srcLevel

Definition at line 504 of file qrhigles2_p.h.

◆ srcOffset

int QGles2CommandBuffer::Command::Args::srcOffset

Definition at line 496 of file qrhigles2_p.h.

◆ srcTarget

GLenum QGles2CommandBuffer::Command::Args::srcTarget

Definition at line 501 of file qrhigles2_p.h.

◆ srcTexture

GLuint QGles2CommandBuffer::Command::Args::srcTexture

Definition at line 503 of file qrhigles2_p.h.

◆ srcX

int QGles2CommandBuffer::Command::Args::srcX

Definition at line 505 of file qrhigles2_p.h.

◆ srcY

int QGles2CommandBuffer::Command::Args::srcY

Definition at line 506 of file qrhigles2_p.h.

◆ srcZ

int QGles2CommandBuffer::Command::Args::srcZ

Definition at line 507 of file qrhigles2_p.h.

◆ srgb

bool QGles2CommandBuffer::Command::Args::srgb

Definition at line 474 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::stencilRef

◆ stencilRenderbuffer

GLuint QGles2CommandBuffer::Command::Args::stencilRenderbuffer

Definition at line 574 of file qrhigles2_p.h.

◆ stereo

bool QGles2CommandBuffer::Command::Args::stereo

Definition at line 476 of file qrhigles2_p.h.

◆ stereoTarget

QRhiSwapChain::StereoTargetBuffer QGles2CommandBuffer::Command::Args::stereoTarget

Definition at line 477 of file qrhigles2_p.h.

◆ stride

quint32 QGles2CommandBuffer::Command::Args::stride

Definition at line 423 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::subImage

◆ target

GLenum QGles2CommandBuffer::Command::Args::target

Definition at line 480 of file qrhigles2_p.h.

◆ texture

GLuint QGles2CommandBuffer::Command::Args::texture

Definition at line 520 of file qrhigles2_p.h.

◆ timestampQuery

GLuint QGles2CommandBuffer::Command::Args::timestampQuery

Definition at line 373 of file qrhigles2_p.h.

◆ trackerIndex

int QGles2CommandBuffer::Command::Args::trackerIndex

Definition at line 615 of file qrhigles2_p.h.

◆ type

GLenum QGles2CommandBuffer::Command::Args::type

Definition at line 401 of file qrhigles2_p.h.

◆ vertexCount

quint32 QGles2CommandBuffer::Command::Args::vertexCount

Definition at line 405 of file qrhigles2_p.h.

◆ [struct]

struct { ... } QGles2CommandBuffer::Command::Args::viewport

◆ w [1/2]

int QGles2CommandBuffer::Command::Args::w

Definition at line 383 of file qrhigles2_p.h.

◆ w [2/2]

float QGles2CommandBuffer::Command::Args::w

Definition at line 379 of file qrhigles2_p.h.

◆ x [1/3]

GLuint QGles2CommandBuffer::Command::Args::x

Definition at line 606 of file qrhigles2_p.h.

◆ x [2/3]

int QGles2CommandBuffer::Command::Args::x

Definition at line 383 of file qrhigles2_p.h.

◆ x [3/3]

float QGles2CommandBuffer::Command::Args::x

Definition at line 379 of file qrhigles2_p.h.

◆ y [1/3]

GLuint QGles2CommandBuffer::Command::Args::y

Definition at line 607 of file qrhigles2_p.h.

◆ y [2/3]

int QGles2CommandBuffer::Command::Args::y

Definition at line 383 of file qrhigles2_p.h.

◆ y [3/3]

float QGles2CommandBuffer::Command::Args::y

Definition at line 379 of file qrhigles2_p.h.

◆ z

GLuint QGles2CommandBuffer::Command::Args::z

Definition at line 608 of file qrhigles2_p.h.


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