Castor3D 0.16.0
Multiplatform 3D engine
|
Un intervalle d'un GpuBuffer. Plus de détails...
#include <GpuBufferOffset.hpp>
Fonctions membres publiques | |
GpuBufferOffsetT () noexcept=default | |
void | setPool (GpuBufferBase &pool) |
operator bool () const | |
GpuBufferBase const & | getPool () const |
GpuBufferBase & | getPool () |
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 | markDirty (VkDeviceSize size, VkAccessFlags dstAccessFlags, VkPipelineStageFlags dstPipelineFlags) const |
VkDescriptorSetLayoutBinding | createLayoutBinding (uint32_t index, VkShaderStageFlags stages) const |
void | createUniformPassBinding (crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
void | createInputStoragePassBinding (crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
void | createInOutStoragePassBinding (crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
void | createOutputStoragePassBinding (crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
void | createClearableOutputStorageBinding (crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
ashes::WriteDescriptorSet | getUniformBinding (uint32_t binding) const |
ashes::WriteDescriptorSet | getStorageBinding (uint32_t binding) const |
void | createBinding (ashes::DescriptorSet &descriptorSet, VkDescriptorSetLayoutBinding const &binding) const |
Attributs publics | |
GpuBufferBase * | buffer {} |
VkBufferUsageFlags | target {} |
VkMemoryPropertyFlags | memory {} |
MemChunk | chunk {} |
Un intervalle d'un GpuBuffer.
|
defaultnoexcept |
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
Références castor3d::createClearableOutputStorageBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
Références castor3d::createInOutStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
Références castor3d::createInputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
Références castor3d::makeDescriptorSetLayoutBinding().
|
inline |
Références castor3d::createOutputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
Références castor3d::createUniformPassBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::buffer, et castor3d::GpuBufferBase::getBuffer().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::buffer, et castor3d::GpuBufferBase::getBuffer().
Référencé par castor3d::GpuBufferOffsetT< DataT >::createBinding(), castor3d::GpuBufferOffsetT< DataT >::createClearableOutputStorageBinding(), castor3d::GpuBufferOffsetT< DataT >::createInOutStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createInputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createOutputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createUniformPassBinding(), castor3d::GpuBufferOffsetT< DataT >::getStorageBinding(), et castor3d::GpuBufferOffsetT< DataT >::getUniformBinding().
|
inline |
Références castor3d::MemChunk::askedSize, et castor3d::GpuBufferOffsetT< DataT >::chunk.
Référencé par castor3d::GpuBufferOffsetT< DataT >::getData().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::buffer, castor3d::GpuBufferOffsetT< DataT >::getCount(), castor3d::GpuBufferBase::getDatas(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor::makeArrayView().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::chunk, et castor3d::MemChunk::offset.
Référencé par castor3d::GpuBufferOffsetT< DataT >::createBinding(), castor3d::GpuBufferOffsetT< DataT >::createClearableOutputStorageBinding(), castor3d::GpuBufferOffsetT< DataT >::createInOutStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createInputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createOutputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createUniformPassBinding(), castor3d::GpuBufferOffsetT< DataT >::getData(), castor3d::GpuBufferOffsetT< DataT >::getStorageBinding(), castor3d::GpuBufferOffsetT< DataT >::getUniformBinding(), et castor3d::GpuBufferOffsetT< DataT >::markDirty().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::buffer.
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::buffer.
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::chunk, et castor3d::MemChunk::size.
Référencé par castor3d::GpuBufferOffsetT< DataT >::createBinding(), castor3d::GpuBufferOffsetT< DataT >::createClearableOutputStorageBinding(), castor3d::GpuBufferOffsetT< DataT >::createInOutStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createInputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createOutputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::createUniformPassBinding(), castor3d::GpuBufferOffsetT< DataT >::getStorageBinding(), castor3d::GpuBufferOffsetT< DataT >::getUniformBinding(), castor3d::GpuBufferOffsetT< DataT >::markDirty(), et castor3d::GpuBufferOffsetT< DataT >::markDirty().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), et castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::getSize(), et castor3d::GpuBufferOffsetT< DataT >::markDirty().
Référencé par castor3d::GpuBufferOffsetT< DataT >::markDirty().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::buffer, castor3d::GpuBufferOffsetT< DataT >::getOffset(), castor3d::GpuBufferOffsetT< DataT >::getSize(), et castor3d::GpuBufferBase::markDirty().
|
inlineexplicit |
Références castor3d::GpuBufferOffsetT< DataT >::buffer, et castor3d::GpuBufferBase::hasBuffer().
|
inline |
Références castor3d::GpuBufferOffsetT< DataT >::buffer.
GpuBufferBase* castor3d::GpuBufferOffsetT< DataT >::buffer {} |
Référencé par castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getData(), castor3d::GpuBufferOffsetT< DataT >::getPool(), castor3d::GpuBufferOffsetT< DataT >::getPool(), castor3d::GpuBufferOffsetT< DataT >::markDirty(), castor3d::GpuBufferOffsetT< DataT >::operator bool(), et castor3d::GpuBufferOffsetT< DataT >::setPool().
MemChunk castor3d::GpuBufferOffsetT< DataT >::chunk {} |
VkMemoryPropertyFlags castor3d::GpuBufferOffsetT< DataT >::memory {} |
VkBufferUsageFlags castor3d::GpuBufferOffsetT< DataT >::target {} |