Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGRhiBuffer Class Reference

#include <qssgrhicontext_p.h>

+ Collaboration diagram for QSSGRhiBuffer:

Public Member Functions

 QSSGRhiBuffer (QSSGRhiContext &context, QRhiBuffer::Type type, QRhiBuffer::UsageFlags usageMask, quint32 stride, qsizetype size, QRhiCommandBuffer::IndexFormat indexFormat=QRhiCommandBuffer::IndexUInt16)
 \variable QSSGRhiSamplerDescription::minFilter
 
virtual ~QSSGRhiBuffer ()
 
QRhiBufferbuffer () const
 
quint32 stride () const
 
quint32 numVertices () const
 
QRhiCommandBuffer::IndexFormat indexFormat () const
 

Detailed Description

Definition at line 184 of file qssgrhicontext_p.h.

Constructor & Destructor Documentation

◆ QSSGRhiBuffer()

QSSGRhiBuffer::QSSGRhiBuffer ( QSSGRhiContext & context,
QRhiBuffer::Type type,
QRhiBuffer::UsageFlags usageMask,
quint32 stride,
qsizetype size,
QRhiCommandBuffer::IndexFormat indexFormat = QRhiCommandBuffer::IndexUInt16 )

\variable QSSGRhiSamplerDescription::minFilter

The minification filter mode.

See also
QRhiSampler::Filter, QRhiSampler::minFilter()

\variable QSSGRhiSamplerDescription::magFilter

The magnification filter mode.

See also
QRhiSampler::Filter, QRhiSampler::magFilter()

\variable QSSGRhiSamplerDescription::mipmap

The mipmap filtering mode.

See also
QRhiSampler::Filter, QRhiSampler::mipmapMode()

\variable QSSGRhiSamplerDescription::hTiling

The horizontal wrap mode.

See also
QRhiSampler::AddressMode

\variable QSSGRhiSamplerDescription::vTiling

The vertical wrap mode.

See also
QRhiSampler::AddressMode

\variable QSSGRhiSamplerDescription::zTiling

The depth wrap mode.

See also
QRhiSampler::AddressMode

Definition at line 234 of file qssgrhicontext.cpp.

References QRhiBuffer::create(), QRhi::newBuffer(), QSSG_ASSERT, qWarning, QSSGRhiContext::rhi(), and QRhiBuffer::size().

+ Here is the call graph for this function:

◆ ~QSSGRhiBuffer()

QSSGRhiBuffer::~QSSGRhiBuffer ( )
virtual

Definition at line 250 of file qssgrhicontext.cpp.

Member Function Documentation

◆ buffer()

QRhiBuffer * QSSGRhiBuffer::buffer ( ) const
inline

Definition at line 197 of file qssgrhicontext_p.h.

◆ indexFormat()

QRhiCommandBuffer::IndexFormat QSSGRhiBuffer::indexFormat ( ) const
inline

Definition at line 204 of file qssgrhicontext_p.h.

◆ numVertices()

quint32 QSSGRhiBuffer::numVertices ( ) const
inline

Definition at line 199 of file qssgrhicontext_p.h.

References Q_ASSERT.

◆ stride()

quint32 QSSGRhiBuffer::stride ( ) const
inline

Definition at line 198 of file qssgrhicontext_p.h.


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