Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::render::Pipeline::PbrOptions Struct Reference

Options to use in Pipeline::configureForPbrRendering. More...

#include <OxygenEngine/render/pipeline.h>

Collaboration diagram for oe::render::Pipeline::PbrOptions:
[legend]

Public Attributes

oe::component::Lightinglighting_component
 Lighting component of the scene.
 
glm::ivec2 dimensions
 Final framebuffer dimensions.
 
bool ssao_fixed_size = false
 Use a constant size buffer for SSAO instead of using one based on output buffer dimensions.
 
uint32_t ssao_fixed_height = 600
 When using a constant size buffer for SSAO, this is the default height. Width is computed based on framebuffer ratio.
 
bool add_debug_render = false
 Set to true to a debug pipe for displaying debug data.
 
bool debug_render_flush = true
 If the debug pipe is added, do we need to flush debug objects after rendering.
 

Detailed Description

Member Data Documentation

◆ debug_render_flush

bool oe::render::Pipeline::PbrOptions::debug_render_flush = true

If the debug pipe is added, do we need to flush debug objects after rendering.

Note
You might want to set this to false if you render on multiple outputs during one frame (eg. in VR)

◆ lighting_component

oe::component::Lighting* oe::render::Pipeline::PbrOptions::lighting_component

Lighting component of the scene.

Will be used to fetch lights properties and to fill the refraction texture


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