Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
fbo_scale Struct Reference

FBO parameters. More...

#include <shaderpreset.h>

Public Attributes

bool srgb_fbo
 sRGB framebuffer
 
bool fp_fbo
 Float framebuffer.
 
fbo_scale_axis scale_x
 Scaling parameters for X axis.
 
fbo_scale_axis scale_y
 Scaling parameters for Y axis.
 

Detailed Description

FBO parameters.

Member Data Documentation

◆ fp_fbo

bool fbo_scale::fp_fbo

Float framebuffer.

This parameter defines if the pass should be rendered to a 32-bit floating point buffer. This only takes effect if the pass is actually rendered to an FBO. This is useful for shaders which have to store FBO values outside the range [0, 1].

◆ scale_x

fbo_scale_axis fbo_scale::scale_x

Scaling parameters for X axis.

◆ scale_y

fbo_scale_axis fbo_scale::scale_y

Scaling parameters for Y axis.

◆ srgb_fbo

bool fbo_scale::srgb_fbo

sRGB framebuffer


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