Skip to content

Kuesa::Serenity::UnlitMaterial

#include <unlitmaterial.h>

Inherits from Kuesa::Serenity::GLTF2Material, Serenity::Material

Public Classes

Name
struct UboData

Public Functions

Name
UnlitMaterial()
~UnlitMaterial()
std::vector< uint8_t > uboData(uint32_t set, uint32_t binding) const

Protected Functions

Name
virtual void updateShader()

Additional inherited members

Public Types inherited from Kuesa::Serenity::GLTF2Material

Name
enum BlendMode { Opaque, Blend, Mask}
enum MeshType { Skybox, Background, Regular}
using std::shared_ptr<::Serenity::AnimationCallback > CallBackPtr
using std::function< CallBackPtr(GLTF2Material *)> CallBackGenerator
using std::pair< int, CallBackGenerator > ComponentCountAndGenerator

Public Functions inherited from Kuesa::Serenity::GLTF2Material

Name
~GLTF2Material()
virtual std::optional< ComponentCountAndGenerator > callBackAndComponentCountForPropertyName(const String & propertyName)
const MeshType meshType() const

Protected Functions inherited from Kuesa::Serenity::GLTF2Material

Name
GLTF2Material()

Public Attributes inherited from Kuesa::Serenity::GLTF2Material

Name
Property< bool > hasNormalAttribute
Property< bool > hasTangentAttribute
Property< bool > hasTexCoordAttribute
Property< bool > hasTexCoord1Attribute
Property< bool > hasColorAttribute
Property< bool > baseColorUsesTexCoord1
Property< Color > baseColorFactor
Property<::Serenity::Texture * > baseColorMap
Property< BlendMode > blendMode
Property< float > alphaCutOff

Protected Attributes inherited from Kuesa::Serenity::GLTF2Material

Name
MeshType m_meshType

Public Functions Documentation

function UnlitMaterial

1
UnlitMaterial()

function ~UnlitMaterial

1
~UnlitMaterial()

function uboData

1
2
3
4
std::vector< uint8_t > uboData(
    uint32_t set,
    uint32_t binding
) const

Protected Functions Documentation

function updateShader

1
virtual void updateShader()

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