Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Typedefs | Functions
ChunkData.hpp File Reference

Classes

struct  castor3d::OldInterleavedVertexT< T >
 
struct  castor3d::InterleavedVertexNoMikk
 

Namespaces

namespace  castor3d
 

Typedefs

using castor3d::InterleavedVertexNoMikkArray = castor::Vector< InterleavedVertexNoMikk >
 

Functions

static uint8_t const * castor3d::getBuffer (bool const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (bool &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (int8_t const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (int8_t &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (uint8_t const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (uint8_t &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (int16_t const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (int16_t &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (uint16_t const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (uint16_t &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (int32_t const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (int32_t &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (uint32_t const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (uint32_t &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (int64_t const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (int64_t &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (uint64_t const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (uint64_t &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (float const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (float &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (double const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (double &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t const * castor3d::getBuffer (long double const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (long double &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T >
static size_t castor3d::getDataSize (T const &value)
 Retrieves the value binary size.
 
template<typename T >
static uint8_t const * castor3d::getBuffer (castor::Vector< T > const &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T >
static uint8_t * castor3d::getBuffer (castor::Vector< T > &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T >
static size_t castor3d::getDataSize (castor::Vector< T > const &value)
 Retrieves the value binary size.
 
template<typename T , size_t Count>
static uint8_t const * castor3d::getBuffer (castor::Array< T, Count > const &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , size_t Count>
static uint8_t * castor3d::getBuffer (castor::Array< T, Count > &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , size_t Count>
static size_t castor3d::getDataSize (castor::Array< T, Count > const &value)
 Retrieves the value binary size.
 
template<typename T , uint32_t Count>
static uint8_t const * castor3d::getBuffer (castor::Point< T, Count > const &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , uint32_t Count>
static uint8_t * castor3d::getBuffer (castor::Point< T, Count > &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , uint32_t Count>
static size_t castor3d::getDataSize (castor::Point< T, Count > const &value)
 Retrieves the value binary size.
 
template<typename T , uint32_t Count>
static uint8_t const * castor3d::getBuffer (castor::Coords< T, Count > const &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , uint32_t Count>
static uint8_t * castor3d::getBuffer (castor::Coords< T, Count > &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , uint32_t Count>
static size_t castor3d::getDataSize (castor::Coords< T, Count > const &value)
 Retrieves the value binary size.
 
template<typename T , uint32_t Columns, uint32_t Rows>
static uint8_t const * castor3d::getBuffer (castor::Matrix< T, Columns, Rows > const &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , uint32_t Columns, uint32_t Rows>
static uint8_t * castor3d::getBuffer (castor::Matrix< T, Columns, Rows > &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , uint32_t Columns, uint32_t Rows>
static size_t castor3d::getDataSize (castor::Matrix< T, Columns, Rows > const &value)
 Retrieves the value binary size.
 
template<typename T , uint32_t Count>
static uint8_t const * castor3d::getBuffer (castor::SquareMatrix< T, Count > const &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , uint32_t Count>
static uint8_t * castor3d::getBuffer (castor::SquareMatrix< T, Count > &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T , uint32_t Count>
static size_t castor3d::getDataSize (castor::SquareMatrix< T, Count > const &value)
 Retrieves the value binary size.
 
static uint8_t const * castor3d::getBuffer (castor::RgbColour const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (castor::RgbColour &value)
 Retrieves the beginning of the buffer for given value.
 
static size_t castor3d::getDataSize (castor::RgbColour const &value)
 Retrieves the value binary size.
 
static uint8_t const * castor3d::getBuffer (castor::RgbaColour const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (castor::RgbaColour &value)
 Retrieves the beginning of the buffer for given value.
 
static size_t castor3d::getDataSize (castor::RgbaColour const &value)
 Retrieves the value binary size.
 
static uint8_t const * castor3d::getBuffer (castor::Size const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (castor::Size &value)
 Retrieves the beginning of the buffer for given value.
 
static size_t castor3d::getDataSize (castor::Size const &value)
 Retrieves the value binary size.
 
static uint8_t const * castor3d::getBuffer (castor::Position const &value)
 Retrieves the beginning of the buffer for given value.
 
static uint8_t * castor3d::getBuffer (castor::Position &value)
 Retrieves the beginning of the buffer for given value.
 
static size_t castor3d::getDataSize (castor::Position const &value)
 Retrieves the value binary size.
 
template<typename T >
static uint8_t const * castor3d::getBuffer (castor::QuaternionT< T > const &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T >
static uint8_t * castor3d::getBuffer (castor::QuaternionT< T > &value)
 Retrieves the beginning of the buffer for given value.
 
template<typename T >
static size_t castor3d::getDataSize (castor::QuaternionT< T > const &value)
 Retrieves the value binary size.
 
static void castor3d::prepareChunkData (bool const &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (int8_t const &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (uint8_t const &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (int16_t &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (uint16_t &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (int32_t &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (uint32_t &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (int64_t &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (uint64_t &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (float &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (double &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (long double &value)
 Sets given value to big endian.
 
template<typename T >
static void castor3d::prepareChunkData (castor::Vector< T > &values)
 Sets given value to big endian.
 
template<typename T , size_t Count>
static void castor3d::prepareChunkData (castor::Array< T, Count > &values)
 Sets given value to big endian.
 
template<typename T , uint32_t Count>
static void castor3d::prepareChunkData (castor::SquareMatrix< T, Count > &value)
 Sets given value to big endian.
 
template<typename T , uint32_t Count>
static void castor3d::prepareChunkData (castor::Point< T, Count > &value)
 Sets given value to big endian.
 
template<typename T , uint32_t Count>
static void castor3d::prepareChunkData (castor::Coords< T, Count > &value)
 Sets given value to big endian.
 
template<typename T >
static void castor3d::prepareChunkData (castor::QuaternionT< T > &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (castor::ColourComponent &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (castor::RgbColour &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (castor::RgbaColour &value)
 Sets given value to big endian.
 
template<typename T >
static void castor3d::prepareChunkData (OldInterleavedVertexT< T > &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (InterleavedVertexNoMikk &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (InterleavedVertex &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (SubmeshAnimationBuffer &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (FaceIndices &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (LineIndices &value)
 Sets given value to big endian.
 
static void castor3d::prepareChunkData (VertexBoneData &value)
 Sets given value to big endian.
 
template<typename DataT >
static void castor3d::prepareChunkDataT (BinaryChunk const *chunk, DataT &value)
 Prepares chunk data for read/write.
 
template<typename T >
T & castor3d::chunkEndianToSystemEndian (BinaryChunk const &chunk, T &value)