iridescence
Loading...
Searching...
No Matches
glk::ScreenSpaceAttributeEstimation Class Reference

#include <screen_scape_attribute_estimation.hpp>

Inheritance diagram for glk::ScreenSpaceAttributeEstimation:
Collaboration diagram for glk::ScreenSpaceAttributeEstimation:

Public Types

enum class  BufferType {
  NONE , DEPTH , POSITION , SMOOTHED_POSITION_X ,
  SMOOTHED_POSITION , NORMAL , SSAO , SMOOTHED_SSAO_X ,
  SMOOTHED_SSAO
}

Public Member Functions

 ScreenSpaceAttributeEstimation (const Eigen::Vector2i &size=Eigen::Vector2i(1920, 1080), BufferType rendering_type=BufferType::NONE)
virtual ~ScreenSpaceAttributeEstimation () override
virtual void set_size (const Eigen::Vector2i &size) override
void set_smooth_normal (bool smooth_normal)
void set_rendering_buffer (BufferType buffer_type)
const glk::Texture & position () const
const glk::Texture & normal () const
const glk::Texture & occlusion () const
virtual void draw (const TextureRenderer &renderer, const glk::Texture &color_texture, const glk::Texture &depth_texture, const TextureRendererInput::Ptr &input, glk::FrameBuffer *frame_buffer=nullptr) override
Public Member Functions inherited from glk::ScreenEffect
 ScreenEffect ()
virtual ~ScreenEffect ()

Member Enumeration Documentation

◆ BufferType

Enumerator
NONE 
DEPTH 
POSITION 
SMOOTHED_POSITION_X 
SMOOTHED_POSITION 
NORMAL 
SSAO 
SMOOTHED_SSAO_X 
SMOOTHED_SSAO 

Constructor & Destructor Documentation

◆ ScreenSpaceAttributeEstimation()

glk::ScreenSpaceAttributeEstimation::ScreenSpaceAttributeEstimation ( const Eigen::Vector2i & size = Eigen::Vector2i(1920, 1080),
BufferType rendering_type = BufferType::NONE )

◆ ~ScreenSpaceAttributeEstimation()

virtual glk::ScreenSpaceAttributeEstimation::~ScreenSpaceAttributeEstimation ( )
overridevirtual

Member Function Documentation

◆ draw()

virtual void glk::ScreenSpaceAttributeEstimation::draw ( const TextureRenderer & renderer,
const glk::Texture & color_texture,
const glk::Texture & depth_texture,
const TextureRendererInput::Ptr & input,
glk::FrameBuffer * frame_buffer = nullptr )
overridevirtual

Implements glk::ScreenEffect.

◆ normal()

const glk::Texture & glk::ScreenSpaceAttributeEstimation::normal ( ) const

◆ occlusion()

const glk::Texture & glk::ScreenSpaceAttributeEstimation::occlusion ( ) const

◆ position()

const glk::Texture & glk::ScreenSpaceAttributeEstimation::position ( ) const

◆ set_rendering_buffer()

void glk::ScreenSpaceAttributeEstimation::set_rendering_buffer ( BufferType buffer_type)

◆ set_size()

virtual void glk::ScreenSpaceAttributeEstimation::set_size ( const Eigen::Vector2i & size)
overridevirtual

Reimplemented from glk::ScreenEffect.

◆ set_smooth_normal()

void glk::ScreenSpaceAttributeEstimation::set_smooth_normal ( bool smooth_normal)

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