OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::ShaderGroup Class Reference

#include <ShaderCommon.hpp>

Public Member Functions

SIV3D_NODISCARD_CXX20 ShaderGroup ()=default
 
SIV3D_NODISCARD_CXX20 ShaderGroup (const Optional< HLSL > &hlsl, const Optional< GLSL > &glsl, const Optional< MSL > &msl, const Optional< ESSL > &essl, const Optional< WGSL > &wgsl)
 
ShaderGroup operator| (const HLSL &hlsl) const
 
ShaderGroup operator| (const GLSL &glsl) const
 
ShaderGroup operator| (const MSL &msl) const
 
ShaderGroup operator| (const ESSL &essl) const
 
ShaderGroup operator| (const WGSL &wgsl) const
 
 operator VertexShader () const
 
 operator PixelShader () const
 
std::tuple< FilePath, String, Array< ConstantBufferBinding > > getParameters () const
 

Constructor & Destructor Documentation

◆ ShaderGroup() [1/2]

SIV3D_NODISCARD_CXX20 s3d::ShaderGroup::ShaderGroup ( )
default

◆ ShaderGroup() [2/2]

SIV3D_NODISCARD_CXX20 s3d::ShaderGroup::ShaderGroup ( const Optional< HLSL > &  hlsl,
const Optional< GLSL > &  glsl,
const Optional< MSL > &  msl,
const Optional< ESSL > &  essl,
const Optional< WGSL > &  wgsl 
)

Member Function Documentation

◆ getParameters()

std::tuple<FilePath, String, Array<ConstantBufferBinding> > s3d::ShaderGroup::getParameters ( ) const

◆ operator PixelShader()

s3d::ShaderGroup::operator PixelShader ( ) const

◆ operator VertexShader()

s3d::ShaderGroup::operator VertexShader ( ) const

◆ operator|() [1/5]

ShaderGroup s3d::ShaderGroup::operator| ( const ESSL essl) const

◆ operator|() [2/5]

ShaderGroup s3d::ShaderGroup::operator| ( const GLSL glsl) const

◆ operator|() [3/5]

ShaderGroup s3d::ShaderGroup::operator| ( const HLSL hlsl) const

◆ operator|() [4/5]

ShaderGroup s3d::ShaderGroup::operator| ( const MSL msl) const

◆ operator|() [5/5]

ShaderGroup s3d::ShaderGroup::operator| ( const WGSL wgsl) const

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