Castor3D 0.16.0
Multiplatform 3D engine
|
#include <GlslAppendBuffer.hpp>
Public Member Functions | |
C3D_API | AppendBufferBase (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true) |
C3D_API sdw::UInt | incrementCount () const |
sdw::UInt32 | getCount () const |
bool | isEnabled () const noexcept |
sdw::ShaderWriter * | getWriter () const noexcept |
Protected Attributes | |
sdw::ShaderWriter & | m_writer |
castor::RawUniquePtr< sdw::StorageBuffer > | m_ssbo |
castor::RawUniquePtr< sdw::UInt32 > | m_count |
castor::MbString | m_variableName |
C3D_API castor3d::shader::AppendBufferBase::AppendBufferBase | ( | sdw::ShaderWriter & | writer, |
castor::MbString | blockName, | ||
castor::MbString | variableName, | ||
uint32_t | binding, | ||
uint32_t | set, | ||
bool | enabled = true ) |
|
inline |
References m_count.
|
inlinenoexcept |
References m_writer.
C3D_API sdw::UInt castor3d::shader::AppendBufferBase::incrementCount | ( | ) | const |
Referenced by castor3d::shader::AppendBufferT< DataT >::appendData(), castor3d::shader::AppendBufferT< DataT >::appendData(), and castor3d::shader::AppendBufferT< DataT >::appendData().
|
inlinenoexcept |
References m_ssbo.
Referenced by castor3d::shader::AppendBufferT< DataT >::AppendBufferT().
|
protected |
Referenced by getCount().
|
protected |
Referenced by castor3d::shader::AppendBufferT< DataT >::AppendBufferT(), castor3d::shader::AppendBufferT< DataT >::appendData(), castor3d::shader::AppendBufferT< DataT >::appendData(), castor3d::shader::AppendBufferT< DataT >::appendData(), castor3d::shader::AppendBufferT< DataT >::getData(), and isEnabled().
|
protected |
|
protected |