Skip to content

Kuesa::Serenity::MaterialGenerator

#include <materialgenerator.h>

Public Types

Name
using std::unique_ptr< GLTF2Material > MaterialPtr

Public Functions

Name
void registerMaterialExtensionAnimatableProperties()
void registerIroMaterials()
void registerIro2Materials()
MaterialPtr generate(const GLTF2Import::Material & m, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
void setAttributesAndBaseParameters(const MaterialPtr & mPtr, const GLTF2Import::Material & m, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)

Public Types Documentation

using MaterialPtr

1
using Kuesa::Serenity::MaterialGenerator::MaterialPtr =  std::unique_ptr<GLTF2Material>;

Public Functions Documentation

function registerMaterialExtensionAnimatableProperties

1
static void registerMaterialExtensionAnimatableProperties()

function registerIroMaterials

1
static void registerIroMaterials()

function registerIro2Materials

1
static void registerIro2Materials()

function generate

1
2
3
4
5
static MaterialPtr generate(
    const GLTF2Import::Material & m,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function setAttributesAndBaseParameters

1
2
3
4
5
6
static void setAttributesAndBaseParameters(
    const MaterialPtr & mPtr,
    const GLTF2Import::Material & m,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

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