Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Protected Attributes | List of all members
castor3d::shader::AppendBufferBase Class Reference

#include <GlslAppendBuffer.hpp>

Inheritance diagram for castor3d::shader::AppendBufferBase:
Inheritance graph
[legend]
Collaboration diagram for castor3d::shader::AppendBufferBase:
Collaboration graph
[legend]

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
 

Constructor & Destructor Documentation

◆ AppendBufferBase()

C3D_API castor3d::shader::AppendBufferBase::AppendBufferBase ( sdw::ShaderWriter & writer,
castor::MbString blockName,
castor::MbString variableName,
uint32_t binding,
uint32_t set,
bool enabled = true )

Member Function Documentation

◆ getCount()

sdw::UInt32 castor3d::shader::AppendBufferBase::getCount ( ) const
inline

References m_count.

◆ getWriter()

sdw::ShaderWriter * castor3d::shader::AppendBufferBase::getWriter ( ) const
inlinenoexcept

References m_writer.

◆ incrementCount()

C3D_API sdw::UInt castor3d::shader::AppendBufferBase::incrementCount ( ) const

◆ isEnabled()

bool castor3d::shader::AppendBufferBase::isEnabled ( ) const
inlinenoexcept

References m_ssbo.

Referenced by castor3d::shader::AppendBufferT< DataT >::AppendBufferT().

Here is the caller graph for this function:

Member Data Documentation

◆ m_count

castor::RawUniquePtr< sdw::UInt32 > castor3d::shader::AppendBufferBase::m_count
protected

Referenced by getCount().

◆ m_ssbo

castor::RawUniquePtr< sdw::StorageBuffer > castor3d::shader::AppendBufferBase::m_ssbo
protected

◆ m_variableName

castor::MbString castor3d::shader::AppendBufferBase::m_variableName
protected

◆ m_writer

sdw::ShaderWriter& castor3d::shader::AppendBufferBase::m_writer
protected

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