|
opynsim
Unofficial C++ Documentation
|
#include <mesh_basic_material.h>
Classes | |
| class | PropertyBlock |
Public Types | |
| using | Params = MeshBasicMaterialParams |
Public Member Functions | |
| MeshBasicMaterial (const Params &={}) | |
| MeshBasicMaterial (const Color &) | |
| Color | color () const |
| void | set_color (const Color &) |
Public Member Functions inherited from osc::Material | |
| Material (Shader) | |
| const Shader & | shader () const |
| 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) |
| bool | is_transparent () const |
| void | set_transparent (bool) |
| SourceBlendingFactor | source_blending_factor () const |
| void | set_source_blending_factor (SourceBlendingFactor) |
| DestinationBlendingFactor | destination_blending_factor () const |
| void | set_destination_blending_factor (DestinationBlendingFactor) |
| BlendingEquation | blending_equation () const |
| void | set_blending_equation (BlendingEquation) |
| bool | is_depth_tested () const |
| void | set_depth_tested (bool) |
| DepthFunction | depth_function () const |
| void | set_depth_function (DepthFunction) |
| bool | writes_to_depth_buffer () const |
| void | set_writes_to_depth_buffer (bool) |
| bool | is_wireframe () const |
| void | set_wireframe (bool) |
| CullMode | cull_mode () const |
| void | set_cull_mode (CullMode) |
Static Public Member Functions | |
| static const StringName & | color_property_name () |
| Color osc::MeshBasicMaterial::color | ( | ) | const |
|
static |