Skip to content

Kuesa::Qt3D::MeshParserUtils

Functions

Name
void createTangentForGeometry(QGeometry * geometry, QGeometryRenderer::PrimitiveType primitiveType)
bool needsTangentAttribute(const QGeometry * geometry, QGeometryRenderer::PrimitiveType primitiveType)
bool generatePrecomputedTangentAttribute(QGeometryRenderer * mesh, Kuesa::GLTF2Import::Mesh & gltfMesh, int32_t primitiveNumber, Kuesa::GLTF2Import::GLTF2Context * context)
bool geometryIsGLTF2Valid(QGeometry * geometry)
bool needsNormalAttribute(const QGeometry * geometry, QGeometryRenderer::PrimitiveType primitiveType)
void createNormalsForGeometry(QGeometry * geometry, QGeometryRenderer::PrimitiveType primitiveType)
bool generatePrecomputedNormalAttribute(QGeometryRenderer * mesh, Kuesa::GLTF2Import::Mesh & gltfMesh, int32_t primitiveNumber, Kuesa::GLTF2Import::GLTF2Context * context)

Functions Documentation

function createTangentForGeometry

1
2
3
4
void createTangentForGeometry(
    QGeometry * geometry,
    QGeometryRenderer::PrimitiveType primitiveType
)

function needsTangentAttribute

1
2
3
4
bool needsTangentAttribute(
    const QGeometry * geometry,
    QGeometryRenderer::PrimitiveType primitiveType
)

function generatePrecomputedTangentAttribute

1
2
3
4
5
6
bool generatePrecomputedTangentAttribute(
    QGeometryRenderer * mesh,
    Kuesa::GLTF2Import::Mesh & gltfMesh,
    int32_t primitiveNumber,
    Kuesa::GLTF2Import::GLTF2Context * context
)

function geometryIsGLTF2Valid

1
2
3
bool geometryIsGLTF2Valid(
    QGeometry * geometry
)

function needsNormalAttribute

1
2
3
4
bool needsNormalAttribute(
    const QGeometry * geometry,
    QGeometryRenderer::PrimitiveType primitiveType
)

function createNormalsForGeometry

1
2
3
4
void createNormalsForGeometry(
    QGeometry * geometry,
    QGeometryRenderer::PrimitiveType primitiveType
)

function generatePrecomputedNormalAttribute

1
2
3
4
5
6
bool generatePrecomputedNormalAttribute(
    QGeometryRenderer * mesh,
    Kuesa::GLTF2Import::Mesh & gltfMesh,
    int32_t primitiveNumber,
    Kuesa::GLTF2Import::GLTF2Context * context
)

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