Skip to content

Kuesa::Serenity::IroDiffuseAlphaMaterial

Module: Kuesa Serenity API

More...

#include <Kuesa/Serenity/api/iro-materials/irodiffusealpha/irodiffusealphamaterial.h>

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

Public Classes

Name
struct UboData

Public Functions

Name
IroDiffuseAlphaMaterial()
~IroDiffuseAlphaMaterial()
std::vector< uint8_t > uboData(uint32_t set, uint32_t binding) const
virtual std::optional< ComponentCountAndGenerator > callBackAndComponentCountForPropertyName(const String & propertyName) override

Protected Functions

Name
virtual void updateShader()

Public Attributes

Name
Property< glm::vec3 > normalDisturb
Property< glm::vec3 > normalScaling
Property< glm::vec3 > reflectionInnerFilter
Property< glm::vec3 > reflectionOuterFilter
Property<::Serenity::Texture * > reflectionMap
Property< float > alphaGain
Property< float > postGain
Property< float > postVertexColor
Property< float > reflectionGain
Property< float > reflectionInnerAlpha
Property< float > reflectionOuterAlpha
Property< bool > projectReflectionMap
Property< bool > usesReflectionMap

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()
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

Detailed Description

1
class Kuesa::Serenity::IroDiffuseAlphaMaterial;

Since: Kuesa 2.0

\inherits{Kuesa::Serenity::GLTF2Material}

Public Functions Documentation

function IroDiffuseAlphaMaterial

1
IroDiffuseAlphaMaterial()

function ~IroDiffuseAlphaMaterial

1
~IroDiffuseAlphaMaterial()

function uboData

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

function callBackAndComponentCountForPropertyName

1
2
3
virtual std::optional< ComponentCountAndGenerator > callBackAndComponentCountForPropertyName(
    const String & propertyName
) override

Reimplements: Kuesa::Serenity::GLTF2Material::callBackAndComponentCountForPropertyName

Protected Functions Documentation

function updateShader

1
virtual void updateShader()

Public Attributes Documentation

variable normalDisturb

1
Property< glm::vec3 > normalDisturb { { 0.0f, 0.0f, 0.0f } };

variable normalScaling

1
Property< glm::vec3 > normalScaling { { 0.0f, 0.0f, 0.0f } };

variable reflectionInnerFilter

1
Property< glm::vec3 > reflectionInnerFilter { { 0.0f, 0.0f, 0.0f } };

variable reflectionOuterFilter

1
Property< glm::vec3 > reflectionOuterFilter { { 0.0f, 0.0f, 0.0f } };

variable reflectionMap

1
Property<::Serenity::Texture * > reflectionMap { nullptr };

variable alphaGain

1
Property< float > alphaGain { 0.0f };

variable postGain

1
Property< float > postGain { 0.0f };

variable postVertexColor

1
Property< float > postVertexColor { 0.0f };

variable reflectionGain

1
Property< float > reflectionGain { 0.0f };

variable reflectionInnerAlpha

1
Property< float > reflectionInnerAlpha { 0.0f };

variable reflectionOuterAlpha

1
Property< float > reflectionOuterAlpha { 0.0f };

variable projectReflectionMap

1
Property< bool > projectReflectionMap { false };

variable usesReflectionMap

1
Property< bool > usesReflectionMap { false };

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