Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::DepthOfField_circleOfConfusion_pix Class Reference


Stores a signed, scaled circle of confusion radius into the output buffer, reading from a depth buffer or linear camera space Z buffer. More...

Public Member Functions

void main ()
 

Public Attributes

float farBlurryPlaneZ
 
float farScale
 
float farSharpPlaneZ
 
uniform float focusPlaneZ
 
float nearBlurryPlaneZ
 
float nearScale
 
uniform float nearSharpPlaneZ
 
out vec4 result
 
uniform float scale
 
uniform int2 trimBandThickness
 Trim this many pixels off all sides. More...
 

Detailed Description


Stores a signed, scaled circle of confusion radius into the output buffer, reading from a depth buffer or linear camera space Z buffer.

Optionally packs the color buffer into the RGB channels.

Member Function Documentation

◆ main()

void glsl::DepthOfField_circleOfConfusion_pix::main ( void  )
inline

Member Data Documentation

◆ farBlurryPlaneZ

float glsl::DepthOfField_circleOfConfusion_pix::farBlurryPlaneZ

◆ farScale

float glsl::DepthOfField_circleOfConfusion_pix::farScale

◆ farSharpPlaneZ

float glsl::DepthOfField_circleOfConfusion_pix::farSharpPlaneZ

◆ focusPlaneZ

uniform float glsl::DepthOfField_circleOfConfusion_pix::focusPlaneZ

◆ nearBlurryPlaneZ

float glsl::DepthOfField_circleOfConfusion_pix::nearBlurryPlaneZ

◆ nearScale

float glsl::DepthOfField_circleOfConfusion_pix::nearScale

◆ nearSharpPlaneZ

uniform float glsl::DepthOfField_circleOfConfusion_pix::nearSharpPlaneZ

◆ result

out vec4 glsl::DepthOfField_circleOfConfusion_pix::result

◆ scale

uniform float glsl::DepthOfField_circleOfConfusion_pix::scale

◆ trimBandThickness

uniform int2 glsl::DepthOfField_circleOfConfusion_pix::trimBandThickness

Trim this many pixels off all sides.


documentation generated on Wed Nov 24 2021 08:02:03 using doxygen 1.8.15