Euphoria
eu::render::LoadedShader_OnlyDepth Struct Reference

Only writes depth. More...

Public Member Functions

 LoadedShader_OnlyDepth (TransformSource model_source, std::shared_ptr< ShaderProgram > p, core::CompiledGeomVertexAttributes l, const CameraUniformBuffer &desc)

Public Attributes

std::shared_ptr< ShaderProgramprogram
core::CompiledGeomVertexAttributes geom_layout
std::optional< Uniformworld_from_local_uni

Detailed Description

Only writes depth.

Useful for rendering shadow maps.

Definition at line 66 of file shader_resource.h.

Constructor & Destructor Documentation

◆ LoadedShader_OnlyDepth()

eu::render::LoadedShader_OnlyDepth::LoadedShader_OnlyDepth ( TransformSource model_source,
std::shared_ptr< ShaderProgram > p,
core::CompiledGeomVertexAttributes l,
const CameraUniformBuffer & desc )

Member Data Documentation

◆ geom_layout

core::CompiledGeomVertexAttributes eu::render::LoadedShader_OnlyDepth::geom_layout

Definition at line 74 of file shader_resource.h.

◆ program

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

Definition at line 73 of file shader_resource.h.

◆ world_from_local_uni

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

Definition at line 76 of file shader_resource.h.


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