CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::RendererMaterialPBR::Property< ValueType > Class Template Reference

#include <CeresEngine/Renderer/RendererMaterial.hpp>

Inheritance diagram for CeresEngine::RendererMaterialPBR::Property< ValueType >:
CeresEngine::MaterialProperty< ValueType, RendererTexturePtr >

Public Member Functions

 Property (const MaterialProperty< ValueType > &other, const RendererTexturePtr &texture, const GPUSamplerPtr &sampler)
 
- Public Member Functions inherited from CeresEngine::MaterialProperty< ValueType, RendererTexturePtr >
 MaterialProperty ()=default
 Creates a new empty material property.
 
 MaterialProperty (ValueType value)
 Creates a new material property from a raw value and no texture.
 
 MaterialProperty (RendererTexturePtr texture, MaterialPropertySwizzle< ValueType > swizzle={})
 Creates a new material property from an texture value and no raw value.
 
 MaterialProperty (ValueType value, RendererTexturePtr texture, MaterialPropertySwizzle< ValueType > swizzle={})
 Creates a new material property from both a raw value and an texture.
 
 MaterialProperty (const MaterialProperty &)=default
 
 MaterialProperty (MaterialProperty &&) noexcept=default
 
MaterialPropertyoperator= (const MaterialProperty &)=default
 
MaterialPropertyoperator= (MaterialProperty &&) noexcept=default
 

Public Attributes

GPUSamplerPtr sampler
 A descriptor that describes how material sampling should be done.
 
- Public Attributes inherited from CeresEngine::MaterialProperty< ValueType, RendererTexturePtr >
ValueType value
 The value associated with the material property.
 
RendererTexturePtr texture
 The texture associated with the material property.
 
GPUSamplerDescriptor sampler
 A descriptor that describes how material sampling should be done.
 
MaterialPropertySwizzle< ValueType > swizzle
 A property that allows mixing channels in a material property.
 

Private Types

using super = MaterialProperty< ValueType, RendererTexturePtr >
 

Private Attributes

EventConnection mDidChangeImageConnection
 

Friends

class RendererMaterialPBR
 

Member Typedef Documentation

◆ super

template<typename ValueType >
using CeresEngine::RendererMaterialPBR::Property< ValueType >::super = MaterialProperty<ValueType, RendererTexturePtr>
private

Constructor & Destructor Documentation

◆ Property()

template<typename ValueType >
CeresEngine::RendererMaterialPBR::Property< ValueType >::Property ( const MaterialProperty< ValueType > &  other,
const RendererTexturePtr texture,
const GPUSamplerPtr sampler 
)
inlineexplicit

Friends And Related Symbol Documentation

◆ RendererMaterialPBR

template<typename ValueType >
friend class RendererMaterialPBR
friend

Member Data Documentation

◆ mDidChangeImageConnection

template<typename ValueType >
EventConnection CeresEngine::RendererMaterialPBR::Property< ValueType >::mDidChangeImageConnection
private

◆ sampler

template<typename ValueType >
GPUSamplerPtr CeresEngine::RendererMaterialPBR::Property< ValueType >::sampler

A descriptor that describes how material sampling should be done.


The documentation for this class was generated from the following file: