Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::ObjectBufferOffset::GpuBufferChunk Struct Reference

#include <ObjectBufferOffset.hpp>

Collaboration diagram for castor3d::ObjectBufferOffset::GpuBufferChunk:
Collaboration graph
[legend]

Public Member Functions

ashes::BufferBase const & getBuffer () const
 
bool hasData () const
 
uint32_t getAskedSize () const
 
uint32_t getAllocSize () const
 
template<typename DataT >
uint32_t getCount () const
 
VkDeviceSize getOffset () const
 
template<typename DataT >
uint32_t getFirst () const
 
void reset ()
 
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
 
ashes::WriteDescriptorSet getUniformBinding (uint32_t binding) const
 
ashes::WriteDescriptorSet getStorageBinding (uint32_t binding) const
 

Public Attributes

GpuPackedBaseBufferbuffer {}
 
MemChunk chunk {}
 

Member Function Documentation

◆ createInOutStoragePassBinding()

void castor3d::ObjectBufferOffset::GpuBufferChunk::createInOutStoragePassBinding ( crg::FramePass & pass,
uint32_t binding,
castor::String const & name ) const
inline

References castor3d::createInOutStoragePassBinding(), getAskedSize(), getBuffer(), and getOffset().

Referenced by castor3d::ObjectBufferOffset::createInOutStoragePassBinding().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createInputStoragePassBinding()

void castor3d::ObjectBufferOffset::GpuBufferChunk::createInputStoragePassBinding ( crg::FramePass & pass,
uint32_t binding,
castor::String const & name ) const
inline

References castor3d::createInputStoragePassBinding(), getAskedSize(), getBuffer(), and getOffset().

Referenced by castor3d::ObjectBufferOffset::createInputStoragePassBinding().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createOutputStoragePassBinding()

void castor3d::ObjectBufferOffset::GpuBufferChunk::createOutputStoragePassBinding ( crg::FramePass & pass,
uint32_t binding,
castor::String const & name ) const
inline

References castor3d::createOutputStoragePassBinding(), getAskedSize(), getBuffer(), and getOffset().

Referenced by castor3d::ObjectBufferOffset::createOutputStoragePassBinding().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createUniformPassBinding()

void castor3d::ObjectBufferOffset::GpuBufferChunk::createUniformPassBinding ( crg::FramePass & pass,
uint32_t binding,
castor::String const & name ) const
inline

References castor3d::createUniformPassBinding(), getAskedSize(), getBuffer(), and getOffset().

Referenced by castor3d::ObjectBufferOffset::createUniformPassBinding().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAllocSize()

uint32_t castor3d::ObjectBufferOffset::GpuBufferChunk::getAllocSize ( ) const
inline

References chunk, and castor3d::MemChunk::size.

◆ getAskedSize()

uint32_t castor3d::ObjectBufferOffset::GpuBufferChunk::getAskedSize ( ) const
inline

◆ getBuffer()

ashes::BufferBase const & castor3d::ObjectBufferOffset::GpuBufferChunk::getBuffer ( ) const
inline

◆ getCount()

template<typename DataT >
uint32_t castor3d::ObjectBufferOffset::GpuBufferChunk::getCount ( ) const
inline

References getAskedSize().

Referenced by castor3d::ObjectBufferOffset::getCount().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFirst()

template<typename DataT >
uint32_t castor3d::ObjectBufferOffset::GpuBufferChunk::getFirst ( ) const
inline

References getOffset().

Referenced by castor3d::ObjectBufferOffset::getFirst().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOffset()

VkDeviceSize castor3d::ObjectBufferOffset::GpuBufferChunk::getOffset ( ) const
inline

◆ getStorageBinding()

ashes::WriteDescriptorSet castor3d::ObjectBufferOffset::GpuBufferChunk::getStorageBinding ( uint32_t binding) const
inline

References getAskedSize(), getBuffer(), and getOffset().

Referenced by castor3d::ObjectBufferOffset::getStorageBinding().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getUniformBinding()

ashes::WriteDescriptorSet castor3d::ObjectBufferOffset::GpuBufferChunk::getUniformBinding ( uint32_t binding) const
inline

References getAskedSize(), getBuffer(), and getOffset().

Referenced by castor3d::ObjectBufferOffset::getUniformBinding().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasData()

bool castor3d::ObjectBufferOffset::GpuBufferChunk::hasData ( ) const
inline

References castor3d::MemChunk::askedSize, and chunk.

Referenced by castor3d::ObjectBufferOffset::hasData().

Here is the caller graph for this function:

◆ reset()

void castor3d::ObjectBufferOffset::GpuBufferChunk::reset ( )
inline

Member Data Documentation

◆ buffer

GpuPackedBaseBuffer* castor3d::ObjectBufferOffset::GpuBufferChunk::buffer {}

Referenced by getBuffer(), and reset().

◆ chunk

MemChunk castor3d::ObjectBufferOffset::GpuBufferChunk::chunk {}

The documentation for this struct was generated from the following file: