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

Classes

struct  castor3d::PassMasks
 
struct  castor3d::SubmeshAnimationBuffer
 

Namespaces

namespace  castor3d
 

Submesh

enum class  castor3d::SubmeshData : uint8_t {
  castor3d::eIndex = 0 , castor3d::ePositions = 1 , castor3d::eNormals = 2 , castor3d::eTangents = 3 ,
  castor3d::eBitangents = 4 , castor3d::eTexcoords0 = 5 , castor3d::eTexcoords1 = 6 , castor3d::eTexcoords2 = 7 ,
  castor3d::eTexcoords3 = 8 , castor3d::eColours = 9 , castor3d::eOtherMin = 10 , castor3d::eSkin = eOtherMin ,
  castor3d::ePassMasks = 11 , castor3d::eVelocity = 12 , castor3d::eMeshlets = 13 , castor3d::eCount ,
  castor3d::eMin = eIndex
}
 Lists the supported data kinds for a submesh. More...
 
enum class  castor3d::MorphData : uint32_t {
  castor3d::ePositions = 0 , castor3d::eNormals = 1 , castor3d::eTangents = 2 , castor3d::eBitangents = 3 ,
  castor3d::eTexcoords0 = 4 , castor3d::eTexcoords1 = 5 , castor3d::eTexcoords2 = 6 , castor3d::eTexcoords3 = 7 ,
  castor3d::eColours = 8 , castor3d::eCount , castor3d::eMin = ePositions
}
 Lists the supported morphing kinds for a submesh. More...
 
enum class  castor3d::MorphFlag : uint32_t {
  castor3d::eNone = 0x00 , castor3d::ePositions = 0x01 << size_t( MorphData::ePositions ) , castor3d::eNormals = 0x01 << size_t( MorphData::eNormals ) , castor3d::eTangents = 0x01 << size_t( MorphData::eTangents ) ,
  castor3d::eBitangents = 0x01 << size_t( MorphData::eBitangents) , castor3d::eTexcoords0 = 0x01 << size_t( MorphData::eTexcoords0 ) , castor3d::eTexcoords1 = 0x01 << size_t( MorphData::eTexcoords1 ) , castor3d::eTexcoords2 = 0x01 << size_t( MorphData::eTexcoords2 ) ,
  castor3d::eTexcoords3 = 0x01 << size_t( MorphData::eTexcoords3 ) , castor3d::eColours = 0x01 << size_t( MorphData::eColours ) , castor3d::eAllBase = ( 0x0001 << int( MorphData::eCount ) ) - 1
}
 Flags to determine what morphing is enabled on a submesh. More...
 
using castor3d::SubmeshComponentID = uint32_t
 
using castor3d::SubmeshComponentCombineID = uint16_t
 
using castor3d::SubmeshComponentFlag = uint32_t
 
using castor3d::SubmeshComponentFlagsSet = castor::Set< SubmeshComponentFlag >
 
using castor3d::MorphFlags = castor::FlagCombination< MorphFlag >
 
using castor3d::SubmeshBoundingBoxList = castor::Vector< castor::Pair< Submesh const *, castor::BoundingBox > >
 
castor::String castor3d::getName (SubmeshData value)
 
constexpr uint32_t castor3d::getSize (SubmeshData value)
 
constexpr SubmeshComponentFlag castor3d::makeSubmeshComponentFlag (SubmeshComponentID componentId) noexcept
 
constexpr SubmeshComponentID castor3d::splitSubmeshComponentFlag (SubmeshComponentFlag flag) noexcept
 
castor::String castor3d::getName (MorphData value)
 
 castor3d::CU_DeclareSmartPtr (castor3d, Submesh, C3D_API)
 
 castor3d::CU_DeclareVector (SubmeshUPtr, SubmeshPtr)
 Submesh pointer array.
 
 castor3d::CU_DeclareMap (Submesh const *, castor::BoundingBox, SubmeshBoundingBox)
 
 castor3d::CU_DeclareMap (Submesh const *, castor::BoundingSphere, SubmeshBoundingSphere)
 
 castor3d::CU_DeclareMap (uint32_t, castor::Vector< float >, SubmeshTargetWeight)
 
C3D_API Submeshcastor3d::getComponentSubmesh (SubmeshComponent const &component)
 
C3D_API castor::String const & castor3d::getSubmeshComponentType (SubmeshComponent const &component)