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

#include <GlslTextureAnimation.hpp>

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

Public Member Functions

C3D_API TextureAnimations (sdw::ShaderWriter &writer, uint32_t binding, uint32_t set, bool enable=true)
 
TextureTransformData getTextureAnimation (sdw::UInt const &index) const
 
- Public Member Functions inherited from castor3d::shader::BufferT< TextureTransformData >
 BufferT (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true, ParamsT &&... params)
 
TextureTransformData getData (sdw::UInt const &index, ParamsT &&... params) const
 
- Public Member Functions inherited from castor3d::shader::BufferBase
 BufferBase (sdw::ShaderWriter &writer, castor::MbString blockName, castor::MbString variableName, uint32_t binding, uint32_t set, bool enabled=true)
 
sdw::UInt getFirstCount () const
 
sdw::UInt getSecondCount () const
 
sdw::UInt getThirdCount () const
 
sdw::UInt getFourthCount () const
 
sdw::UInt getCount () const
 
bool isEnabled () const noexcept
 
sdw::ShaderWriter * getWriter () const noexcept
 

Additional Inherited Members

- Protected Attributes inherited from castor3d::shader::BufferBase
sdw::ShaderWriter & m_writer
 
castor::RawUniquePtr< sdw::StorageBuffer > m_ssbo
 
castor::MbString m_variableName
 

Constructor & Destructor Documentation

◆ TextureAnimations()

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

Member Function Documentation

◆ getTextureAnimation()

TextureTransformData castor3d::shader::TextureAnimations::getTextureAnimation ( sdw::UInt const & index) const
inline

References castor3d::shader::BufferT< DataT >::getData().

Here is the call graph for this function:

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