#include <material_property_block.h>
|
| | 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) |
| |
◆ MaterialPropertyBlock()
| osc::MaterialPropertyBlock::MaterialPropertyBlock |
( |
| ) |
|
◆ clear()
| void osc::MaterialPropertyBlock::clear |
( |
| ) |
|
◆ empty()
| bool osc::MaterialPropertyBlock::empty |
( |
| ) |
const |
◆ get() [1/2]
template<MaterialPropertyValue T>
| std::optional< T > osc::MaterialPropertyBlock::get |
( |
const StringName & |
property_name | ) |
const |
◆ get() [2/2]
template<MaterialPropertyValue T>
| std::optional< T > osc::MaterialPropertyBlock::get |
( |
std::string_view |
property_name | ) |
const |
◆ get_array() [1/2]
template<MaterialPropertyValue T>
| std::optional< std::span< const T > > osc::MaterialPropertyBlock::get_array |
( |
const StringName & |
property_name | ) |
const |
◆ get_array() [2/2]
template<MaterialPropertyValue T>
| std::optional< std::span< const T > > osc::MaterialPropertyBlock::get_array |
( |
std::string_view |
property_name | ) |
const |
◆ set() [1/2]
template<MaterialPropertyValue T>
| void osc::MaterialPropertyBlock::set |
( |
const StringName & |
property_name, |
|
|
const T & |
value |
|
) |
| |
◆ set() [2/2]
template<MaterialPropertyValue T>
| void osc::MaterialPropertyBlock::set |
( |
std::string_view |
property_name, |
|
|
const T & |
value |
|
) |
| |
◆ set_array() [1/3]
template<MaterialPropertyValue T>
| void osc::MaterialPropertyBlock::set_array |
( |
const StringName & |
property_name, |
|
|
std::span< const T > |
values |
|
) |
| |
◆ set_array() [2/3]
template<MaterialPropertyValue T>
| void osc::MaterialPropertyBlock::set_array |
( |
std::string_view |
property_name, |
|
|
std::span< const T > |
values |
|
) |
| |
◆ set_array() [3/3]
template<std::convertible_to< std::string_view > StringLike, std::ranges::contiguous_range Range>
| void osc::MaterialPropertyBlock::set_array |
( |
StringLike && |
property_name, |
|
|
Range && |
values |
|
) |
| |
|
inline |
◆ unset() [1/2]
| void osc::MaterialPropertyBlock::unset |
( |
const StringName & |
property_name | ) |
|
◆ unset() [2/2]
| void osc::MaterialPropertyBlock::unset |
( |
std::string_view |
property_name | ) |
|
◆ GraphicsBackend
| friend class GraphicsBackend |
|
friend |
◆ operator<<
◆ operator==
The documentation for this class was generated from the following file: