Skip to content

Kuesa::Qt3D::MetallicRoughnessTechnique

#include <metallicroughnesseffect.h>

Inherits from Qt3DRender::QTechnique

Public Types

Name
enum Version { GL3 = 0, ES3, ES2, RHI}

Public Functions

Name
MetallicRoughnessTechnique(Version version, Qt3DCore::QNode * parent =nullptr)
QStringList enabledLayers() const
void setEnabledLayers(const QStringList & layers)
void setOpaque(bool opaque)
void setCullingMode(Qt3DRender::QCullFace::CullingMode mode)
void setAllowCulling(bool allowCulling)
Qt3DRender::QShaderProgramBuilder * metalRoughShaderBuilder() const

Public Types Documentation

enum Version

Enumerator Value Description
GL3 0
ES3
ES2
RHI

Public Functions Documentation

function MetallicRoughnessTechnique

1
2
3
4
explicit MetallicRoughnessTechnique(
    Version version,
    Qt3DCore::QNode * parent =nullptr
)

function enabledLayers

1
QStringList enabledLayers() const

function setEnabledLayers

1
2
3
void setEnabledLayers(
    const QStringList & layers
)

function setOpaque

1
2
3
void setOpaque(
    bool opaque
)

function setCullingMode

1
2
3
void setCullingMode(
    Qt3DRender::QCullFace::CullingMode mode
)

function setAllowCulling

1
2
3
void setAllowCulling(
    bool allowCulling
)

function metalRoughShaderBuilder

1
Qt3DRender::QShaderProgramBuilder * metalRoughShaderBuilder() const

Updated on 2022-10-18 at 11:12:50 +0200