Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Engine::Rendering Namespace Reference

Rendering engines. More...

Classes

class  DebugRender
 
class  ForwardRenderer
 
class  Renderer
 
class  RenderObject
 
class  RenderTechnique
 

Enumerations

enum class  RenderObjectType { UI = 0 , Debug , Geometry , Count }
 
enum  DefaultRenderingPasses : int {
  DEFAULT_PASS = 0 , LIGHTING_OPAQUE = DEFAULT_PASS , Z_PREPASS , LIGHTING_TRANSPARENT ,
  LIGHTING_VOLUMETRIC
}
 

Functions

 RA_SINGLETON_IMPLEMENTATION (DebugRender)
 
template<typename IndexContainerType >
void computeIndices (Core::Geometry::LineMesh::IndexContainerType &indices, IndexContainerType &other)
 
template<typename CoreGeometry >
void setupLineMesh (std::shared_ptr< Data::LineMesh > &disp, CoreGeometry &core)
 

Variables

std::shared_ptr< Ra::Engine::Rendering::RenderTechniqueRadiumDefaultRenderTechnique { nullptr }
 

Detailed Description

Rendering engines.

Enumeration Type Documentation

◆ DefaultRenderingPasses

Default render pass ids

Enumerator
DEFAULT_PASS 

The pass to use as default pass for any renderer. The default pass will be used to draw debug or ui objects. When a renderer define its specific passes the pass at index 0 will be used to draw debug or ui objects.

LIGHTING_OPAQUE 

The main pass of Radium default renderer. This pass render, with lighting, the fully opaque fragments

Z_PREPASS 

The prepass of Radium default renderer. This pass fill in the depth buffer and initialize feature buffers

LIGHTING_TRANSPARENT 

The transparency pass of Radium default renderer. This pass render, with lighting, the transparent fragments using LIT-OIT algorithm

See also
Ra::Engine::ForwardRenderer documentation
LIGHTING_VOLUMETRIC 

The volumetric pass of Radium default renderer. This pass render, with lighting, an object with volumetric material (density matrix)

See also
Ra::Engine::ForwardRenderer documentation

Definition at line 25 of file RenderTechnique.hpp.

◆ RenderObjectType

Defines the families of objects for rendering.

Enumerator
UI 

"Ui" render objects are drawn on top of everything else and view independant

Debug 

"Debug" render objects are drawn like any other object (not lit though)

Geometry 

"Geometry" render objects are those loaded using Radium::IO and generated by GeometrySystem

Definition at line 9 of file RenderObjectTypes.hpp.

Function Documentation

◆ computeIndices()

template<typename IndexContainerType >
void Ra::Engine::Rendering::computeIndices ( Core::Geometry::LineMesh::IndexContainerType & indices,
IndexContainerType & other )

Definition at line 162 of file ForwardRenderer.cpp.

◆ setupLineMesh()

template<typename CoreGeometry >
void Ra::Engine::Rendering::setupLineMesh ( std::shared_ptr< Data::LineMesh > & disp,
CoreGeometry & core )

Definition at line 216 of file ForwardRenderer.cpp.

Variable Documentation

◆ RadiumDefaultRenderTechnique

std::shared_ptr<Ra::Engine::Rendering::RenderTechnique> Ra::Engine::Rendering::RadiumDefaultRenderTechnique { nullptr }

Definition at line 15 of file RenderTechnique.cpp.