Castor3D 0.14.0
Multiplatform 3D engine
|
#include <ObjectBufferOffset.hpp>
Classes | |
struct | GpuBufferChunk |
Fonctions membres publiques | |
operator bool () const | |
GpuBufferChunk & | getBufferChunk (SubmeshFlag flag) |
GpuBufferChunk const & | getBufferChunk (SubmeshFlag flag) const |
void | reset () |
void | directUpload (SubmeshFlag flag, ashes::Queue const &queue, ashes::CommandPool const &commandPool, VkAccessFlags dstAccessFlags, VkPipelineStageFlags dstPipelineFlags) |
ashes::BufferBase const & | getBuffer (SubmeshFlag flag) const |
bool | hasData (SubmeshFlag flag) const |
template<typename DataT > | |
castor::ArrayView< DataT > | getData (SubmeshFlag flag) const |
uint32_t | getSize (SubmeshFlag flag) const |
template<typename DataT > | |
uint32_t | getCount (SubmeshFlag flag) const |
VkDeviceSize | getOffset (SubmeshFlag flag) const |
template<typename DataT > | |
uint32_t | getFirst (SubmeshFlag flag) const |
template<typename IndexT > | |
uint32_t | getFirstIndex () const |
template<typename PositionT > | |
uint32_t | getFirstVertex () const |
void | markDirty (SubmeshFlag flag, VkAccessFlags dstAccessFlags=VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, VkPipelineStageFlags dstPipelineFlags=VK_PIPELINE_STAGE_VERTEX_INPUT_BIT) const |
void | createUniformPassBinding (SubmeshFlag flag, crg::FramePass &pass, uint32_t binding, std::string const &name) const |
void | createInputStoragePassBinding (SubmeshFlag flag, crg::FramePass &pass, uint32_t binding, std::string const &name) const |
void | createInOutStoragePassBinding (SubmeshFlag flag, crg::FramePass &pass, uint32_t binding, std::string const &name) const |
void | createOutputStoragePassBinding (SubmeshFlag flag, crg::FramePass &pass, uint32_t binding, std::string const &name) const |
ashes::WriteDescriptorSet | getUniformBinding (SubmeshFlag flag, uint32_t binding) const |
ashes::WriteDescriptorSet | getStorageBinding (SubmeshFlag flag, uint32_t binding) const |
Attributs publics | |
size_t | hash {} |
std::array< GpuBufferChunk, size_t(SubmeshData::eCount) > | buffers {} |
|
inline |
Références castor3d::ObjectBufferOffset::GpuBufferChunk::createInOutStoragePassBinding(), et getBufferChunk().
|
inline |
Références castor3d::ObjectBufferOffset::GpuBufferChunk::createInputStoragePassBinding(), et getBufferChunk().
|
inline |
Références castor3d::ObjectBufferOffset::GpuBufferChunk::createOutputStoragePassBinding(), et getBufferChunk().
|
inline |
Références castor3d::ObjectBufferOffset::GpuBufferChunk::createUniformPassBinding(), et getBufferChunk().
|
inline |
Références castor3d::ObjectBufferOffset::GpuBufferChunk::directUpload(), et getBufferChunk().
|
inline |
Références castor3d::ObjectBufferOffset::GpuBufferChunk::getBuffer(), et getBufferChunk().
|
inline |
Références buffers, et castor3d::getIndex().
Référencé par createInOutStoragePassBinding(), createInputStoragePassBinding(), createOutputStoragePassBinding(), createUniformPassBinding(), directUpload(), getBuffer(), getCount(), getData(), getFirst(), getOffset(), getSize(), getStorageBinding(), getUniformBinding(), hasData(), et markDirty().
|
inline |
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::getCount().
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::getData().
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::getFirst().
|
inline |
Références castor3d::eIndex.
|
inline |
Références castor3d::ePositions.
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::getOffset().
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::getSize().
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::getStorageBinding().
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::getUniformBinding().
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::hasData().
Référencé par operator bool().
|
inline |
Références getBufferChunk(), et castor3d::ObjectBufferOffset::GpuBufferChunk::markDirty().
|
inlineexplicit |
|
inline |
Références buffers.
std::array< GpuBufferChunk, size_t( SubmeshData::eCount ) > castor3d::ObjectBufferOffset::buffers {} |
Référencé par getBufferChunk(), et reset().
size_t castor3d::ObjectBufferOffset::hash {} |