|
| PbrSGLightMaterial (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled) |
|
C3D_API | PbrLightMaterial (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled) |
|
C3D_API void | create (sdw::Vec3 const &albedo, sdw::Vec4 const &data3, sdw::Vec4 const &data2, Material const &material) override |
|
C3D_API void | create (sdw::Vec3 const &albedo, sdw::Vec4 const &data3, sdw::Vec4 const &data2, sdw::Float const &ambient) override |
|
C3D_API void | create (Material const &material) override |
|
C3D_API void | output (sdw::Vec4 &outData2, sdw::Vec4 &outData3) const override |
|
C3D_API sdw::Vec3 | getAmbient (sdw::Vec3 const &ambientLight) const override |
|
C3D_API void | adjustDirectSpecular (sdw::Vec3 &directSpecular) const override |
|
C3D_API sdw::Vec3 | getIndirectAmbient (sdw::Vec3 const &indirectAmbient) const override |
|
C3D_API sdw::Float | getMetalness () const override |
|
C3D_API sdw::Float | getRoughness () const override |
|
bool | isSpecularGlossiness () const |
|
C3D_API | LightMaterial (sdw::ShaderWriter &writer, sdw::expr::ExprPtr expr, bool enabled) |
|
| SDW_DeclStructInstance (C3D_API, LightMaterial) |
|
virtual C3D_API void | create (sdw::Vec3 const &albedo, sdw::Vec4 const &data3, sdw::Vec4 const &data2, Material const &material)=0 |
|
virtual C3D_API void | create (sdw::Vec3 const &albedo, sdw::Vec4 const &data3, sdw::Vec4 const &data2, sdw::Float const &ambient=0.0_f)=0 |
|
virtual C3D_API void | create (Material const &material)=0 |
|
virtual C3D_API void | output (sdw::Vec4 &outData2, sdw::Vec4 &outData3) const =0 |
|
virtual C3D_API sdw::Vec3 | getAmbient (sdw::Vec3 const &ambientLight) const =0 |
|
virtual C3D_API void | adjustDirectSpecular (sdw::Vec3 &directSpecular) const =0 |
|
virtual C3D_API sdw::Vec3 | getIndirectAmbient (sdw::Vec3 const &indirectAmbient) const =0 |
|
virtual C3D_API sdw::Float | getMetalness () const =0 |
|
virtual C3D_API sdw::Float | getRoughness () const =0 |
|