Skip to content

Kuesa::Serenity::Iro2DiffuseSemMaterial

Module: Kuesa Serenity API

More...

#include <Kuesa/Serenity/api/iro2-materials/iro2diffusesem/iro2diffusesemmaterial.h>

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

Public Classes

Name
struct UboData

Public Functions

Name
Iro2DiffuseSemMaterial()
~Iro2DiffuseSemMaterial()
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
KDBindings::Property< glm::vec3 > diffuseInnerFilter
KDBindings::Property< glm::vec3 > diffuseOuterFilter
KDBindings::Property< glm::vec3 > normalDisturb
KDBindings::Property< glm::vec3 > normalScaling
KDBindings::Property< glm::vec3 > postHemiFilter
KDBindings::Property< glm::vec3 > reflectionInnerFilter
KDBindings::Property< glm::vec3 > reflectionOuterFilter
KDBindings::Property<::Serenity::Texture * > diffuseMap
KDBindings::Property<::Serenity::Texture * > normalMap
KDBindings::Property<::Serenity::Texture * > reflectionMap
KDBindings::Property< float > diffuseGain
KDBindings::Property< float > normalMapGain
KDBindings::Property< float > postGain
KDBindings::Property< float > postVertexColor
KDBindings::Property< float > reflectionGain
KDBindings::Property< bool > gltfYUp
KDBindings::Property< bool > usesDiffuseMap
KDBindings::Property< bool > usesNormalMap
KDBindings::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
KDBindings::Property< bool > hasNormalAttribute
KDBindings::Property< bool > hasTangentAttribute
KDBindings::Property< bool > hasTexCoordAttribute
KDBindings::Property< bool > hasTexCoord1Attribute
KDBindings::Property< bool > hasColorAttribute
KDBindings::Property< bool > baseColorUsesTexCoord1
KDBindings::Property< Color > baseColorFactor
KDBindings::Property<::Serenity::Texture * > baseColorMap
KDBindings::Property< BlendMode > blendMode
KDBindings::Property< float > alphaCutOff

Protected Attributes inherited from Kuesa::Serenity::GLTF2Material

Name
MeshType m_meshType

Detailed Description

1
class Kuesa::Serenity::Iro2DiffuseSemMaterial;

Since: Kuesa 2.0

\inherits{Kuesa::Serenity::GLTF2Material}

Public Functions Documentation

function Iro2DiffuseSemMaterial

1
Iro2DiffuseSemMaterial()

function ~Iro2DiffuseSemMaterial

1
~Iro2DiffuseSemMaterial()

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 diffuseInnerFilter

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

variable diffuseOuterFilter

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

variable normalDisturb

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

variable normalScaling

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

variable postHemiFilter

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

variable reflectionInnerFilter

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

variable reflectionOuterFilter

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

variable diffuseMap

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

variable normalMap

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

variable reflectionMap

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

variable diffuseGain

1
KDBindings::Property< float > diffuseGain { 0.0f };

variable normalMapGain

1
KDBindings::Property< float > normalMapGain { 0.0f };

variable postGain

1
KDBindings::Property< float > postGain { 0.0f };

variable postVertexColor

1
KDBindings::Property< float > postVertexColor { 0.0f };

variable reflectionGain

1
KDBindings::Property< float > reflectionGain { 0.0f };

variable gltfYUp

1
KDBindings::Property< bool > gltfYUp { false };

variable usesDiffuseMap

1
KDBindings::Property< bool > usesDiffuseMap { false };

variable usesNormalMap

1
KDBindings::Property< bool > usesNormalMap { false };

variable usesReflectionMap

1
KDBindings::Property< bool > usesReflectionMap { false };

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