|
SleakEngine 0.1.0
C++23 multi-backend game engine
|
#include <OpenGLIBL.hpp>
Public Member Functions | |
| OpenGLIBL ()=default | |
| ~OpenGLIBL () | |
| void | Bind () const |
| GLuint | BRDFLUT () const |
| void | Cleanup () |
| bool | Initialize (GLuint sourceCubemap) |
| Bakes the irradiance map, prefiltered specular map, and BRDF LUT from a source cubemap. | |
| GLuint | IrradianceCubemap () const |
| bool | IsInitialized () const |
| GLuint | PrefilterCubemap () const |
Static Public Attributes | |
| static constexpr uint32_t | BRDF_LUT_SIZE = 512 |
| static constexpr uint32_t | IRRADIANCE_SIZE = 32 |
| static constexpr uint32_t | PREFILTER_MIPS = 5 |
| static constexpr uint32_t | PREFILTER_SIZE = 128 |
| static constexpr uint32_t | UNIT_BRDF_LUT = 16 |
| static constexpr uint32_t | UNIT_IRRADIANCE = 14 |
| static constexpr uint32_t | UNIT_PREFILTER = 15 |
Definition at line 21 of file OpenGLIBL.hpp.
|
default |
| Sleak::RenderEngine::OpenGLIBL::~OpenGLIBL | ( | ) |
Definition at line 58 of file OpenGLIBL.cpp.
| void Sleak::RenderEngine::OpenGLIBL::Bind | ( | ) | const |
Definition at line 332 of file OpenGLIBL.cpp.
|
inline |
Definition at line 48 of file OpenGLIBL.hpp.
| void Sleak::RenderEngine::OpenGLIBL::Cleanup | ( | ) |
Definition at line 60 of file OpenGLIBL.cpp.
| 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.
|
inline |
Definition at line 46 of file OpenGLIBL.hpp.
|
inline |
Definition at line 40 of file OpenGLIBL.hpp.
|
inline |
Definition at line 47 of file OpenGLIBL.hpp.
|
staticconstexpr |
Definition at line 26 of file OpenGLIBL.hpp.
|
staticconstexpr |
Definition at line 23 of file OpenGLIBL.hpp.
|
staticconstexpr |
Definition at line 25 of file OpenGLIBL.hpp.
|
staticconstexpr |
Definition at line 24 of file OpenGLIBL.hpp.
|
staticconstexpr |
Definition at line 31 of file OpenGLIBL.hpp.
|
staticconstexpr |
Definition at line 29 of file OpenGLIBL.hpp.
|
staticconstexpr |
Definition at line 30 of file OpenGLIBL.hpp.