Castor3D 0.16.0
Multiplatform 3D engine
|
An offset and range of a GpuBuffer. More...
#include <GpuBufferOffset.hpp>
Public Member Functions | |
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 |
Public Attributes | |
GpuBufferBase * | buffer {} |
VkBufferUsageFlags | target {} |
VkMemoryPropertyFlags | memory {} |
MemChunk | chunk {} |
An offset and range of a GpuBuffer.
|
defaultnoexcept |
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
References castor3d::createClearableOutputStorageBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
References castor3d::createInOutStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
References castor3d::createInputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
|
inline |
References castor3d::createOutputStoragePassBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
References castor3d::createUniformPassBinding(), castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::buffer, and castor3d::GpuBufferBase::getBuffer().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::buffer, and castor3d::GpuBufferBase::getBuffer().
Referenced by 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(), and castor3d::GpuBufferOffsetT< DataT >::getUniformBinding().
|
inline |
References castor3d::MemChunk::askedSize, and castor3d::GpuBufferOffsetT< DataT >::chunk.
Referenced by castor3d::GpuBufferOffsetT< DataT >::getData().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::buffer, castor3d::GpuBufferOffsetT< DataT >::getCount(), castor3d::GpuBufferBase::getDatas(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor::makeArrayView().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::chunk, and castor3d::MemChunk::offset.
Referenced by 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(), and castor3d::GpuBufferOffsetT< DataT >::markDirty().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::buffer.
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::buffer.
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::chunk, and castor3d::MemChunk::size.
Referenced by 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(), and castor3d::GpuBufferOffsetT< DataT >::markDirty().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::getBuffer(), castor3d::GpuBufferOffsetT< DataT >::getOffset(), and castor3d::GpuBufferOffsetT< DataT >::getSize().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::getSize(), and castor3d::GpuBufferOffsetT< DataT >::markDirty().
Referenced by castor3d::GpuBufferOffsetT< DataT >::markDirty().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::buffer, castor3d::GpuBufferOffsetT< DataT >::getOffset(), castor3d::GpuBufferOffsetT< DataT >::getSize(), and castor3d::GpuBufferBase::markDirty().
|
inlineexplicit |
References castor3d::GpuBufferOffsetT< DataT >::buffer, and castor3d::GpuBufferBase::hasBuffer().
|
inline |
References castor3d::GpuBufferOffsetT< DataT >::buffer.
GpuBufferBase* castor3d::GpuBufferOffsetT< DataT >::buffer {} |
Referenced by 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(), and castor3d::GpuBufferOffsetT< DataT >::setPool().
MemChunk castor3d::GpuBufferOffsetT< DataT >::chunk {} |
VkMemoryPropertyFlags castor3d::GpuBufferOffsetT< DataT >::memory {} |
VkBufferUsageFlags castor3d::GpuBufferOffsetT< DataT >::target {} |