Blender V5.0
blender::eevee::ScatterRect Struct Reference

#include <eevee_depth_of_field_shared.hh>

Public Attributes

float4 color_and_coc [4]
float2 offset
float2 half_extent

Detailed Description

Definition at line 60 of file eevee_depth_of_field_shared.hh.

Member Data Documentation

◆ color_and_coc

float4 blender::eevee::ScatterRect::color_and_coc[4]

Color and CoC of the 4 pixels the scatter sprite represents.

Definition at line 62 of file eevee_depth_of_field_shared.hh.

◆ half_extent

float2 blender::eevee::ScatterRect::half_extent

Rect half extent in half pixel space.

Definition at line 66 of file eevee_depth_of_field_shared.hh.

◆ offset

float2 blender::eevee::ScatterRect::offset

Rect center position in half pixel space.

Definition at line 64 of file eevee_depth_of_field_shared.hh.


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