#include <metallicroughnessmaterial.h>
Inherits from Kuesa::Serenity::GLTF2Material, Serenity::Material
Public Classes
Public Functions
Protected Functions
Public Attributes
Additional inherited members
Public Types inherited from Kuesa::Serenity::GLTF2Material
Public Functions inherited from Kuesa::Serenity::GLTF2Material
Protected Functions inherited from Kuesa::Serenity::GLTF2Material
Public Attributes inherited from Kuesa::Serenity::GLTF2Material
Protected Attributes inherited from Kuesa::Serenity::GLTF2Material
Public Functions Documentation
| MetallicRoughnessMaterial()
|
| ~MetallicRoughnessMaterial()
|
function uboData
| std::vector< uint8_t > uboData(
uint32_t set,
uint32_t binding
) const
|
Protected Functions Documentation
function updateShader
| virtual void updateShader()
|
function handleTextureChanged
| void handleTextureChanged(
::Serenity::Texture * oldTex,
::Serenity::Texture * newTex,
uint32_t binding
)
|
Public Attributes Documentation
| KDBindings::Property< bool > metalRoughUsesTexCoord1 { false };
|
variable normalUsesTexCoord1
| KDBindings::Property< bool > normalUsesTexCoord1 { false };
|
variable aoUsesTexCoord1
| KDBindings::Property< bool > aoUsesTexCoord1 { false };
|
variable emissiveUsesTexCoord1
| KDBindings::Property< bool > emissiveUsesTexCoord1 { false };
|
| KDBindings::Property< float > metallicFactor { 0.0f };
|
variable roughnessFactor
| KDBindings::Property< float > roughnessFactor { 0.0f };
|
variable normalScale
| KDBindings::Property< float > normalScale { 1.0f };
|
variable emissiveFactor
| KDBindings::Property< Color > emissiveFactor { { 0.0f, 0.0f, 0.0f, 0.0f } };
|
| KDBindings::Property<::Serenity::Texture * > metalRoughMap { nullptr };
|
variable normalMap
| KDBindings::Property<::Serenity::Texture * > normalMap { nullptr };
|
variable ambientOcclusionMap
| KDBindings::Property<::Serenity::Texture * > ambientOcclusionMap { nullptr };
|
variable emissiveMap
| KDBindings::Property<::Serenity::Texture * > emissiveMap { nullptr };
|
variable clearCoatTextureUsesTexCoord1
| KDBindings::Property< bool > clearCoatTextureUsesTexCoord1 { false };
|
variable clearCoatNormalTextureUsesTexCoord1
| KDBindings::Property< bool > clearCoatNormalTextureUsesTexCoord1 { false };
|
variable clearCoatRoughnessTextureUsesTexCoord1
| KDBindings::Property< bool > clearCoatRoughnessTextureUsesTexCoord1 { false };
|
variable clearCoatFactor
| KDBindings::Property< float > clearCoatFactor { 0.0f };
|
variable clearCoatRoughnessFactor
| KDBindings::Property< float > clearCoatRoughnessFactor { 0.0f };
|
variable clearCoatTexture
| KDBindings::Property<::Serenity::Texture * > clearCoatTexture { nullptr };
|
variable clearCoatNormalTexture
| KDBindings::Property<::Serenity::Texture * > clearCoatNormalTexture { nullptr };
|
variable clearCoatRoughnessTexture
| KDBindings::Property<::Serenity::Texture * > clearCoatRoughnessTexture { nullptr };
|
Updated on 2023-07-03 at 11:02:07 +0000