6#include "../result.hpp"
28 Material(std::optional<rerun::datatypes::Rgba32> albedo_factor_)
31 Material& operator=(std::optional<rerun::datatypes::Rgba32> albedo_factor_) {
38 Material& operator=(uint32_t rgba_) {
51 struct Loggable<datatypes::Material> {
52 static constexpr const char Name[] =
"rerun.datatypes.Material";
55 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
59 arrow::StructBuilder* builder,
const datatypes::Material* elements,
size_t num_elements
63 static Result<std::shared_ptr<arrow::Array>> to_arrow(
64 const datatypes::Material* instances,
size_t num_instances
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:87
All built-in datatypes. See Types in the Rerun manual.
Definition rerun.hpp:72
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:20
Component: Material properties of a mesh.
Definition material.hpp:22
Datatype: Material properties of a mesh.
Definition material.hpp:21
std::optional< rerun::datatypes::Rgba32 > albedo_factor
Optional color multiplier.
Definition material.hpp:23