![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtGui More...
#include <qrhi.h>
Collaboration diagram for QRhiVertexInputLayout:Public Member Functions | |
| QRhiVertexInputLayout ()=default | |
| Constructs an empty vertex input layout description. | |
| void | setBindings (std::initializer_list< QRhiVertexInputBinding > list) |
| Sets the bindings from the specified list. | |
| template<typename InputIterator > | |
| void | setBindings (InputIterator first, InputIterator last) |
| Sets the bindings using the iterators first and last. | |
| const QRhiVertexInputBinding * | cbeginBindings () const |
| const QRhiVertexInputBinding * | cendBindings () const |
| const QRhiVertexInputBinding * | bindingAt (qsizetype index) const |
| qsizetype | bindingCount () const |
| void | setAttributes (std::initializer_list< QRhiVertexInputAttribute > list) |
| Sets the attributes from the specified list. | |
| template<typename InputIterator > | |
| void | setAttributes (InputIterator first, InputIterator last) |
| Sets the attributes using the iterators first and last. | |
| const QRhiVertexInputAttribute * | cbeginAttributes () const |
| const QRhiVertexInputAttribute * | cendAttributes () const |
| const QRhiVertexInputAttribute * | attributeAt (qsizetype index) const |
| qsizetype | attributeCount () const |
Friends | |
| bool | operator== (const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b) noexcept |
| bool | operator!= (const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b) noexcept |
| size_t | qHash (const QRhiVertexInputLayout &v, size_t seed=0) noexcept |
| Q_GUI_EXPORT QDebug | operator<< (QDebug, const QRhiVertexInputLayout &) |
\inmodule QtGui
Describes the layout of vertex inputs consumed by a vertex shader.
The vertex input layout is defined by the collections of QRhiVertexInputBinding and QRhiVertexInputAttribute.
As an example, let's assume that we have a single buffer with 3 component vertex positions and 2 component UV coordinates interleaved (x, y, z, u, v), that the position and UV are expected at input locations 0 and 1 by the vertex shader, and that the vertex buffer will be bound at binding point 0 using \l{QRhiCommandBuffer::setVertexInput()}{setVertexInput()} later on:
|
default |
Constructs an empty vertex input layout description.
|
inline |
|
inline |
|
inline |
Definition at line 326 of file qrhi.h.
Referenced by QD3D11GraphicsPipeline::create(), QRhiGles2::executeCommandBuffer(), and QRhiD3D11::setVertexInput().
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 336 of file qrhi.h.
Referenced by QSSGRhiInputAssemblerState::bakeVertexInputLocations(), QD3D11GraphicsPipeline::create(), QVkGraphicsPipeline::create(), QRhiGles2::executeCommandBuffer(), QMetalGraphicsPipelineData::setupStageInputDescriptor(), and QMetalGraphicsPipelineData::setupVertexInputDescriptor().
Here is the caller graph for this function:
|
inline |
Definition at line 324 of file qrhi.h.
Referenced by QVkGraphicsPipeline::create(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), setupInstancing(), QMetalGraphicsPipelineData::setupStageInputDescriptor(), QMetalGraphicsPipelineData::setupVertexInputDescriptor(), and QRhiD3D11::setVertexInput().
Here is the caller graph for this function:
|
inline |
Definition at line 337 of file qrhi.h.
Referenced by QSSGRhiInputAssemblerState::bakeVertexInputLocations(), QD3D11GraphicsPipeline::create(), QVkGraphicsPipeline::create(), QRhiGles2::executeCommandBuffer(), QMetalGraphicsPipelineData::setupStageInputDescriptor(), and QMetalGraphicsPipelineData::setupVertexInputDescriptor().
Here is the caller graph for this function:
|
inline |
Definition at line 325 of file qrhi.h.
Referenced by QVkGraphicsPipeline::create(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), setupInstancing(), QMetalGraphicsPipelineData::setupStageInputDescriptor(), QMetalGraphicsPipelineData::setupVertexInputDescriptor(), and QRhiD3D11::setVertexInput().
Here is the caller graph for this function:
|
inline |
|
inline |
Sets the attributes from the specified list.
Definition at line 329 of file qrhi.h.
References list.
Referenced by QSSGRenderReflectionMap::addReflectionMapEntry(), QSSGRhiInputAssemblerState::bakeVertexInputLocations(), QSGBatchRenderer::calculateVertexInputLayout(), createGraphicsPipeline(), main(), newGraphicsPipeline(), QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), renderToKTXFileInternal(), QVideoWindowPrivate::setupGraphicsPipeline(), and updateTextures().
Here is the caller graph for this function:
|
inline |
|
inline |
Sets the bindings from the specified list.
Definition at line 317 of file qrhi.h.
References list.
Referenced by QSSGRenderReflectionMap::addReflectionMapEntry(), QSGBatchRenderer::calculateVertexInputLayout(), createGraphicsPipeline(), main(), newGraphicsPipeline(), QSSGRhiCubeRenderer::recordRenderCube(), QSSGDebugDrawSystem::recordRenderDebugObjects(), QSSGRhiQuadRenderer::recordRenderQuad(), renderToKTXFileInternal(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QVideoWindowPrivate::setupGraphicsPipeline(), setupInstancing(), and updateTextures().
Here is the caller graph for this function:
|
friend |
false if the values in the two QRhiVertexInputLayout objects a and b are equal; otherwise returns true.
|
friend |
|
friend |
true if the values in the two QRhiVertexInputLayout objects a and b are equal.
|
friend |