Castor3D 0.16.0
Multiplatform 3D engine
|
#include <TextureCache.hpp>
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 TextureData & | getSourceData (TextureSourceInfo const &sourceInfo) |
Texture unit handling functions. | |
C3D_API TextureUnitRPtr | getTextureUnit (TextureUnitData &unitData) |
C3D_API TextureUnitData & | getSourceData (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. | |
C3D_API castor3d::TextureUnitCache::TextureUnitCache | ( | Engine & | engine, |
crg::ResourcesCache & | resources ) |
|
inline |
C3D_API void castor3d::TextureUnitCache::cleanup | ( | ) |
C3D_API void castor3d::TextureUnitCache::clear | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
C3D_API TextureData & castor3d::TextureUnitCache::getSourceData | ( | TextureSourceInfo const & | sourceInfo | ) |
C3D_API TextureUnitData & castor3d::TextureUnitCache::getSourceData | ( | TextureSourceInfo const & | sourceInfo, |
PassTextureConfig const & | config, | ||
TextureAnimationUPtr | animation ) |
C3D_API TextureCombine castor3d::TextureUnitCache::getTextureCombine | ( | TextureCombineID | id | ) | const |
C3D_API TextureCombineID castor3d::TextureUnitCache::getTextureCombineID | ( | TextureCombine const & | combine | ) | const |
C3D_API TextureUnitRPtr castor3d::TextureUnitCache::getTextureUnit | ( | TextureUnitData & | unitData | ) |
C3D_API void castor3d::TextureUnitCache::initialise | ( | RenderDevice const & | device | ) |
C3D_API TextureCombine castor3d::TextureUnitCache::registerTextureCombine | ( | Pass const & | pass | ) |
C3D_API TextureCombineID castor3d::TextureUnitCache::registerTextureCombine | ( | TextureCombine & | combine | ) |
C3D_API void castor3d::TextureUnitCache::stopLoad | ( | ) |
C3D_API void castor3d::TextureUnitCache::update | ( | GpuUpdater & | updater | ) |
C3D_API void castor3d::TextureUnitCache::upload | ( | UploadData & | uploader | ) |