|
Unravel Engine C++ Reference
|
Performs GGX prefiltering on six 2D face textures to produce a filtered cubemap. More...
#include <prefilter_pass.h>
Classes | |
| struct | run_params |
Public Member Functions | |
| auto | init (rtti::context &ctx) -> bool |
| Initialize shaders. Call once after bgfx::init() and asset registration. | |
| auto | run (gfx::render_view &rview, const run_params ¶ms) -> gfx::texture::ptr |
| Execute prefilter. Returns the filtered cubemap (output_cube or created internally). | |
| auto | run_compute (gfx::render_view &rview, const run_params ¶ms) -> gfx::texture::ptr |
| Execute prefilter using compute shader. Returns the filtered cubemap. | |
Performs GGX prefiltering on six 2D face textures to produce a filtered cubemap.
Definition at line 14 of file prefilter_pass.h.
| auto unravel::prefilter_pass::init | ( | rtti::context & | ctx | ) | -> bool |
Initialize shaders. Call once after bgfx::init() and asset registration.
Definition at line 10 of file prefilter_pass.cpp.
| auto unravel::prefilter_pass::run | ( | gfx::render_view & | rview, |
| const run_params & | params ) -> gfx::texture::ptr |
Execute prefilter. Returns the filtered cubemap (output_cube or created internally).
Definition at line 19 of file prefilter_pass.cpp.
| auto unravel::prefilter_pass::run_compute | ( | gfx::render_view & | rview, |
| const run_params & | params ) -> gfx::texture::ptr |
Execute prefilter using compute shader. Returns the filtered cubemap.
Definition at line 24 of file prefilter_pass.cpp.