Castor3D 0.17.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::shader::ReflectionRefraction Struct Reference

#include <GlslOutputComponents.hpp>

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

Public Member Functions

C3D_API ReflectionRefraction (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled)
 
C3D_API ReflectionRefraction (sdw::ShaderWriter &writer)
 
C3D_API void registerDebug (DebugOutputCategory const &debugOutput) const
 

Public Attributes

sdw::Vec3 diffuseReflection
 
sdw::Vec3 specularReflection
 
sdw::Vec3 diffuseTransmission
 
sdw::Vec3 specularTransmission
 
sdw::Vec3 coating
 
sdw::Vec4 sheen
 

Constructor & Destructor Documentation

◆ ReflectionRefraction() [1/2]

C3D_API castor3d::shader::ReflectionRefraction::ReflectionRefraction ( sdw::ShaderWriter & writer,
sdw::expr::ExprPtr expr,
bool enabled )

◆ ReflectionRefraction() [2/2]

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

Member Function Documentation

◆ registerDebug()

C3D_API void castor3d::shader::ReflectionRefraction::registerDebug ( DebugOutputCategory const & debugOutput) const

Member Data Documentation

◆ coating

sdw::Vec3 castor3d::shader::ReflectionRefraction::coating

◆ diffuseReflection

sdw::Vec3 castor3d::shader::ReflectionRefraction::diffuseReflection

◆ diffuseTransmission

sdw::Vec3 castor3d::shader::ReflectionRefraction::diffuseTransmission

◆ sheen

sdw::Vec4 castor3d::shader::ReflectionRefraction::sheen

◆ specularReflection

sdw::Vec3 castor3d::shader::ReflectionRefraction::specularReflection

◆ specularTransmission

sdw::Vec3 castor3d::shader::ReflectionRefraction::specularTransmission

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