Castor3D 0.16.0
Multiplatform 3D engine
Classes | List of all members
castor3d::TextureUnitCache Class Reference

#include <TextureCache.hpp>

Inheritance diagram for castor3d::TextureUnitCache:
Inheritance graph
[legend]
Collaboration diagram for castor3d::TextureUnitCache:
Collaboration graph
[legend]

Classes

struct  ThreadData
 

Public Member Functions

Construction / Destruction.

C3D_API TextureUnitCache (Engine &engine, crg::ResourcesCache &resources)
 

Texture combinations registration.

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
 

General functions.

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

Texture handling functions.

C3D_API TextureDatagetSourceData (TextureSourceInfo const &sourceInfo)
 

Texture unit handling functions.

C3D_API TextureUnitRPtr getTextureUnit (TextureUnitData &unitData)
 
C3D_API TextureUnitDatagetSourceData (TextureSourceInfo const &sourceInfo, PassTextureConfig const &config, TextureAnimationUPtr animation)
 

Getters.

ashes::DescriptorSetLayout * getDescriptorLayout () const
 
ashes::DescriptorPool * getDescriptorPool () const
 
ashes::DescriptorSet * getDescriptorSet () const
 
auto begin () const
 
auto end () const
 
- Public Member Functions inherited from castor::OwnedBy< Engine >
Engine * getOwner () const
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< Engine >
 OwnedBy (Engine &owner)
 Constructor.
 

Constructor & Destructor Documentation

◆ TextureUnitCache()

C3D_API castor3d::TextureUnitCache::TextureUnitCache ( Engine & engine,
crg::ResourcesCache & resources )

Member Function Documentation

◆ begin()

auto castor3d::TextureUnitCache::begin ( ) const
inline

◆ cleanup()

C3D_API void castor3d::TextureUnitCache::cleanup ( )

◆ clear()

C3D_API void castor3d::TextureUnitCache::clear ( )

◆ end()

auto castor3d::TextureUnitCache::end ( ) const
inline

◆ 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() [1/2]

C3D_API TextureData & castor3d::TextureUnitCache::getSourceData ( TextureSourceInfo const & sourceInfo)

◆ getSourceData() [2/2]

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

◆ getTextureCombine()

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

◆ getTextureCombineID()

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

◆ getTextureUnit()

C3D_API TextureUnitRPtr castor3d::TextureUnitCache::getTextureUnit ( TextureUnitData & unitData)

◆ initialise()

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

◆ 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)

◆ upload()

C3D_API void castor3d::TextureUnitCache::upload ( UploadData & uploader)

The documentation for this class was generated from the following file: