Kuesa::Serenity::GLTF2Material
#include <gltf2material.h>
Inherits from Serenity::Material
Inherited by Kuesa::Serenity::Iro2AlphaEquiRectMaterial, Kuesa::Serenity::Iro2AlphaSemMaterial, Kuesa::Serenity::Iro2DiffuseEquiRectMaterial, Kuesa::Serenity::Iro2DiffuseSemMaterial, Kuesa::Serenity::Iro2GlassEquiRectMaterial, Kuesa::Serenity::Iro2GlassSemMaterial, Kuesa::Serenity::Iro2MatteAlphaMaterial, Kuesa::Serenity::Iro2PlanarReflectionEquiRectMaterial, Kuesa::Serenity::Iro2PlanarReflectionSemMaterial, Kuesa::Serenity::IroDiffuseAlphaMaterial, Kuesa::Serenity::IroDiffuseHemiMaterial, Kuesa::Serenity::IroDiffuseMaterial, Kuesa::Serenity::IroGlassAddMaterial, Kuesa::Serenity::IroMatteAddMaterial, Kuesa::Serenity::IroMatteAlphaMaterial, Kuesa::Serenity::IroMatteBackgroundMaterial, Kuesa::Serenity::IroMatteMultMaterial, Kuesa::Serenity::IroMatteOpaqueMaterial, Kuesa::Serenity::IroMatteSkyboxMaterial, Kuesa::Serenity::MetallicRoughnessMaterial, Kuesa::Serenity::UnlitMaterial
Public Types
Public Functions
Protected Functions
Public Attributes
Protected Attributes
Public Types Documentation
enum BlendMode
Enumerator |
Value |
Description |
Opaque |
|
|
Blend |
|
|
Mask |
|
|
enum MeshType
Enumerator |
Value |
Description |
Skybox |
|
|
Background |
|
|
Regular |
|
|
using CallBackPtr
| using Kuesa::Serenity::GLTF2Material::CallBackPtr = std::shared_ptr<::Serenity::AnimationCallback>;
|
using CallBackGenerator
| using Kuesa::Serenity::GLTF2Material::CallBackGenerator = std::function<CallBackPtr(GLTF2Material *)>;
|
using ComponentCountAndGenerator
| using Kuesa::Serenity::GLTF2Material::ComponentCountAndGenerator = std::pair<int, CallBackGenerator>;
|
Public Functions Documentation
function ~GLTF2Material
function callBackAndComponentCountForPropertyName
| virtual std::optional< ComponentCountAndGenerator > callBackAndComponentCountForPropertyName(
const String & propertyName
)
|
Reimplemented by: Kuesa::Serenity::IroDiffuseMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroDiffuseAlphaMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroDiffuseHemiMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroGlassAddMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroMatteAddMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroMatteAlphaMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroMatteBackgroundMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroMatteMultMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroMatteOpaqueMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::IroMatteSkyboxMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2AlphaEquiRectMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2AlphaSemMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2DiffuseEquiRectMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2DiffuseSemMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2GlassEquiRectMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2GlassSemMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2MatteAlphaMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2PlanarReflectionEquiRectMaterial::callBackAndComponentCountForPropertyName, Kuesa::Serenity::Iro2PlanarReflectionSemMaterial::callBackAndComponentCountForPropertyName
function meshType
| inline const MeshType meshType() const
|
Protected Functions Documentation
function GLTF2Material
Public Attributes Documentation
variable hasNormalAttribute
| KDBindings::Property< bool > hasNormalAttribute { false };
|
variable hasTangentAttribute
| KDBindings::Property< bool > hasTangentAttribute { false };
|
variable hasTexCoordAttribute
| KDBindings::Property< bool > hasTexCoordAttribute { false };
|
variable hasTexCoord1Attribute
| KDBindings::Property< bool > hasTexCoord1Attribute { false };
|
variable hasColorAttribute
| KDBindings::Property< bool > hasColorAttribute { false };
|
variable baseColorUsesTexCoord1
| KDBindings::Property< bool > baseColorUsesTexCoord1 { false };
|
variable baseColorFactor
| KDBindings::Property< Color > baseColorFactor { { 0.0f, 0.0f, 0.0f, 0.0f } };
|
variable baseColorMap
| KDBindings::Property<::Serenity::Texture * > baseColorMap { nullptr };
|
variable blendMode
| KDBindings::Property< BlendMode > blendMode { Opaque };
|
variable alphaCutOff
| KDBindings::Property< float > alphaCutOff { 0.0f };
|
Protected Attributes Documentation
variable m_meshType
| MeshType m_meshType = Regular;
|
Updated on 2023-07-03 at 11:02:07 +0000