Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces
MaterialModule.hpp File Reference

Classes

struct  castor3d::PtrCacheTraitsT< Material, castor::String >
 
struct  castor3d::TextureCombine
 

Namespaces

namespace  castor3d
 
namespace  castor
 

Functions

Frame
 castor3d::CU_DeclareSmartPtr (castor3d, FrameListenerCache, C3D_API)
 

Material

enum class  castor3d::TextureFlag : uint8_t { castor3d::eNone = 0x00u , castor3d::eAll = 0xFFu }
 Texture flags. More...
 
enum class  castor3d::PassFlag : uint16_t { castor3d::eNone = 0x0000 , castor3d::eAll = 0xFFu }
 Pass specific flags. More...
 
using castor3d::TextureFlags = castor::FlagCombination< TextureFlag >
 
using castor3d::PassComponentID = uint16_t
 
using castor3d::TextureCombineID = uint16_t
 
using castor3d::PassComponentTextureFlag = uint32_t
 
using castor3d::TextureFlagsSet = castor::Set< PassComponentTextureFlag >
 
using castor3d::PassFlags = castor::FlagCombination< PassFlag >
 
using castor3d::PassComponentCombineID = uint16_t
 
using castor3d::PassComponentFlag = uint32_t
 
using castor3d::PassComponentFlagsSet = castor::Set< PassComponentFlag >
 
using castor3d::PassTypeID = uint16_t
 
using castor3d::OnMaterialChangedFunction = castor::Function< void( Material const & ) >
 
using castor3d::OnMaterialChanged = castor::SignalT< OnMaterialChangedFunction >
 
using castor3d::OnMaterialChangedConnection = OnMaterialChanged::connection
 
using castor3d::MaterialCacheTraits = PtrCacheTraitsT< Material, castor::String >
 
using castor3d::MaterialCache
 
using castor3d::MaterialPtr = MaterialCacheTraits::ElementPtrT
 
using castor3d::MaterialObs = MaterialCacheTraits::ElementObsT
 
constexpr PassComponentTextureFlag castor3d::makeTextureFlag (PassComponentID componentId, TextureFlags componentTextureFlag) noexcept
 
constexpr castor::Pair< PassComponentID, TextureFlagscastor3d::splitTextureFlag (PassComponentTextureFlag flag) noexcept
 
constexpr PassComponentFlag castor3d::makePassComponentFlag (PassComponentID componentId, PassFlags componentTextureFlag) noexcept
 
constexpr castor::Pair< PassComponentID, PassFlagscastor3d::splitPassComponentFlag (PassComponentFlag flag) noexcept
 
 castor3d::CU_DeclareSmartPtr (castor3d, Material, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, MaterialImporter, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, MaterialImporterFactory, C3D_API)
 
C3D_API VkFormat castor3d::convert (castor::PixelFormat format)
 
C3D_API castor::PixelFormat castor3d::convert (VkFormat format)
 
 castor3d::CU_DeclareVector (MaterialObs, MaterialPtr)
 Material pointer array.
 
 castor3d::CU_DeclareMap (castor::String, MaterialObs, MaterialPtrStr)
 Material pointer map, sorted by name.
 
 castor3d::CU_DeclareMap (uint32_t, MaterialObs, MaterialPtrUInt)
 Material pointer map.
 
C3D_API bool castor3d::operator== (TextureCombine const &lhs, TextureCombine const &rhs)
 
C3D_API TextureFlagsSet::const_iterator castor3d::checkFlag (TextureCombine const &lhs, PassComponentTextureFlag rhs)
 
C3D_API bool castor3d::hasAny (TextureFlagsSet const &lhs, PassComponentTextureFlag rhs)
 
C3D_API bool castor3d::hasAny (TextureCombine const &lhs, PassComponentTextureFlag rhs)
 
C3D_API bool castor3d::hasIntersect (PassComponentTextureFlag lhs, PassComponentTextureFlag rhs)
 
C3D_API void castor3d::remFlags (TextureCombine &lhs, PassComponentTextureFlag rhs)
 
C3D_API void castor3d::remFlags (TextureCombine &lhs, TextureFlagsSet const &rhs)
 
C3D_API void castor3d::addFlags (TextureCombine &lhs, PassComponentTextureFlag rhs)
 
C3D_API void castor3d::addFlags (TextureCombine &lhs, TextureFlagsSet const &rhs)
 
C3D_API bool castor3d::contains (TextureCombine const &cont, TextureCombine const &test)