#include <qssgrhicontext_p.h>
|
| QSSGRhiShaderPipeline (QSSGRhiContext &context) |
QSSGRhiContext & | context () const |
bool | isNull () const |
void | addStage (const QRhiShaderStage &stage, StageFlags flags={}) |
const QRhiShaderStage * | cbeginStages () const |
const QRhiShaderStage * | cendStages () const |
const QRhiShaderStage * | vertexStage () const |
const QRhiShaderStage * | fragmentStage () const |
int | ub0Size () const |
int | ub0LightDataOffset () const |
int | ub0DirectionalLightDataOffset () const |
const QHash< QSSGRhiInputAssemblerState::InputSemantic, QShaderDescription::InOutVariable > & | vertexInputs () const |
void | setUniformValue (char *ubufData, const char *name, const QVariant &value, QSSGRenderShaderValue::Type type) |
void | setUniform (char *ubufData, const char *name, const void *data, size_t size, int *storeIndex=nullptr, UniformFlags flags={}) |
void | setUniformArray (char *ubufData, const char *name, const void *data, size_t itemCount, QSSGRenderShaderValue::Type type, int *storeIndex=nullptr) |
int | bindingForTexture (const char *name, int hint=-1) |
void | setLightsEnabled (bool enable) |
bool | isLightingEnabled () const |
void | ensureCombinedUniformBuffer (QRhiBuffer **ubuf) |
void | ensureUniformBuffer (QRhiBuffer **ubuf) |
void | setLightProbeTexture (QRhiTexture *texture, QSSGRenderTextureCoordOp hTile=QSSGRenderTextureCoordOp::ClampToEdge, QSSGRenderTextureCoordOp vTile=QSSGRenderTextureCoordOp::ClampToEdge) |
QRhiTexture * | lightProbeTexture () const |
QPair< QSSGRenderTextureCoordOp, QSSGRenderTextureCoordOp > | lightProbeTiling () const |
void | setScreenTexture (QRhiTexture *texture) |
QRhiTexture * | screenTexture () const |
void | setDepthTexture (QRhiTexture *texture) |
QRhiTexture * | depthTexture () const |
void | setNormalTexture (QRhiTexture *texture) |
QRhiTexture * | normalTexture () const |
void | setSsaoTexture (QRhiTexture *texture) |
QRhiTexture * | ssaoTexture () const |
void | setLightmapTexture (QRhiTexture *texture) |
QRhiTexture * | lightmapTexture () const |
void | setShadowMapAtlasTexture (QRhiTexture *texture) |
QRhiTexture * | shadowMapAtlasTexture () const |
void | resetExtraTextures () |
void | addExtraTexture (const QSSGRhiTexture &t) |
int | extraTextureCount () const |
const QSSGRhiTexture & | extraTextureAt (int index) const |
QSSGRhiTexture & | extraTextureAt (int index) |
QSSGShaderLightsUniformData & | lightsUniformData () |
QSSGShaderDirectionalLightsUniformData & | directionalLightsUniformData () |
InstanceLocations | instanceBufferLocations () const |
int | offsetOfUniform (const QByteArray &name) |
Definition at line 357 of file qssgrhicontext_p.h.
◆ StageFlag
◆ UniformFlag
◆ QSSGRhiShaderPipeline()
QSSGRhiShaderPipeline::QSSGRhiShaderPipeline |
( |
QSSGRhiContext & | context | ) |
|
|
inlineexplicit |
◆ addExtraTexture()
◆ addStage()
◆ bindingForTexture()
int QSSGRhiShaderPipeline::bindingForTexture |
( |
const char * | name, |
|
|
int | hint = -1 ) |
◆ cbeginStages()
◆ cendStages()
◆ context()
◆ depthTexture()
QRhiTexture * QSSGRhiShaderPipeline::depthTexture |
( |
| ) |
const |
|
inline |
◆ directionalLightsUniformData()
◆ ensureCombinedUniformBuffer()
void QSSGRhiShaderPipeline::ensureCombinedUniformBuffer |
( |
QRhiBuffer ** | ubuf | ) |
|
◆ ensureUniformBuffer()
◆ extraTextureAt() [1/2]
◆ extraTextureAt() [2/2]
const QSSGRhiTexture & QSSGRhiShaderPipeline::extraTextureAt |
( |
int | index | ) |
const |
|
inline |
◆ extraTextureCount()
int QSSGRhiShaderPipeline::extraTextureCount |
( |
| ) |
const |
|
inline |
◆ fragmentStage()
◆ instanceBufferLocations()
◆ isLightingEnabled()
bool QSSGRhiShaderPipeline::isLightingEnabled |
( |
| ) |
const |
|
inline |
◆ isNull()
bool QSSGRhiShaderPipeline::isNull |
( |
| ) |
const |
|
inline |
◆ lightmapTexture()
QRhiTexture * QSSGRhiShaderPipeline::lightmapTexture |
( |
| ) |
const |
|
inline |
◆ lightProbeTexture()
QRhiTexture * QSSGRhiShaderPipeline::lightProbeTexture |
( |
| ) |
const |
|
inline |
◆ lightProbeTiling()
◆ lightsUniformData()
◆ normalTexture()
QRhiTexture * QSSGRhiShaderPipeline::normalTexture |
( |
| ) |
const |
|
inline |
◆ offsetOfUniform()
int QSSGRhiShaderPipeline::offsetOfUniform |
( |
const QByteArray & | name | ) |
|
◆ resetExtraTextures()
void QSSGRhiShaderPipeline::resetExtraTextures |
( |
| ) |
|
|
inline |
◆ screenTexture()
QRhiTexture * QSSGRhiShaderPipeline::screenTexture |
( |
| ) |
const |
|
inline |
◆ setDepthTexture()
◆ setLightmapTexture()
◆ setLightProbeTexture()
◆ setLightsEnabled()
void QSSGRhiShaderPipeline::setLightsEnabled |
( |
bool | enable | ) |
|
|
inline |
◆ setNormalTexture()
◆ setScreenTexture()
◆ setShadowMapAtlasTexture()
void QSSGRhiShaderPipeline::setShadowMapAtlasTexture |
( |
QRhiTexture * | texture | ) |
|
|
inline |
◆ setSsaoTexture()
◆ setUniform()
void QSSGRhiShaderPipeline::setUniform |
( |
char * | ubufData, |
|
|
const char * | name, |
|
|
const void * | data, |
|
|
size_t | size, |
|
|
int * | storeIndex = nullptr, |
|
|
UniformFlags | flags = {} ) |
◆ setUniformArray()
void QSSGRhiShaderPipeline::setUniformArray |
( |
char * | ubufData, |
|
|
const char * | name, |
|
|
const void * | data, |
|
|
size_t | itemCount, |
|
|
QSSGRenderShaderValue::Type | type, |
|
|
int * | storeIndex = nullptr ) |
◆ setUniformValue()
◆ shadowMapAtlasTexture()
QRhiTexture * QSSGRhiShaderPipeline::shadowMapAtlasTexture |
( |
| ) |
const |
|
inline |
◆ ssaoTexture()
QRhiTexture * QSSGRhiShaderPipeline::ssaoTexture |
( |
| ) |
const |
|
inline |
◆ ub0DirectionalLightDataOffset()
int QSSGRhiShaderPipeline::ub0DirectionalLightDataOffset |
( |
| ) |
const |
◆ ub0LightDataOffset()
int QSSGRhiShaderPipeline::ub0LightDataOffset |
( |
| ) |
const |
|
inline |
◆ ub0Size()
int QSSGRhiShaderPipeline::ub0Size |
( |
| ) |
const |
|
inline |
◆ vertexInputs()
◆ vertexStage()
◆ commonUniformIndices
◆ instanceLocations
The documentation for this class was generated from the following files: