#include <mesh_basic_material.h>
|
| | PropertyBlock ()=default |
| |
| | PropertyBlock (const Color &) |
| |
| std::optional< Color > | color () const |
| |
| void | set_color (const Color &) |
| |
| | MaterialPropertyBlock () |
| |
| void | clear () |
| |
| bool | empty () const |
| |
| template<MaterialPropertyValue T> |
| std::optional< T > | get (std::string_view property_name) const |
| |
| template<MaterialPropertyValue T> |
| std::optional< T > | get (const StringName &property_name) const |
| |
| template<MaterialPropertyValue T> |
| void | set (std::string_view property_name, const T &value) |
| |
| template<MaterialPropertyValue T> |
| void | set (const StringName &property_name, const T &value) |
| |
| template<MaterialPropertyValue T> |
| std::optional< std::span< const T > > | get_array (std::string_view property_name) const |
| |
| template<MaterialPropertyValue T> |
| std::optional< std::span< const T > > | get_array (const StringName &property_name) const |
| |
| template<MaterialPropertyValue T> |
| void | set_array (std::string_view property_name, std::span< const T > values) |
| |
| template<MaterialPropertyValue T> |
| void | set_array (const StringName &property_name, std::span< const T > values) |
| |
| template<std::convertible_to< std::string_view > StringLike, std::ranges::contiguous_range Range> |
| void | set_array (StringLike &&property_name, Range &&values) |
| |
| void | unset (std::string_view property_name) |
| |
| void | unset (const StringName &property_name) |
| |
◆ PropertyBlock() [1/2]
| osc::MeshBasicMaterial::PropertyBlock::PropertyBlock |
( |
| ) |
|
|
explicitdefault |
◆ PropertyBlock() [2/2]
| osc::MeshBasicMaterial::PropertyBlock::PropertyBlock |
( |
const Color & |
| ) |
|
|
explicit |
◆ color()
| std::optional< Color > osc::MeshBasicMaterial::PropertyBlock::color |
( |
| ) |
const |
◆ color_property_name()
| static const StringName & osc::MeshBasicMaterial::PropertyBlock::color_property_name |
( |
| ) |
|
|
static |
◆ set_color()
| void osc::MeshBasicMaterial::PropertyBlock::set_color |
( |
const Color & |
| ) |
|
The documentation for this class was generated from the following file: