Castor3D 0.15.0
Multiplatform 3D engine
|
#include <TextureCache.hpp>
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 TextureUnitRPtr | getTexture (TextureUnitData &unitData) |
C3D_API TextureUnitData & | getSourceData (TextureSourceInfo const &sourceInfo, PassTextureConfig const &config, TextureAnimationUPtr animation) |
C3D_API TextureUnitData & | 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) |
Getters. | |
ashes::DescriptorSetLayout * | getDescriptorLayout () const |
ashes::DescriptorPool * | getDescriptorPool () const |
ashes::DescriptorSet * | getDescriptorSet () const |
C3D_API castor3d::TextureUnitCache::~TextureUnitCache | ( | ) |
C3D_API void castor3d::TextureUnitCache::cleanup | ( | ) |
C3D_API void castor3d::TextureUnitCache::clear | ( | ) |
|
inline |
|
inline |
|
inline |
C3D_API TextureUnitData & castor3d::TextureUnitCache::getSourceData | ( | TextureSourceInfo const & | sourceInfo, |
PassTextureConfig const & | config, | ||
TextureAnimationUPtr | animation | ||
) |
C3D_API TextureUnitRPtr castor3d::TextureUnitCache::getTexture | ( | TextureUnitData & | unitData | ) |
C3D_API TextureCombine castor3d::TextureUnitCache::getTextureCombine | ( | TextureCombineID | id | ) | const |
C3D_API TextureCombineID castor3d::TextureUnitCache::getTextureCombineID | ( | TextureCombine const & | combine | ) | const |
C3D_API void castor3d::TextureUnitCache::initialise | ( | RenderDevice const & | device | ) |
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 | ||
) |
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 | ) |