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

#include <GlslMaterial.hpp>

Collaboration diagram for castor3d::shader::SssProfiles:
Collaboration graph
[legend]

Public Member Functions

C3D_API SssProfiles (sdw::ShaderWriter &writer)
 
C3D_API SssProfiles (sdw::ShaderWriter &writer, uint32_t binding, uint32_t set, bool enable=true)
 
C3D_API void declare (uint32_t binding, uint32_t set)
 
C3D_API SssProfile getProfile (sdw::UInt const &index) const
 

Protected Attributes

sdw::ShaderWriter & m_writer
 
std::unique_ptr< sdw::ArraySsboT< SssProfile > > m_ssbo
 

Constructor & Destructor Documentation

◆ SssProfiles() [1/2]

C3D_API castor3d::shader::SssProfiles::SssProfiles ( sdw::ShaderWriter &  writer)
explicit

◆ SssProfiles() [2/2]

C3D_API castor3d::shader::SssProfiles::SssProfiles ( sdw::ShaderWriter &  writer,
uint32_t  binding,
uint32_t  set,
bool  enable = true 
)
explicit

Member Function Documentation

◆ declare()

C3D_API void castor3d::shader::SssProfiles::declare ( uint32_t  binding,
uint32_t  set 
)

◆ getProfile()

C3D_API SssProfile castor3d::shader::SssProfiles::getProfile ( sdw::UInt const &  index) const

Member Data Documentation

◆ m_ssbo

std::unique_ptr< sdw::ArraySsboT< SssProfile > > castor3d::shader::SssProfiles::m_ssbo
protected

◆ m_writer

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

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