Skip to content

IroMatteAddFogMaterial

#include <iromatteaddfogmaterial.h>

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

Public Functions

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

Protected Functions

Name
virtual void updateShader() override

Public Attributes

Name
KDBindings::Property< float > fogNearDistance
KDBindings::Property< float > fogFarDistance
KDBindings::Property< glm::vec4 > fogColor

Additional inherited members

Public Classes inherited from Kuesa::Serenity::IroMatteAddMaterial

Name
struct UboData

Public Functions inherited from Kuesa::Serenity::IroMatteAddMaterial

Name
IroMatteAddMaterial()
~IroMatteAddMaterial()
virtual std::optional< ComponentCountAndGenerator > callBackAndComponentCountForPropertyName(const String & propertyName) override

Public Attributes inherited from Kuesa::Serenity::IroMatteAddMaterial

Name
KDBindings::Property< glm::vec3 > matteFilter
KDBindings::Property< glm::vec3 > uvOffset
KDBindings::Property<::Serenity::Texture * > matteMap
KDBindings::Property< float > matteGain
KDBindings::Property< float > postGain
KDBindings::Property< float > postVertexColor
KDBindings::Property< bool > usesMatteMap

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

Public Functions Documentation

function IroMatteAddFogMaterial

1
IroMatteAddFogMaterial()

function ~IroMatteAddFogMaterial

1
~IroMatteAddFogMaterial()

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

Reimplements: Kuesa::Serenity::IroMatteAddMaterial::updateShader

Public Attributes Documentation

variable fogNearDistance

1
KDBindings::Property< float > fogNearDistance;

variable fogFarDistance

1
KDBindings::Property< float > fogFarDistance;

variable fogColor

1
KDBindings::Property< glm::vec4 > fogColor;

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