ludus::graphics::renderer::FlatMaterial¶
Ludus Wiki · API overview · Browse API
Struct
Flat material in linear RGB; default magenta identifies missing material authoring.
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/renderer.hpp
#include <ludus/graphics/renderer/renderer.hpp>
struct ludus::graphics::renderer::FlatMaterial final
Fields¶
Color¶
ludus::foundation::math::Vector4 ludus::graphics::renderer::FlatMaterial::Color {1, 0, 1, 1}
Straight RGBA in [0,1]; opacity must be one for Opaque. Renderer premultiplies Overlay RGB.
Related types: ludus::foundation::math::Vector4
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/renderer.hpp