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

Parts of a loaded unlit shader. More...

Public Member Functions

 LoadedShader_Unlit (TransformSource model_source, std::shared_ptr< ShaderProgram > p, const CameraUniformBuffer &desc)
 

Public Attributes

std::shared_ptr< ShaderProgramprogram
 
Uniform tint_color_uni
 
Uniform tex_diffuse_uniform
 
std::optional< Uniformworld_from_local_uni
 

Detailed Description

Parts of a loaded unlit shader.

See also
LoadedShader_Unlit_Container

Definition at line 91 of file shader_resource.h.

Constructor & Destructor Documentation

◆ LoadedShader_Unlit()

eu::render::LoadedShader_Unlit::LoadedShader_Unlit ( TransformSource  model_source,
std::shared_ptr< ShaderProgram p,
const CameraUniformBuffer desc 
)
explicit

Member Data Documentation

◆ program

std::shared_ptr<ShaderProgram> eu::render::LoadedShader_Unlit::program

Definition at line 93 of file shader_resource.h.

◆ tex_diffuse_uniform

Uniform eu::render::LoadedShader_Unlit::tex_diffuse_uniform

Definition at line 98 of file shader_resource.h.

◆ tint_color_uni

Uniform eu::render::LoadedShader_Unlit::tint_color_uni

Definition at line 97 of file shader_resource.h.

◆ world_from_local_uni

std::optional<Uniform> eu::render::LoadedShader_Unlit::world_from_local_uni

Definition at line 100 of file shader_resource.h.


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