CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MaterialModel.hpp File Reference

Go to the source code of this file.

Classes

struct  CeresEngine::MaterialPropertySwizzle< ValueType >
 A structure that describes how channels of the input texture should be mapped in the material. More...
 
struct  CeresEngine::MaterialPropertySwizzle< TVector< D, ValueType > >
 A specialization for MaterialPropertySwizzle for TVector values. More...
 
struct  CeresEngine::MaterialPropertySwizzle< TColor< ValueType > >
 A specialization for MaterialPropertySwizzle for TColor values. More...
 
struct  CeresEngine::MaterialProperty< ValueType, TextureType >
 A material property with an associated value and texture. More...
 
struct  CeresEngine::PBRMaterialModel
 A material model that represents a PBR surface. More...
 

Namespaces

namespace  CeresEngine
 

Typedefs

using CeresEngine::FloatMaterialPropertySwizzle = MaterialPropertySwizzle< float >
 A material property swizzle for a float property.
 
using CeresEngine::DoubleMaterialPropertySwizzle = MaterialPropertySwizzle< double >
 A material property swizzle for a double property.
 
using CeresEngine::Vector2MaterialPropertySwizzle = MaterialPropertySwizzle< Vector2 >
 A material property swizzle for a Vector2 property.
 
using CeresEngine::Vector3MaterialPropertySwizzle = MaterialPropertySwizzle< Vector3 >
 A material property swizzle for a Vector3 property.
 
using CeresEngine::Vector4MaterialPropertySwizzle = MaterialPropertySwizzle< Vector4 >
 A material property swizzle for a Vector4 property.
 
using CeresEngine::ColorMaterialPropertySwizzle = MaterialPropertySwizzle< Color >
 A material property swizzle for a Color property.
 
using CeresEngine::FloatMaterialProperty = MaterialProperty< float >
 A material property with an associated float value and texture.
 
using CeresEngine::DoubleMaterialProperty = MaterialProperty< double >
 A material property with an associated float value and texture.
 
using CeresEngine::Vector2MaterialProperty = MaterialProperty< Vector2 >
 A material property with an associated Vector2 value and texture.
 
using CeresEngine::Vector3MaterialProperty = MaterialProperty< Vector3 >
 A material property with an associated Vector3 value and texture.
 
using CeresEngine::Vector4MaterialProperty = MaterialProperty< Vector4 >
 A material property with an associated Vector4 value and texture.
 
using CeresEngine::ColorMaterialProperty = MaterialProperty< Color >
 A material property with an associated Color value and texture.
 

Enumerations

enum class  CeresEngine::MaterialNormalMapSpace { CeresEngine::Tangent , CeresEngine::Object , CeresEngine::World }
 Specifies the kind of normal map used by a material. More...
 

Functions

template<typename ValueType >
constexpr bool CeresEngine::operator== (const MaterialPropertySwizzle< ValueType > &lhs, const MaterialPropertySwizzle< ValueType > &rhs) noexcept
 Compares two MaterialPropertySwizzle for equality.
 
template<typename ValueType >
constexpr bool CeresEngine::operator!= (const MaterialPropertySwizzle< ValueType > &lhs, const MaterialPropertySwizzle< ValueType > &rhs) noexcept
 Compares two MaterialPropertySwizzle for inequality.
 
template<typename ValueType , typename TextureType >
constexpr bool CeresEngine::operator== (const MaterialProperty< ValueType, TextureType > &lhs, const MaterialProperty< ValueType, TextureType > &rhs) noexcept
 Compares two MaterialProperty for equality.
 
template<typename ValueType , typename TextureType >
constexpr bool CeresEngine::operator!= (const MaterialProperty< ValueType, TextureType > &lhs, const MaterialProperty< ValueType, TextureType > &rhs) noexcept
 Compares two MaterialProperty for inequality.
 
constexpr bool CeresEngine::operator== (const PBRMaterialModel &lhs, const PBRMaterialModel &rhs) noexcept
 Compares two PBRMaterialModel for equality.
 
constexpr bool CeresEngine::operator!= (const PBRMaterialModel &lhs, const PBRMaterialModel &rhs) noexcept
 Compares two PBRMaterialModel for inequality.