Skip to content

Kuesa::Qt3D::GLTF2MaterialEffect

Module: Kuesa Qt 3D API

GLTF2MaterialEffect is a subclass of Qt3DRender::QEffect and is the base class of all GLTF2 based material effect subclasses. More...

#include <Kuesa/Qt3D/api/materials/gltf2materialeffect.h>

Inherits from Qt3DRender::QEffect

Inherited by Kuesa::Qt3D::Iro2AlphaEquiRectEffect, Kuesa::Qt3D::Iro2AlphaSemEffect, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect, Kuesa::Qt3D::Iro2DiffuseSemEffect, Kuesa::Qt3D::Iro2GlassEquiRectEffect, Kuesa::Qt3D::Iro2GlassSemEffect, Kuesa::Qt3D::Iro2MatteAlphaEffect, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect, Kuesa::Qt3D::IroDiffuseAlphaEffect, Kuesa::Qt3D::IroDiffuseEffect, Kuesa::Qt3D::IroDiffuseHemiEffect, Kuesa::Qt3D::IroGlassAddEffect, Kuesa::Qt3D::IroMatteAddEffect, Kuesa::Qt3D::IroMatteAlphaEffect, Kuesa::Qt3D::IroMatteBackgroundEffect, Kuesa::Qt3D::IroMatteMultEffect, Kuesa::Qt3D::IroMatteOpaqueEffect, Kuesa::Qt3D::IroMatteSkyboxEffect, Kuesa::Qt3D::MetallicRoughnessEffect, Kuesa::Qt3D::UnlitEffect, WireCarEffect

Public Slots

Name
void setDoubleSided(bool doubleSided)
void setUsingSkinning(bool useSkinning)
void setOpaque(bool opaque)
void setAlphaCutoffEnabled(bool enabled)
void setUsingColorAttribute(bool usingColorAttribute)
void setUsingNormalAttribute(bool usingNormalAttribute)
void setUsingTangentAttribute(bool usingTangentAttribute)
void setUsingTexCoordAttribute(bool usingTexCoordAttribute)
void setUsingTexCoord1Attribute(bool usingTexCoord1Attribute)
void setUsingMorphTargets(bool usingMorphTargets)
void setInstanced(bool instanced)
void setSRGBOutput(bool sRGBOutput)

Public Signals

Name
void doubleSidedChanged(bool doubleSided)
void usingSkinningChanged(bool useSkinning)
void opaqueChanged(bool opaque)
void alphaCutoffEnabledChanged(bool enabled)
void usingColorAttributeChanged(bool usingColorAttribute)
void usingNormalAttributeChanged(bool usingNormalAttribute)
void usingTangentAttributeChanged(bool usingTangentAttribute)
void usingTexCoordAttributeChanged(bool usingTexCoordAttribute)
void usingTexCoord1AttributeChanged(bool usingTexCoord1Attribute)
void usingMorphTargetsChanged(bool usingMorphTargets)
void instancedChanged(bool instanced)
void sRGBOutputChanged(bool sRGBOutput)

Public Functions

Name
GLTF2MaterialEffect(Qt3DCore::QNode * parent =nullptr)
~GLTF2MaterialEffect()
bool isDoubleSided() const
bool isUsingSkinning() const
bool isOpaque() const
bool isAlphaCutoffEnabled() const
bool isUsingColorAttribute() const
bool isUsingNormalAttribute() const
bool isUsingTangentAttribute() const
bool isUsingTexCoordAttribute() const
bool isUsingTexCoord1Attribute() const
bool isUsingMorphTargets() const
bool isInstanced() const
bool sRGBOutput() const

Protected Functions

Name
virtual void updateDoubleSided(bool doubleSided) =0
virtual void updateUsingSkinning(bool enabled) =0
virtual void updateOpaque(bool opaque) =0
virtual void updateAlphaCutoffEnabled(bool enabled) =0
virtual void updateUsingColorAttribute(bool enabled) =0
virtual void updateUsingNormalAttribute(bool enabled) =0
virtual void updateUsingTangentAttribute(bool enabled) =0
virtual void updateUsingTexCoordAttribute(bool enabled) =0
virtual void updateUsingTexCoord1Attribute(bool enabled) =0
virtual void updateUsingMorphTargets(bool usingMorphTargets) =0
virtual void updateInstanced(bool instanced) =0
virtual void updateUsingCubeMapArrays(bool usingCubeMapArrays)
virtual void updateSRGBOutput(bool sRGBOutput)

Public Properties

Name
bool doubleSided
bool usingSkinning
bool opaque
bool alphaCutoffEnabled
bool usingColorAttribute
bool usingNormalAttribute
bool usingTangentAttribute
bool usingTexCoordAttribute
bool usingTexCoord1Attribute
bool usingMorphTargets
bool instanced
bool sRGBOutput

Detailed Description

1
class Kuesa::Qt3D::GLTF2MaterialEffect;

GLTF2MaterialEffect is a subclass of Qt3DRender::QEffect and is the base class of all GLTF2 based material effect subclasses.

Since: Kuesa 2.0

It holds properties to specify which features are enabled such as:

  • Vertex Skinning
  • Opaque
  • Alpha Cut off
  • Double Sided
  • Vertex Attributes provides by the mesh

Public Slots Documentation

slot setDoubleSided

1
2
3
void setDoubleSided(
    bool doubleSided
)

slot setUsingSkinning

1
2
3
void setUsingSkinning(
    bool useSkinning
)

slot setOpaque

1
2
3
void setOpaque(
    bool opaque
)

slot setAlphaCutoffEnabled

1
2
3
void setAlphaCutoffEnabled(
    bool enabled
)

slot setUsingColorAttribute

1
2
3
void setUsingColorAttribute(
    bool usingColorAttribute
)

slot setUsingNormalAttribute

1
2
3
void setUsingNormalAttribute(
    bool usingNormalAttribute
)

slot setUsingTangentAttribute

1
2
3
void setUsingTangentAttribute(
    bool usingTangentAttribute
)

slot setUsingTexCoordAttribute

1
2
3
void setUsingTexCoordAttribute(
    bool usingTexCoordAttribute
)

slot setUsingTexCoord1Attribute

1
2
3
void setUsingTexCoord1Attribute(
    bool usingTexCoord1Attribute
)

slot setUsingMorphTargets

1
2
3
void setUsingMorphTargets(
    bool usingMorphTargets
)

slot setInstanced

1
2
3
void setInstanced(
    bool instanced
)

slot setSRGBOutput

1
2
3
void setSRGBOutput(
    bool sRGBOutput
)

Public Signals Documentation

signal doubleSidedChanged

1
2
3
void doubleSidedChanged(
    bool doubleSided
)

signal usingSkinningChanged

1
2
3
void usingSkinningChanged(
    bool useSkinning
)

signal opaqueChanged

1
2
3
void opaqueChanged(
    bool opaque
)

signal alphaCutoffEnabledChanged

1
2
3
void alphaCutoffEnabledChanged(
    bool enabled
)

signal usingColorAttributeChanged

1
2
3
void usingColorAttributeChanged(
    bool usingColorAttribute
)

signal usingNormalAttributeChanged

1
2
3
void usingNormalAttributeChanged(
    bool usingNormalAttribute
)

signal usingTangentAttributeChanged

1
2
3
void usingTangentAttributeChanged(
    bool usingTangentAttribute
)

signal usingTexCoordAttributeChanged

1
2
3
void usingTexCoordAttributeChanged(
    bool usingTexCoordAttribute
)

signal usingTexCoord1AttributeChanged

1
2
3
void usingTexCoord1AttributeChanged(
    bool usingTexCoord1Attribute
)

signal usingMorphTargetsChanged

1
2
3
void usingMorphTargetsChanged(
    bool usingMorphTargets
)

signal instancedChanged

1
2
3
void instancedChanged(
    bool instanced
)

signal sRGBOutputChanged

1
2
3
void sRGBOutputChanged(
    bool sRGBOutput
)

Public Functions Documentation

function GLTF2MaterialEffect

1
2
3
explicit GLTF2MaterialEffect(
    Qt3DCore::QNode * parent =nullptr
)

function ~GLTF2MaterialEffect

1
~GLTF2MaterialEffect()

function isDoubleSided

1
bool isDoubleSided() const

function isUsingSkinning

1
bool isUsingSkinning() const

function isOpaque

1
bool isOpaque() const

function isAlphaCutoffEnabled

1
bool isAlphaCutoffEnabled() const

function isUsingColorAttribute

1
bool isUsingColorAttribute() const

function isUsingNormalAttribute

1
bool isUsingNormalAttribute() const

function isUsingTangentAttribute

1
bool isUsingTangentAttribute() const

function isUsingTexCoordAttribute

1
bool isUsingTexCoordAttribute() const

function isUsingTexCoord1Attribute

1
bool isUsingTexCoord1Attribute() const

function isUsingMorphTargets

1
bool isUsingMorphTargets() const

function isInstanced

1
bool isInstanced() const

function sRGBOutput

1
bool sRGBOutput() const

Protected Functions Documentation

function updateDoubleSided

1
2
3
virtual void updateDoubleSided(
    bool doubleSided
) =0

Reimplemented by: WireCarEffect::updateDoubleSided, Kuesa::Qt3D::IroDiffuseEffect::updateDoubleSided, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateDoubleSided, Kuesa::Qt3D::IroDiffuseHemiEffect::updateDoubleSided, Kuesa::Qt3D::IroGlassAddEffect::updateDoubleSided, Kuesa::Qt3D::IroMatteAddEffect::updateDoubleSided, Kuesa::Qt3D::IroMatteAlphaEffect::updateDoubleSided, Kuesa::Qt3D::IroMatteBackgroundEffect::updateDoubleSided, Kuesa::Qt3D::IroMatteMultEffect::updateDoubleSided, Kuesa::Qt3D::IroMatteOpaqueEffect::updateDoubleSided, Kuesa::Qt3D::IroMatteSkyboxEffect::updateDoubleSided, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateDoubleSided, Kuesa::Qt3D::Iro2AlphaSemEffect::updateDoubleSided, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateDoubleSided, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateDoubleSided, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateDoubleSided, Kuesa::Qt3D::Iro2GlassSemEffect::updateDoubleSided, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateDoubleSided, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateDoubleSided, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateDoubleSided, Kuesa::Qt3D::MetallicRoughnessEffect::updateDoubleSided, Kuesa::Qt3D::UnlitEffect::updateDoubleSided

function updateUsingSkinning

1
2
3
virtual void updateUsingSkinning(
    bool enabled
) =0

Reimplemented by: WireCarEffect::updateUsingSkinning, Kuesa::Qt3D::IroDiffuseEffect::updateUsingSkinning, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateUsingSkinning, Kuesa::Qt3D::IroDiffuseHemiEffect::updateUsingSkinning, Kuesa::Qt3D::IroGlassAddEffect::updateUsingSkinning, Kuesa::Qt3D::IroMatteAddEffect::updateUsingSkinning, Kuesa::Qt3D::IroMatteAlphaEffect::updateUsingSkinning, Kuesa::Qt3D::IroMatteBackgroundEffect::updateUsingSkinning, Kuesa::Qt3D::IroMatteMultEffect::updateUsingSkinning, Kuesa::Qt3D::IroMatteOpaqueEffect::updateUsingSkinning, Kuesa::Qt3D::IroMatteSkyboxEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2AlphaSemEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2GlassSemEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateUsingSkinning, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateUsingSkinning, Kuesa::Qt3D::MetallicRoughnessEffect::updateUsingSkinning, Kuesa::Qt3D::UnlitEffect::updateUsingSkinning

function updateOpaque

1
2
3
virtual void updateOpaque(
    bool opaque
) =0

Reimplemented by: WireCarEffect::updateOpaque, Kuesa::Qt3D::IroDiffuseEffect::updateOpaque, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateOpaque, Kuesa::Qt3D::IroDiffuseHemiEffect::updateOpaque, Kuesa::Qt3D::IroGlassAddEffect::updateOpaque, Kuesa::Qt3D::IroMatteAddEffect::updateOpaque, Kuesa::Qt3D::IroMatteAlphaEffect::updateOpaque, Kuesa::Qt3D::IroMatteBackgroundEffect::updateOpaque, Kuesa::Qt3D::IroMatteMultEffect::updateOpaque, Kuesa::Qt3D::IroMatteOpaqueEffect::updateOpaque, Kuesa::Qt3D::IroMatteSkyboxEffect::updateOpaque, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateOpaque, Kuesa::Qt3D::Iro2AlphaSemEffect::updateOpaque, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateOpaque, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateOpaque, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateOpaque, Kuesa::Qt3D::Iro2GlassSemEffect::updateOpaque, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateOpaque, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateOpaque, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateOpaque, Kuesa::Qt3D::MetallicRoughnessEffect::updateOpaque, Kuesa::Qt3D::UnlitEffect::updateOpaque

function updateAlphaCutoffEnabled

1
2
3
virtual void updateAlphaCutoffEnabled(
    bool enabled
) =0

Reimplemented by: WireCarEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroDiffuseEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroDiffuseHemiEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroGlassAddEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroMatteAddEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroMatteAlphaEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroMatteBackgroundEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroMatteMultEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroMatteOpaqueEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::IroMatteSkyboxEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2AlphaSemEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2GlassSemEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::MetallicRoughnessEffect::updateAlphaCutoffEnabled, Kuesa::Qt3D::UnlitEffect::updateAlphaCutoffEnabled

function updateUsingColorAttribute

1
2
3
virtual void updateUsingColorAttribute(
    bool enabled
) =0

Reimplemented by: WireCarEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroDiffuseEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroDiffuseHemiEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroGlassAddEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroMatteAddEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroMatteAlphaEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroMatteBackgroundEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroMatteMultEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroMatteOpaqueEffect::updateUsingColorAttribute, Kuesa::Qt3D::IroMatteSkyboxEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2AlphaSemEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2GlassSemEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateUsingColorAttribute, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateUsingColorAttribute, Kuesa::Qt3D::MetallicRoughnessEffect::updateUsingColorAttribute, Kuesa::Qt3D::UnlitEffect::updateUsingColorAttribute

function updateUsingNormalAttribute

1
2
3
virtual void updateUsingNormalAttribute(
    bool enabled
) =0

Reimplemented by: WireCarEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroDiffuseEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroDiffuseHemiEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroGlassAddEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroMatteAddEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroMatteAlphaEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroMatteBackgroundEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroMatteMultEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroMatteOpaqueEffect::updateUsingNormalAttribute, Kuesa::Qt3D::IroMatteSkyboxEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2AlphaSemEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2GlassSemEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateUsingNormalAttribute, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateUsingNormalAttribute, Kuesa::Qt3D::MetallicRoughnessEffect::updateUsingNormalAttribute, Kuesa::Qt3D::UnlitEffect::updateUsingNormalAttribute

function updateUsingTangentAttribute

1
2
3
virtual void updateUsingTangentAttribute(
    bool enabled
) =0

Reimplemented by: WireCarEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroDiffuseEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroDiffuseHemiEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroGlassAddEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroMatteAddEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroMatteAlphaEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroMatteBackgroundEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroMatteMultEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroMatteOpaqueEffect::updateUsingTangentAttribute, Kuesa::Qt3D::IroMatteSkyboxEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2AlphaSemEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2GlassSemEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateUsingTangentAttribute, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateUsingTangentAttribute, Kuesa::Qt3D::MetallicRoughnessEffect::updateUsingTangentAttribute, Kuesa::Qt3D::UnlitEffect::updateUsingTangentAttribute

function updateUsingTexCoordAttribute

1
2
3
virtual void updateUsingTexCoordAttribute(
    bool enabled
) =0

Reimplemented by: WireCarEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroDiffuseEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroDiffuseHemiEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroGlassAddEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroMatteAddEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroMatteAlphaEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroMatteBackgroundEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroMatteMultEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroMatteOpaqueEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::IroMatteSkyboxEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2AlphaSemEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2GlassSemEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::MetallicRoughnessEffect::updateUsingTexCoordAttribute, Kuesa::Qt3D::UnlitEffect::updateUsingTexCoordAttribute

function updateUsingTexCoord1Attribute

1
2
3
virtual void updateUsingTexCoord1Attribute(
    bool enabled
) =0

Reimplemented by: WireCarEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroDiffuseEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroDiffuseHemiEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroGlassAddEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroMatteAddEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroMatteAlphaEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroMatteBackgroundEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroMatteMultEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroMatteOpaqueEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::IroMatteSkyboxEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2AlphaSemEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2GlassSemEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::MetallicRoughnessEffect::updateUsingTexCoord1Attribute, Kuesa::Qt3D::UnlitEffect::updateUsingTexCoord1Attribute

function updateUsingMorphTargets

1
2
3
virtual void updateUsingMorphTargets(
    bool usingMorphTargets
) =0

Reimplemented by: WireCarEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroDiffuseEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroDiffuseHemiEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroGlassAddEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroMatteAddEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroMatteAlphaEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroMatteBackgroundEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroMatteMultEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroMatteOpaqueEffect::updateUsingMorphTargets, Kuesa::Qt3D::IroMatteSkyboxEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2AlphaSemEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2GlassSemEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateUsingMorphTargets, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateUsingMorphTargets, Kuesa::Qt3D::MetallicRoughnessEffect::updateUsingMorphTargets, Kuesa::Qt3D::UnlitEffect::updateUsingMorphTargets

function updateInstanced

1
2
3
virtual void updateInstanced(
    bool instanced
) =0

Reimplemented by: WireCarEffect::updateInstanced, Kuesa::Qt3D::IroDiffuseEffect::updateInstanced, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateInstanced, Kuesa::Qt3D::IroDiffuseHemiEffect::updateInstanced, Kuesa::Qt3D::IroGlassAddEffect::updateInstanced, Kuesa::Qt3D::IroMatteAddEffect::updateInstanced, Kuesa::Qt3D::IroMatteAlphaEffect::updateInstanced, Kuesa::Qt3D::IroMatteBackgroundEffect::updateInstanced, Kuesa::Qt3D::IroMatteMultEffect::updateInstanced, Kuesa::Qt3D::IroMatteOpaqueEffect::updateInstanced, Kuesa::Qt3D::IroMatteSkyboxEffect::updateInstanced, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateInstanced, Kuesa::Qt3D::Iro2AlphaSemEffect::updateInstanced, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateInstanced, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateInstanced, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateInstanced, Kuesa::Qt3D::Iro2GlassSemEffect::updateInstanced, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateInstanced, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateInstanced, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateInstanced, Kuesa::Qt3D::MetallicRoughnessEffect::updateInstanced, Kuesa::Qt3D::UnlitEffect::updateInstanced

function updateUsingCubeMapArrays

1
2
3
virtual void updateUsingCubeMapArrays(
    bool usingCubeMapArrays
)

Reimplemented by: Kuesa::Qt3D::MetallicRoughnessEffect::updateUsingCubeMapArrays

function updateSRGBOutput

1
2
3
virtual void updateSRGBOutput(
    bool sRGBOutput
)

Reimplemented by: Kuesa::Qt3D::IroDiffuseEffect::updateSRGBOutput, Kuesa::Qt3D::IroDiffuseAlphaEffect::updateSRGBOutput, Kuesa::Qt3D::IroDiffuseHemiEffect::updateSRGBOutput, Kuesa::Qt3D::IroGlassAddEffect::updateSRGBOutput, Kuesa::Qt3D::IroMatteAddEffect::updateSRGBOutput, Kuesa::Qt3D::IroMatteAlphaEffect::updateSRGBOutput, Kuesa::Qt3D::IroMatteBackgroundEffect::updateSRGBOutput, Kuesa::Qt3D::IroMatteMultEffect::updateSRGBOutput, Kuesa::Qt3D::IroMatteOpaqueEffect::updateSRGBOutput, Kuesa::Qt3D::IroMatteSkyboxEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2AlphaEquiRectEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2AlphaSemEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2DiffuseEquiRectEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2DiffuseSemEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2GlassEquiRectEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2GlassSemEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2MatteAlphaEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2PlanarReflectionEquiRectEffect::updateSRGBOutput, Kuesa::Qt3D::Iro2PlanarReflectionSemEffect::updateSRGBOutput, Kuesa::Qt3D::MetallicRoughnessEffect::updateSRGBOutput

Public Property Documentation

property doubleSided

1
bool doubleSided;

Since: Kuesa 2.0

Returns whether the meshes to be rendered with this effect are double sided.

property usingSkinning

1
bool usingSkinning;

Since: Kuesa 2.0

Note: If enabled, CPU side frustum culling is not performed for the entities using that effect. Therefore, this should be enabled on effects used to render geometries where the CPU side computed bounding volume doesn't match what a standard vertex shader would compute (skyboxes, instancing ...). Additionally, the

Returns whether vertex skinning is enabled or not. If true, a skinning enabled vertex shader is used instead of the default one. This allows to use this effect for rendering skinned meshes

property opaque

1
bool opaque;

Since: Kuesa 2.0

Returns whether the content to be draw is opaque or transparent. If false, alpha blending is enabled for this effect

property alphaCutoffEnabled

1
bool alphaCutoffEnabled;

Note: The threshold value used will be of the material properties set on the material that uses the effect. Kuesa 2.0

Returns whether alphaCutOffIsEnabled or not. If true, alpha cutoff is enabled. Fragments with an alpha value above a threshold are rendered as opaque while fragment an alpha value below the threshold are discarded

property usingColorAttribute

1
bool usingColorAttribute;

Since: Kuesa 2.0

If true, the base color property is multiplied by the color interpolated attribute of the mesh

property usingNormalAttribute

1
bool usingNormalAttribute;

Since: Kuesa 2.0

If true, the normal attribute provided by the mesh is used.

property usingTangentAttribute

1
bool usingTangentAttribute;

Since: Kuesa 2.0

If true, the tangent attribute provided by the mesh is used.

property usingTexCoordAttribute

1
bool usingTexCoordAttribute;

Since: Kuesa 2.0

If true, the texCoord attribute provided by the mesh is used.

property usingTexCoord1Attribute

1
bool usingTexCoord1Attribute;

Since: Kuesa 2.0

If true, the texCoord1 attribute provided by the mesh is used.

property usingMorphTargets

1
bool usingMorphTargets;

Since: Kuesa 2.0

If true, the morphtarget support is enabled.

property instanced

1
bool instanced;

property sRGBOutput

1
bool sRGBOutput;

Updated on 2023-07-03 at 11:02:09 +0000