#include <ObjectBufferOffset.hpp>
|
| ObjectBufferOffset ()=default |
|
| ObjectBufferOffset (size_t hash) |
|
| operator bool () const |
|
GpuBufferChunk & | getBufferChunk (SubmeshData data) |
|
GpuBufferChunk const & | getBufferChunk (SubmeshData data) const |
|
uint16_t | getID () const |
|
void | reset () |
|
ashes::BufferBase const & | getBuffer (SubmeshData data) const |
|
bool | hasData (SubmeshData data) const |
|
uint32_t | getAskedSize (SubmeshData data) const |
|
template<typename DataT > |
uint32_t | getCount (SubmeshData data) const |
|
VkDeviceSize | getOffset (SubmeshData data) const |
|
template<typename DataT > |
uint32_t | getFirst (SubmeshData data) const |
|
template<typename IndexT > |
uint32_t | getFirstIndex () const |
|
template<typename PositionT > |
uint32_t | getFirstVertex () const |
|
void | createUniformPassBinding (SubmeshData data, crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
|
void | createInputStoragePassBinding (SubmeshData data, crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
|
void | createInOutStoragePassBinding (SubmeshData data, crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
|
void | createOutputStoragePassBinding (SubmeshData data, crg::FramePass &pass, uint32_t binding, castor::String const &name) const |
|
ashes::WriteDescriptorSet | getUniformBinding (SubmeshData data, uint32_t binding) const |
|
ashes::WriteDescriptorSet | getStorageBinding (SubmeshData data, uint32_t binding) const |
|
◆ ObjectBufferOffset() [1/2]
castor3d::ObjectBufferOffset::ObjectBufferOffset |
( |
| ) |
|
|
default |
◆ ObjectBufferOffset() [2/2]
castor3d::ObjectBufferOffset::ObjectBufferOffset |
( |
size_t | hash | ) |
|
|
inlineexplicit |
◆ createInOutStoragePassBinding()
void castor3d::ObjectBufferOffset::createInOutStoragePassBinding |
( |
SubmeshData | data, |
|
|
crg::FramePass & | pass, |
|
|
uint32_t | binding, |
|
|
castor::String const & | name ) const |
|
inline |
◆ createInputStoragePassBinding()
void castor3d::ObjectBufferOffset::createInputStoragePassBinding |
( |
SubmeshData | data, |
|
|
crg::FramePass & | pass, |
|
|
uint32_t | binding, |
|
|
castor::String const & | name ) const |
|
inline |
◆ createOutputStoragePassBinding()
void castor3d::ObjectBufferOffset::createOutputStoragePassBinding |
( |
SubmeshData | data, |
|
|
crg::FramePass & | pass, |
|
|
uint32_t | binding, |
|
|
castor::String const & | name ) const |
|
inline |
◆ createUniformPassBinding()
void castor3d::ObjectBufferOffset::createUniformPassBinding |
( |
SubmeshData | data, |
|
|
crg::FramePass & | pass, |
|
|
uint32_t | binding, |
|
|
castor::String const & | name ) const |
|
inline |
◆ getAskedSize()
uint32_t castor3d::ObjectBufferOffset::getAskedSize |
( |
SubmeshData | data | ) |
const |
|
inline |
◆ getBuffer()
ashes::BufferBase const & castor3d::ObjectBufferOffset::getBuffer |
( |
SubmeshData | data | ) |
const |
|
inline |
◆ getBufferChunk() [1/2]
References buffers.
Referenced by createInOutStoragePassBinding(), createInputStoragePassBinding(), createOutputStoragePassBinding(), createUniformPassBinding(), getAskedSize(), getBuffer(), getCount(), getFirst(), getOffset(), getStorageBinding(), getUniformBinding(), and hasData().
◆ getBufferChunk() [2/2]
◆ getCount()
template<typename DataT >
uint32_t castor3d::ObjectBufferOffset::getCount |
( |
SubmeshData | data | ) |
const |
|
inline |
◆ getFirst()
template<typename DataT >
uint32_t castor3d::ObjectBufferOffset::getFirst |
( |
SubmeshData | data | ) |
const |
|
inline |
◆ getFirstIndex()
template<typename IndexT >
uint32_t castor3d::ObjectBufferOffset::getFirstIndex |
( |
| ) |
const |
|
inline |
◆ getFirstVertex()
template<typename PositionT >
uint32_t castor3d::ObjectBufferOffset::getFirstVertex |
( |
| ) |
const |
|
inline |
◆ getID()
uint16_t castor3d::ObjectBufferOffset::getID |
( |
| ) |
const |
|
inline |
◆ getOffset()
VkDeviceSize castor3d::ObjectBufferOffset::getOffset |
( |
SubmeshData | data | ) |
const |
|
inline |
◆ getStorageBinding()
ashes::WriteDescriptorSet castor3d::ObjectBufferOffset::getStorageBinding |
( |
SubmeshData | data, |
|
|
uint32_t | binding ) const |
|
inline |
◆ getUniformBinding()
ashes::WriteDescriptorSet castor3d::ObjectBufferOffset::getUniformBinding |
( |
SubmeshData | data, |
|
|
uint32_t | binding ) const |
|
inline |
◆ hasData()
bool castor3d::ObjectBufferOffset::hasData |
( |
SubmeshData | data | ) |
const |
|
inline |
◆ operator bool()
castor3d::ObjectBufferOffset::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ reset()
void castor3d::ObjectBufferOffset::reset |
( |
| ) |
|
|
inline |
◆ buffers
◆ hash
size_t castor3d::ObjectBufferOffset::hash {} |
◆ id
uint16_t castor3d::ObjectBufferOffset::id {} |
The documentation for this struct was generated from the following file: