Castor3D 0.14.0
Multiplatform 3D engine
Classes | Liste de tous les membres
Référence de la classe castor3d::TextureUnitCache

#include <TextureCache.hpp>

Graphe d'héritage de castor3d::TextureUnitCache:
Inheritance graph
[légende]
Graphe de collaboration de castor3d::TextureUnitCache:
Collaboration graph
[légende]

Classes

struct  ThreadData
 

Fonctions membres publiques

Construction / Destruction.

C3D_API TextureUnitCache (Engine &engine)
 
C3D_API ~TextureUnitCache ()
 

Enregistrement de combinaisons de textures.

C3D_API TextureCombine registerTextureCombine (Pass const &pass)
 
C3D_API TextureCombineID registerTextureCombine (TextureCombine combine)
 
C3D_API TextureCombineID getTextureCombineID (TextureCombine const &combine) const
 
C3D_API TextureCombine getTextureCombine (TextureCombineID id) const
 

Fonctions générales.

C3D_API void initialise (RenderDevice const &device)
 
C3D_API void cleanup ()
 
C3D_API void stopLoad ()
 
C3D_API void update (GpuUpdater &updater)
 
C3D_API void notifyPassChange (Pass &pass)
 
C3D_API void preparePass (Pass &pass)
 
C3D_API void clear ()
 

Fonctions de gestion de textures.

C3D_API TextureUnitSPtr getTexture (TextureUnitData &unitData)
 
C3D_API TextureUnitDatagetSourceData (TextureSourceInfo const &sourceInfo, PassTextureConfig const &config, AnimationUPtr animation)
 
C3D_API TextureUnitDatamergeSources (TextureSourceInfo const &lhsSourceInfo, PassTextureConfig const &lhsPassConfig, uint32_t lhsSrcMask, uint32_t lhsDstMask, TextureSourceInfo const &rhsSourceInfo, PassTextureConfig const &rhsPassConfig, uint32_t rhsSrcMask, uint32_t rhsDstMask, castor::String const &name, TextureSourceInfo const &resultSourceInfo, PassTextureConfig const &resultPassConfig)
 

Getters.

ashes::DescriptorSetLayout * getDescriptorLayout () const
 
ashes::DescriptorPool * getDescriptorPool () const
 
ashes::DescriptorSet * getDescriptorSet () const
 

Documentation des constructeurs et destructeur

◆ TextureUnitCache()

C3D_API castor3d::TextureUnitCache::TextureUnitCache ( Engine engine)
explicit

◆ ~TextureUnitCache()

C3D_API castor3d::TextureUnitCache::~TextureUnitCache ( )

Documentation des fonctions membres

◆ cleanup()

C3D_API void castor3d::TextureUnitCache::cleanup ( )

◆ clear()

C3D_API void castor3d::TextureUnitCache::clear ( )

◆ getDescriptorLayout()

ashes::DescriptorSetLayout * castor3d::TextureUnitCache::getDescriptorLayout ( ) const
inline

◆ getDescriptorPool()

ashes::DescriptorPool * castor3d::TextureUnitCache::getDescriptorPool ( ) const
inline

◆ getDescriptorSet()

ashes::DescriptorSet * castor3d::TextureUnitCache::getDescriptorSet ( ) const
inline

◆ getSourceData()

C3D_API TextureUnitData & castor3d::TextureUnitCache::getSourceData ( TextureSourceInfo const &  sourceInfo,
PassTextureConfig const &  config,
AnimationUPtr  animation 
)

◆ getTexture()

C3D_API TextureUnitSPtr castor3d::TextureUnitCache::getTexture ( TextureUnitData unitData)

◆ getTextureCombine()

C3D_API TextureCombine castor3d::TextureUnitCache::getTextureCombine ( TextureCombineID  id) const

◆ getTextureCombineID()

C3D_API TextureCombineID castor3d::TextureUnitCache::getTextureCombineID ( TextureCombine const &  combine) const

◆ initialise()

C3D_API void castor3d::TextureUnitCache::initialise ( RenderDevice const &  device)

◆ mergeSources()

C3D_API TextureUnitData & castor3d::TextureUnitCache::mergeSources ( TextureSourceInfo const &  lhsSourceInfo,
PassTextureConfig const &  lhsPassConfig,
uint32_t  lhsSrcMask,
uint32_t  lhsDstMask,
TextureSourceInfo const &  rhsSourceInfo,
PassTextureConfig const &  rhsPassConfig,
uint32_t  rhsSrcMask,
uint32_t  rhsDstMask,
castor::String const &  name,
TextureSourceInfo const &  resultSourceInfo,
PassTextureConfig const &  resultPassConfig 
)

◆ notifyPassChange()

C3D_API void castor3d::TextureUnitCache::notifyPassChange ( Pass pass)

◆ preparePass()

C3D_API void castor3d::TextureUnitCache::preparePass ( Pass pass)

◆ registerTextureCombine() [1/2]

C3D_API TextureCombine castor3d::TextureUnitCache::registerTextureCombine ( Pass const &  pass)

◆ registerTextureCombine() [2/2]

C3D_API TextureCombineID castor3d::TextureUnitCache::registerTextureCombine ( TextureCombine  combine)

◆ stopLoad()

C3D_API void castor3d::TextureUnitCache::stopLoad ( )

◆ update()

C3D_API void castor3d::TextureUnitCache::update ( GpuUpdater updater)

La documentation de cette classe a été générée à partir du fichier suivant :