|
enum | castor3d::MaterialType {
castor3d::MaterialType::ePhong,
castor3d::MaterialType::eMetallicRoughness,
castor3d::MaterialType::eSpecularGlossiness,
castor3d::MaterialType::eCount,
castor3d::MaterialType::eMin = ePhong,
castor3d::MaterialType::eMax =eCount-1
} |
| Enumération des types de matétiaux supportés. Plus de détails...
|
|
enum | castor3d::TextureFlag : uint16_t {
castor3d::TextureFlag::eNone = 0x0000,
castor3d::TextureFlag::eHeight = 0x0001,
castor3d::TextureFlag::eOpacity = 0x0002,
castor3d::TextureFlag::eNormal = 0x0004,
castor3d::TextureFlag::eEmissive = 0x0008,
castor3d::TextureFlag::eOcclusion = 0x0010,
castor3d::TextureFlag::eTransmittance = 0x0020,
castor3d::TextureFlag::eDiffuse = 0x0040,
castor3d::TextureFlag::eAlbedo = eDiffuse,
castor3d::TextureFlag::eSpecular = 0x0080,
castor3d::TextureFlag::eMetalness = eSpecular,
castor3d::TextureFlag::eGlossiness = 0x0100,
castor3d::TextureFlag::eShininess = eGlossiness,
castor3d::TextureFlag::eRoughness = eGlossiness,
castor3d::TextureFlag::eAll = 0x1FF,
castor3d::TextureFlag::eAllButOpacity = eAll & ~( eOpacity ),
castor3d::TextureFlag::eAllButColourAndOpacity = eAllButOpacity & ~( eDiffuse ),
castor3d::TextureFlag::eAllButNormalAndOpacity = eAllButOpacity & ~( eNormal )
} |
| Indicateurs des canaux de texture. Plus de détails...
|
|
using | castor3d::TextureFlags = castor::FlagCombination< TextureFlag > |
|
using | castor3d::TextureFlagsArray = std::vector< TextureFlagsId > |
|
using | castor3d::OnMaterialChangedFunction = std::function< void(Material const &) > |
|
using | castor3d::OnMaterialChanged = castor::Signal< OnMaterialChangedFunction > |
|
using | castor3d::OnMaterialChangedConnection = OnMaterialChanged::connection |
|
C3D_API castor::String | castor3d::getName (MaterialType value) |
|
C3D_API castor::String | castor3d::getName (TextureFlag value, MaterialType material) |
|
C3D_API bool | castor3d::operator== (TextureFlagsId const &lhs, TextureFlagsId const &rhs) |
|
| castor3d::CU_DeclareSmartPtr (Material) |
|
| castor3d::CU_DeclareVector (MaterialSPtr, MaterialPtr) |
| Material pointer array. Plus de détails...
|
|
| castor3d::CU_DeclareMap (castor::String, MaterialSPtr, MaterialPtrStr) |
| Material pointer map, sorted by name. Plus de détails...
|
|
| castor3d::CU_DeclareMap (uint32_t, MaterialSPtr, MaterialPtrUInt) |
| Material pointer map. Plus de détails...
|
|
C3D_API VkFormat | castor3d::convert (castor::PixelFormat format) |
|
C3D_API castor::PixelFormat | castor3d::convert (VkFormat format) |
|