Euphoria
Public Member Functions | Public Attributes | List of all members
eu::render::RenderContext Struct Reference

Stores information that is useful when selecting a shader part from a shader container. More...

Public Member Functions

constexpr RenderContext (TransformSource s, UseTransparency t, float g, const ShadowContext *sc)
 

Public Attributes

TransformSource model_source
 
UseTransparency use_transparency
 
float gamma
 gamma from the rendering settings
 
ShadowContext constshadow_context
 

Detailed Description

Stores information that is useful when selecting a shader part from a shader container.

Definition at line 201 of file shader_resource.h.

Constructor & Destructor Documentation

◆ RenderContext()

constexpr eu::render::RenderContext::RenderContext ( TransformSource  s,
UseTransparency  t,
float  g,
const ShadowContext sc 
)
inlineconstexpr

Definition at line 208 of file shader_resource.h.

Member Data Documentation

◆ gamma

float eu::render::RenderContext::gamma

gamma from the rendering settings

Definition at line 205 of file shader_resource.h.

◆ model_source

TransformSource eu::render::RenderContext::model_source

Definition at line 203 of file shader_resource.h.

◆ shadow_context

ShadowContext const* eu::render::RenderContext::shadow_context

Definition at line 206 of file shader_resource.h.

◆ use_transparency

UseTransparency eu::render::RenderContext::use_transparency

Definition at line 204 of file shader_resource.h.


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