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
QSSGAllocateBuffer Struct Reference

#include <qssgrendercommands_p.h>

+ Inheritance diagram for QSSGAllocateBuffer:
+ Collaboration diagram for QSSGAllocateBuffer:

Public Member Functions

 QSSGAllocateBuffer ()
 
 QSSGAllocateBuffer (const QByteArray &inName, QSSGRenderTextureFormat inFormat, QSSGRenderTextureFilterOp inFilterOp, QSSGRenderTextureCoordOp inCoordOp, float inMultiplier, QSSGAllocateBufferFlags inFlags)
 
void addDebug (QDebug &stream) const
 
- Public Member Functions inherited from QSSGCommand
 QSSGCommand (CommandType inType)
 
const char * typeAsString () const
 
QString debugString () const
 
void addDebug (QDebug &stream) const
 

Public Attributes

QByteArray m_name
 
QSSGRenderTextureFormat m_format = QSSGRenderTextureFormat::RGBA8
 
QSSGRenderTextureFilterOp m_filterOp = QSSGRenderTextureFilterOp::Linear
 
QSSGRenderTextureCoordOp m_texCoordOp = QSSGRenderTextureCoordOp::ClampToEdge
 
float m_sizeMultiplier = 1.0f
 
QSSGAllocateBufferFlags m_bufferFlags
 
- Public Attributes inherited from QSSGCommand
CommandType m_type
 

Detailed Description

Definition at line 67 of file qssgrendercommands_p.h.

Constructor & Destructor Documentation

◆ QSSGAllocateBuffer() [1/2]

QSSGAllocateBuffer::QSSGAllocateBuffer ( )
inline

Definition at line 75 of file qssgrendercommands_p.h.

◆ QSSGAllocateBuffer() [2/2]

QSSGAllocateBuffer::QSSGAllocateBuffer ( const QByteArray & inName,
QSSGRenderTextureFormat inFormat,
QSSGRenderTextureFilterOp inFilterOp,
QSSGRenderTextureCoordOp inCoordOp,
float inMultiplier,
QSSGAllocateBufferFlags inFlags )
inline

Definition at line 76 of file qssgrendercommands_p.h.

Member Function Documentation

◆ addDebug()

void QSSGAllocateBuffer::addDebug ( QDebug & stream) const
inline

Definition at line 91 of file qssgrendercommands_p.h.

References QSSGAllocateBufferFlags::isSceneLifetime(), m_bufferFlags, m_filterOp, m_format, m_name, m_sizeMultiplier, m_texCoordOp, QSSGRenderTextureFormat::toString(), and QSSGBaseTypeHelpers::toString().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_bufferFlags

QSSGAllocateBufferFlags QSSGAllocateBuffer::m_bufferFlags

Definition at line 74 of file qssgrendercommands_p.h.

Referenced by addDebug().

◆ m_filterOp

Definition at line 71 of file qssgrendercommands_p.h.

Referenced by addDebug().

◆ m_format

◆ m_name

QByteArray QSSGAllocateBuffer::m_name

Definition at line 69 of file qssgrendercommands_p.h.

Referenced by addDebug().

◆ m_sizeMultiplier

float QSSGAllocateBuffer::m_sizeMultiplier = 1.0f

Definition at line 73 of file qssgrendercommands_p.h.

Referenced by addDebug().

◆ m_texCoordOp

Definition at line 72 of file qssgrendercommands_p.h.

Referenced by addDebug().


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