Skip to content

Kuesa::Serenity

Contains the Kuesa classes for Serenity.

Namespaces

Name
Kuesa::Serenity::CustomMaterialGenerator
Kuesa::Serenity::Layers

Classes

Name
class Kuesa::Serenity::AssetCollection
class Kuesa::Serenity::AssetCollections
Holds the collections of named assets generated when parsing a glTF file to be used with Serenity.
class Kuesa::Serenity::CameraController
A CameraController providing zooming, panning and orbiting motions to a Serenity Camera.
class Kuesa::Serenity::GLTF2Importer
Imports glTF 2 scenes into a Serenity 3D scene.
class Kuesa::Serenity::IroDiffuseMaterial
class Kuesa::Serenity::IroDiffuseAlphaMaterial
class Kuesa::Serenity::IroDiffuseHemiMaterial
class Kuesa::Serenity::IroGlassAddMaterial
class Kuesa::Serenity::IroMatteAddMaterial
class Kuesa::Serenity::IroMatteAlphaMaterial
class Kuesa::Serenity::IroMatteBackgroundMaterial
class Kuesa::Serenity::IroMatteMultMaterial
class Kuesa::Serenity::IroMatteOpaqueMaterial
class Kuesa::Serenity::IroMatteSkyboxMaterial
class Kuesa::Serenity::Iro2AlphaEquiRectMaterial
class Kuesa::Serenity::Iro2AlphaSemMaterial
class Kuesa::Serenity::Iro2DiffuseEquiRectMaterial
class Kuesa::Serenity::Iro2DiffuseSemMaterial
class Kuesa::Serenity::Iro2GlassEquiRectMaterial
class Kuesa::Serenity::Iro2GlassSemMaterial
class Kuesa::Serenity::Iro2MatteAlphaMaterial
class Kuesa::Serenity::Iro2PlanarReflectionEquiRectMaterial
class Kuesa::Serenity::Iro2PlanarReflectionSemMaterial
class Kuesa::Serenity::GLTF2Material
class Kuesa::Serenity::MetallicRoughnessMaterial
class Kuesa::Serenity::UnlitMaterial
class Kuesa::Serenity::TransformTracker
TransformTracker allows watching a transform for change and computing a projected screen position given a window size and a camera.
class Kuesa::Serenity::Window
Provides a convenient way of creating a Window to be used with the KuesaSerenity renderer.
class Kuesa::Serenity::AnimationGenerator
struct Kuesa::Serenity::CustomMaterialTypeInfo
class Kuesa::Serenity::MaterialGenerator
class Kuesa::Serenity::MeshGenerator
struct Kuesa::Serenity::NodeEntity
class Kuesa::Serenity::SceneGenerator
class Kuesa::Serenity::TextureGenerator

Types

Name
typedef ::Serenity::AnimationClip * AnimationClipPtr
typedef ::Serenity::ChannelMapper * ChannelMapperPtr
using std::function< MaterialGenerator::MaterialPtr(const GLTF2Import::Material &, const GLTF2Import::Primitive &, const std::vector<::Serenity::Texture * > &)> GeneratorFunc
using std::vector<::Serenity::Mesh * > MeshPrimitivesForMesh
using std::pair< AnimationClipPtr, ChannelMapperPtr > ClipAndMapper
using std::pair< GLTF2Material *, int32_t > MaterialAndIndex

Functions

Name
std::unique_ptr< GLTF2Material > generateIroDiffuseMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroDiffuseAlphaMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroDiffuseHemiMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroGlassAddMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroMatteAddMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroMatteAlphaMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroMatteBackgroundMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroMatteMultMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroMatteOpaqueMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIroMatteSkyboxMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2AlphaEquiRectMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2AlphaSemMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2DiffuseEquiRectMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2DiffuseSemMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2GlassEquiRectMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2GlassSemMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2MatteAlphaMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2PlanarReflectionEquiRectMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)
std::unique_ptr< GLTF2Material > generateIro2PlanarReflectionSemMaterial(const GLTF2Import::Material & material, const GLTF2Import::Primitive & primitive, const std::vector<::Serenity::Texture * > & textures)

Types Documentation

typedef AnimationClipPtr

1
typedef::Serenity::AnimationClip * Kuesa::Serenity::AnimationClipPtr;

typedef ChannelMapperPtr

1
typedef::Serenity::ChannelMapper * Kuesa::Serenity::ChannelMapperPtr;

using GeneratorFunc

1
using Kuesa::Serenity::GeneratorFunc = typedef std::function<MaterialGenerator::MaterialPtr(const GLTF2Import::Material &, const GLTF2Import::Primitive &, const std::vector<::Serenity::Texture *> &)>;

using MeshPrimitivesForMesh

1
using Kuesa::Serenity::MeshPrimitivesForMesh = typedef std::vector<::Serenity::Mesh *>;

using ClipAndMapper

1
using Kuesa::Serenity::ClipAndMapper = typedef std::pair<AnimationClipPtr, ChannelMapperPtr>;

using MaterialAndIndex

1
using Kuesa::Serenity::MaterialAndIndex = typedef std::pair<GLTF2Material *, int32_t>;

Functions Documentation

function generateIroDiffuseMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroDiffuseMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroDiffuseAlphaMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroDiffuseAlphaMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroDiffuseHemiMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroDiffuseHemiMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroGlassAddMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroGlassAddMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroMatteAddMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroMatteAddMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroMatteAlphaMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroMatteAlphaMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroMatteBackgroundMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroMatteBackgroundMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroMatteMultMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroMatteMultMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroMatteOpaqueMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroMatteOpaqueMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIroMatteSkyboxMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIroMatteSkyboxMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2AlphaEquiRectMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2AlphaEquiRectMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2AlphaSemMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2AlphaSemMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2DiffuseEquiRectMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2DiffuseEquiRectMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2DiffuseSemMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2DiffuseSemMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2GlassEquiRectMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2GlassEquiRectMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2GlassSemMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2GlassSemMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2MatteAlphaMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2MatteAlphaMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2PlanarReflectionEquiRectMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2PlanarReflectionEquiRectMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

function generateIro2PlanarReflectionSemMaterial

1
2
3
4
5
std::unique_ptr< GLTF2Material > generateIro2PlanarReflectionSemMaterial(
    const GLTF2Import::Material & material,
    const GLTF2Import::Primitive & primitive,
    const std::vector<::Serenity::Texture * > & textures
)

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