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

Classes

struct  castor3d::PtrCacheTraitsT< Sampler, castor::String >
 
struct  castor3d::TextureSourceInfoHasher
 
struct  castor3d::PassTextureConfigHasher
 

Namespaces

namespace  castor3d
 

Functions

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

Texture

enum class  castor3d::TextureSpace : uint16_t {
  castor3d::eNone = 0x0000 , castor3d::eNormalised = 0x0001 << 0 , castor3d::eYInverted = 0x0001 << 1 , castor3d::eColour = 0x0001 << 2 ,
  castor3d::eDepth = 0x0001 << 3 , castor3d::eTangentSpace = 0x0001 << 4 , castor3d::eObjectSpace = 0x0001 << 5 , castor3d::eWorldSpace = 0x0001 << 6 ,
  castor3d::eViewSpace = 0x0001 << 7 , castor3d::eClipSpace = 0x0001 << 8 , castor3d::eStencil = 0x0001 << 9 , castor3d::eAllowSRGB = 0x0001 << 10
}
 Lists the possible spaces for a texture. More...
 
enum class  castor3d::CubeMapFace : uint8_t {
  castor3d::ePositiveX = 0 , castor3d::eNegativeX = 1 , castor3d::ePositiveY = 2 , castor3d::eNegativeY = 3 ,
  castor3d::ePositiveZ = 4 , castor3d::eNegativeZ = 5 , castor3d::eCount , castor3d::eMin = ePositiveX
}
 Cube map faces. More...
 
using castor3d::TextureSpaces = castor::FlagCombination< TextureSpace >
 
using castor3d::TextureFlagConfigurations = castor::Array< TextureFlagConfiguration, 4u >
 
using castor3d::TextureUnitDatas = castor::Vector< TextureUnitDataUPtr >
 
using castor3d::TextureUnitDataRefs = castor::Vector< TextureUnitDataRPtr >
 
using castor3d::TextureUnitDataSet = castor::Map< PassComponentTextureFlag, TextureUnitDataRPtr >
 
using castor3d::OnTextureUnitChangedFunction = castor::Function< void( TextureUnit const & ) >
 
using castor3d::OnTextureUnitChanged = castor::SignalT< OnTextureUnitChangedFunction >
 
using castor3d::OnTextureUnitChangedConnection = OnTextureUnitChanged::connection
 
using castor3d::SamplerCacheTraits = PtrCacheTraitsT< Sampler, castor::String >
 
using castor3d::SamplerCache
 
using castor3d::SamplerPtr = SamplerCacheTraits::ElementPtrT
 
using castor3d::SamplerObs = SamplerCacheTraits::ElementObsT
 
C3D_API castor::String castor3d::getName (TextureSpace value)
 
C3D_API castor::String castor3d::getName (TextureSpaces value)
 
C3D_API castor::String castor3d::getName (CubeMapFace value)
 
 castor3d::CU_DeclareSmartPtr (castor3d, Sampler, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, TextureData, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, TextureLayout, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, TextureSource, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, TextureSourceInfo, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, TextureUnit, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, TextureUnitData, C3D_API)
 
 castor3d::CU_DeclareSmartPtr (castor3d, TextureView, C3D_API)
 
 castor3d::CU_DeclareVector (TextureUnit, TextureUnit)
 TextureUnit array.
 
castor::OutputStreamcastor3d::operator<< (castor::OutputStream &stream, castor::ImageLayout const &rhs)
 
castor::OutputStreamcastor3d::operator<< (castor::OutputStream &stream, castor::Image const &rhs)
 
castor::OutputStreamcastor3d::operator<< (castor::OutputStream &stream, TextureLayout const &layout)
 
C3D_API bool castor3d::operator== (TextureSourceInfo const &lhs, TextureSourceInfo const &rhs) noexcept
 
bool castor3d::operator!= (TextureSourceInfo const &lhs, TextureSourceInfo const &rhs) noexcept
 
C3D_API bool castor3d::operator== (PassTextureConfig const &lhs, PassTextureConfig const &rhs) noexcept
 
bool castor3d::operator!= (PassTextureConfig const &lhs, PassTextureConfig const &rhs) noexcept
 
C3D_API castor::Imagecastor3d::getBufferImage (Engine &engine, castor::String const &name, castor::String const &type, castor::ByteArray const &data)
 
C3D_API castor::Imagecastor3d::getFileImage (Engine &engine, castor::String const &name, castor::Path const &folder, castor::Path const &relative)
 
C3D_API TextureLayoutUPtr castor3d::createTextureLayout (Engine const &engine, castor::Path const &relative, castor::Path const &folder)
 
C3D_API TextureLayoutUPtr castor3d::createTextureLayout (Engine const &engine, castor::String const &name, castor::PxBufferBaseUPtr buffer, bool isStatic=false)
 
C3D_API uint32_t castor3d::getMipLevels (VkExtent3D const &extent, VkFormat format)