5#ifndef QSSG_RENDER_COMMANDS_H
6#define QSSG_RENDER_COMMANDS_H
19#include <QtQuick3DUtils/private/qssgrenderbasetypes_p.h>
20#include <QtQuick3DRuntimeRender/private/qssgrendershadercache_p.h>
27struct QSSGRenderEffect;
77 QSSGRenderTextureFormat inFormat,
78 QSSGRenderTextureFilterOp inFilterOp,
79 QSSGRenderTextureCoordOp inCoordOp,
102 stream <<
"name:" << m_name <<
"format:" << m_format.toString() <<
"size multiplier:" << m_sizeMultiplier <<
"filter:" << QSSGBaseTypeHelpers::toString(m_filterOp) <<
"tiling:" << QSSGBaseTypeHelpers::toString(m_texCoordOp) <<
"sceneLifetime:" << m_bufferFlags.isSceneLifetime();
120 stream <<
"format" << m_outputFormat.toString();
137 stream <<
"name:" << m_bufferName;
156 stream <<
"key:" << m_shaderPathKey <<
"effect:";
189 stream <<
"name:" << m_propertyName <<
"type:" <<
int(m_valueType) <<
"offset:" << m_valueOffset ;
210 stream <<
"name:" << m_propertyName <<
"value:" << m_value;
224 stream <<
"name:" << m_bufferName <<
"sampler:" << m_samplerName;
243 stream <<
"(no parameters)";
QSSGAllocateBufferFlags(quint32 inValues)
void setSceneLifetime(bool inValue)
bool isSceneLifetime() const
QSSGAllocateBufferFlags()
QSSGRenderTextureFormat m_format
QSSGAllocateBuffer(const QByteArray &inName, QSSGRenderTextureFormat inFormat, QSSGRenderTextureFilterOp inFilterOp, QSSGRenderTextureCoordOp inCoordOp, float inMultiplier, QSSGAllocateBufferFlags inFlags)
void addDebug(QDebug &stream) const
QSSGRenderTextureFilterOp m_filterOp
QSSGRenderTextureCoordOp m_texCoordOp
QSSGAllocateBufferFlags m_bufferFlags
QSSGAllocateBuffer(const QSSGAllocateBuffer &command)
void addDebug(QDebug &stream) const
QSSGApplyBufferValue(const QByteArray &bufferName, const QByteArray &shaderSampler)
QSSGApplyBufferValue(const QSSGApplyBufferValue &command)
QByteArray m_propertyName
QSSGApplyInstanceValue(const QSSGApplyInstanceValue &command)
QSSGApplyInstanceValue(const QByteArray &inName, QSSGRenderShaderValue::Type inValueType, quint32 inValueOffset)
QSSGRenderShaderValue::Type m_valueType
void addDebug(QDebug &stream) const
QSSGApplyValue(const QByteArray &inName)
QByteArray m_propertyName
void addDebug(QDebug &stream) const
QSSGApplyValue(const QSSGApplyValue &command)
void addDebug(QDebug &stream) const
QSSGBindBuffer(const QSSGBindBuffer &command)
QSSGBindBuffer(const QByteArray &inBufName)
QSSGBindShader(const QSSGBindShader &command)
void addDebug(QDebug &stream) const
QByteArray m_shaderPathKey
QSSGBindShader(const QByteArray &inShaderPathKey)
QSSGBindTarget(const QSSGBindTarget &command)
QSSGRenderTextureFormat m_outputFormat
void addDebug(QDebug &stream) const
QSSGBindTarget(QSSGRenderTextureFormat inFormat=QSSGRenderTextureFormat::RGBA8)
const char * typeAsString() const
void addDebug(QDebug &stream) const
QString debugString() const
QSSGCommand(CommandType inType)
void addDebug(QDebug &stream) const
QSSGRender(const QSSGRender &)