Castor3D 0.13.0
Multiplatform 3D engine
Fonctions membres publiques | Attributs publics | Liste de tous les membres
Référence du modèle de la structure castor3d::GpuBufferOffsetT< DataT >

Un intervalle d'un GpuBuffer. Plus de détails...

#include <GpuBufferOffset.hpp>

Graphe d'héritage de castor3d::GpuBufferOffsetT< DataT >:
Inheritance graph
[légende]
Graphe de collaboration de castor3d::GpuBufferOffsetT< DataT >:
Collaboration graph
[légende]

Fonctions membres publiques

void setPool (GpuBufferBase &pool)
 
 operator bool () const
 
GpuBufferBase const & getPool () const
 
GpuBufferBasegetPool ()
 
ashes::Buffer< uint8_t > const & getBuffer () const
 
ashes::Buffer< uint8_t > & getBuffer ()
 
VkDeviceSize getCount () const
 
VkDeviceSize getSize () const
 
VkDeviceSize getOffset () const
 
castor::ArrayView< DataT > getData ()
 
void markDirty (VkAccessFlags dstAccessFlags, VkPipelineStageFlags dstPipelineFlags) const
 
void createUniformPassBinding (crg::FramePass &pass, uint32_t binding, std::string const &name) const
 
void createInputStoragePassBinding (crg::FramePass &pass, uint32_t binding, std::string const &name) const
 
void createInOutStoragePassBinding (crg::FramePass &pass, uint32_t binding, std::string const &name) const
 
void createOutputStoragePassBinding (crg::FramePass &pass, uint32_t binding, std::string const &name) const
 
ashes::WriteDescriptorSet getUniformBinding (uint32_t binding) const
 
ashes::WriteDescriptorSet getStorageBinding (uint32_t binding) const
 

Attributs publics

GpuBufferBasebuffer {}
 
VkBufferUsageFlags target {}
 
VkMemoryPropertyFlags memory {}
 
MemChunk chunk {}
 

Description détaillée

template<typename DataT>
struct castor3d::GpuBufferOffsetT< DataT >

Un intervalle d'un GpuBuffer.

Remarques

Documentation des fonctions membres

◆ createInOutStoragePassBinding()

template<typename DataT >
void castor3d::GpuBufferOffsetT< DataT >::createInOutStoragePassBinding ( crg::FramePass &  pass,
uint32_t  binding,
std::string const &  name 
) const
inline

◆ createInputStoragePassBinding()

template<typename DataT >
void castor3d::GpuBufferOffsetT< DataT >::createInputStoragePassBinding ( crg::FramePass &  pass,
uint32_t  binding,
std::string const &  name 
) const
inline

◆ createOutputStoragePassBinding()

template<typename DataT >
void castor3d::GpuBufferOffsetT< DataT >::createOutputStoragePassBinding ( crg::FramePass &  pass,
uint32_t  binding,
std::string const &  name 
) const
inline

◆ createUniformPassBinding()

template<typename DataT >
void castor3d::GpuBufferOffsetT< DataT >::createUniformPassBinding ( crg::FramePass &  pass,
uint32_t  binding,
std::string const &  name 
) const
inline

◆ getBuffer() [1/2]

template<typename DataT >
ashes::Buffer< uint8_t > & castor3d::GpuBufferOffsetT< DataT >::getBuffer ( )
inline

Références castor3d::GpuBufferOffsetT< DataT >::buffer, et castor3d::GpuBufferBase::getBuffer().

Voici le graphe d'appel pour cette fonction :

◆ getBuffer() [2/2]

template<typename DataT >
ashes::Buffer< uint8_t > const & castor3d::GpuBufferOffsetT< DataT >::getBuffer ( ) const
inline

◆ getCount()

template<typename DataT >
VkDeviceSize castor3d::GpuBufferOffsetT< DataT >::getCount ( ) const
inline

Références castor3d::MemChunk::askedSize, et castor3d::GpuBufferOffsetT< DataT >::chunk.

Référencé par castor3d::GpuBufferOffsetT< DataT >::getData().

Voici le graphe des appelants de cette fonction :

◆ getData()

template<typename DataT >
castor::ArrayView< DataT > castor3d::GpuBufferOffsetT< DataT >::getData ( )
inline

◆ getOffset()

template<typename DataT >
VkDeviceSize castor3d::GpuBufferOffsetT< DataT >::getOffset ( ) const
inline

◆ getPool() [1/2]

template<typename DataT >
GpuBufferBase & castor3d::GpuBufferOffsetT< DataT >::getPool ( )
inline

◆ getPool() [2/2]

template<typename DataT >
GpuBufferBase const & castor3d::GpuBufferOffsetT< DataT >::getPool ( ) const
inline

◆ getSize()

template<typename DataT >
VkDeviceSize castor3d::GpuBufferOffsetT< DataT >::getSize ( ) const
inline

◆ getStorageBinding()

template<typename DataT >
ashes::WriteDescriptorSet castor3d::GpuBufferOffsetT< DataT >::getStorageBinding ( uint32_t  binding) const
inline

◆ getUniformBinding()

template<typename DataT >
ashes::WriteDescriptorSet castor3d::GpuBufferOffsetT< DataT >::getUniformBinding ( uint32_t  binding) const
inline

◆ markDirty()

template<typename DataT >
void castor3d::GpuBufferOffsetT< DataT >::markDirty ( VkAccessFlags  dstAccessFlags,
VkPipelineStageFlags  dstPipelineFlags 
) const
inline

◆ operator bool()

template<typename DataT >
castor3d::GpuBufferOffsetT< DataT >::operator bool ( ) const
inlineexplicit

Références castor3d::GpuBufferOffsetT< DataT >::buffer, et castor3d::GpuBufferBase::hasBuffer().

Voici le graphe d'appel pour cette fonction :

◆ setPool()

template<typename DataT >
void castor3d::GpuBufferOffsetT< DataT >::setPool ( GpuBufferBase pool)
inline

Documentation des données membres

◆ buffer

template<typename DataT >
GpuBufferBase* castor3d::GpuBufferOffsetT< DataT >::buffer {}

◆ chunk

template<typename DataT >
MemChunk castor3d::GpuBufferOffsetT< DataT >::chunk {}

◆ memory

template<typename DataT >
VkMemoryPropertyFlags castor3d::GpuBufferOffsetT< DataT >::memory {}

◆ target

template<typename DataT >
VkBufferUsageFlags castor3d::GpuBufferOffsetT< DataT >::target {}

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