#include <OpenGLIBL.hpp>
Definition at line 21 of file OpenGLIBL.hpp.
◆ OpenGLIBL()
| Sleak::RenderEngine::OpenGLIBL::OpenGLIBL |
( |
| ) |
|
|
default |
◆ ~OpenGLIBL()
| Sleak::RenderEngine::OpenGLIBL::~OpenGLIBL |
( |
| ) |
|
◆ Bind()
| void Sleak::RenderEngine::OpenGLIBL::Bind |
( |
| ) |
const |
◆ BRDFLUT()
| GLuint Sleak::RenderEngine::OpenGLIBL::BRDFLUT |
( |
| ) |
const |
|
inline |
◆ Cleanup()
| void Sleak::RenderEngine::OpenGLIBL::Cleanup |
( |
| ) |
|
◆ Initialize()
| bool Sleak::RenderEngine::OpenGLIBL::Initialize |
( |
GLuint | sourceCubemap | ) |
|
Bakes the irradiance map, prefiltered specular map, and BRDF LUT from a source cubemap.
Definition at line 95 of file OpenGLIBL.cpp.
◆ IrradianceCubemap()
| GLuint Sleak::RenderEngine::OpenGLIBL::IrradianceCubemap |
( |
| ) |
const |
|
inline |
◆ IsInitialized()
| bool Sleak::RenderEngine::OpenGLIBL::IsInitialized |
( |
| ) |
const |
|
inline |
◆ PrefilterCubemap()
| GLuint Sleak::RenderEngine::OpenGLIBL::PrefilterCubemap |
( |
| ) |
const |
|
inline |
◆ BRDF_LUT_SIZE
| uint32_t Sleak::RenderEngine::OpenGLIBL::BRDF_LUT_SIZE = 512 |
|
staticconstexpr |
◆ IRRADIANCE_SIZE
| uint32_t Sleak::RenderEngine::OpenGLIBL::IRRADIANCE_SIZE = 32 |
|
staticconstexpr |
◆ PREFILTER_MIPS
| uint32_t Sleak::RenderEngine::OpenGLIBL::PREFILTER_MIPS = 5 |
|
staticconstexpr |
◆ PREFILTER_SIZE
| uint32_t Sleak::RenderEngine::OpenGLIBL::PREFILTER_SIZE = 128 |
|
staticconstexpr |
◆ UNIT_BRDF_LUT
| uint32_t Sleak::RenderEngine::OpenGLIBL::UNIT_BRDF_LUT = 16 |
|
staticconstexpr |
◆ UNIT_IRRADIANCE
| uint32_t Sleak::RenderEngine::OpenGLIBL::UNIT_IRRADIANCE = 14 |
|
staticconstexpr |
◆ UNIT_PREFILTER
| uint32_t Sleak::RenderEngine::OpenGLIBL::UNIT_PREFILTER = 15 |
|
staticconstexpr |