struct
SushiEngine::Render::MaterialField
One field of a material: how it persists, and how it is edited.
- Declared in
engine/domain/material/include/SushiEngine/material/material_fields.hpp
Properties
key | Serialized key; never changes once shipped. |
label | Row label in the Inspector. |
kind | |
group | |
member | |
minimum | Slider or drag bounds. |
maximum | |
step | Drag step for MaterialFieldKind::FloatDrag. |
format | printf-style format, or nullptr for the widget's default. |
color_space | How a MaterialFieldKind::Texture slot's file is interpreted. |
same_line | Drawn on the same line as the previous row. |
editable | Whether the Inspector offers this field at all. |
visible | Extra condition on visibility, or nullptr for "always". |
tooltip | Holds why this field behaves the way it does, or nullptr for no tooltip. |

