struct hiro::draw::PointsStyle
Overview
Point rendering stylization. More…
#include <ElementRenderer.h> struct PointsStyle { // fields hiro::shader::Material material; bool back_face_culling = false; float point_size = 10.0f; hiro::draw::ColorSource color_source = hiro::draw::ColorSource::material; };
Detailed Documentation
Point rendering stylization.
Fields
hiro::shader::Material material
Material setting for the points.
bool back_face_culling = false
When enabled, points with normal vector turned away from the camera are hidden.
float point_size = 10.0f
Size of point in screen pixels.
hiro::draw::ColorSource color_source = hiro::draw::ColorSource::material
Color source used to colorize the points.