Drake
Drake C++ Documentation
RenderEngineGlParams Struct Reference

Detailed Description

Construction parameters for RenderEngineGl.

#include <drake/geometry/render_gl/render_engine_gl_params.h>

Public Member Functions

template<typename Archive >
void Serialize (Archive *a)
 Passes this object to an Archive. More...
 

Public Attributes

Rgba default_diffuse {0.9, 0.7, 0.2, 1.0}
 Default diffuse color to apply to a geometry when none is otherwise specified in the (phong, diffuse) property. More...
 
Rgba default_clear_color {204 / 255., 229 / 255., 255 / 255., 1.0}
 The default background color for color images. More...
 
std::vector< render::LightParameterlights
 Lights in the scene. More...
 

Member Function Documentation

◆ Serialize()

void Serialize ( Archive *  a)

Passes this object to an Archive.

Refer to YAML Serialization for background.

Member Data Documentation

◆ default_clear_color

Rgba default_clear_color {204 / 255., 229 / 255., 255 / 255., 1.0}

The default background color for color images.

◆ default_diffuse

Rgba default_diffuse {0.9, 0.7, 0.2, 1.0}

Default diffuse color to apply to a geometry when none is otherwise specified in the (phong, diffuse) property.

◆ lights

std::vector<render::LightParameter> lights

Lights in the scene.

More than five lights is an error. If no lights are defined, a single directional light, fixed to the camera frame, is used.


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