Blender V4.3
blender::eevee::ScatterRect Struct Reference

#include <eevee_shader_shared.hh>

Public Attributes

float4 color_and_coc [4]
 
float2 offset
 
float2 half_extent
 

Detailed Description

Definition at line 715 of file eevee_shader_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 717 of file eevee_shader_shared.hh.

◆ half_extent

float2 blender::eevee::ScatterRect::half_extent

Rect half extent in half pixel space.

Definition at line 721 of file eevee_shader_shared.hh.

◆ offset

float2 blender::eevee::ScatterRect::offset

Rect center position in half pixel space.

Definition at line 719 of file eevee_shader_shared.hh.


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