Contents

SushiEngine::Render

material_field_drawn

bool material_field_drawn(const MaterialField &field, const Material &material)

Parameters

NameTypeDescription
fieldconst MaterialField &

The field to test.

materialconst Material &

The material whose state a conditional field is tested against.

Returns

bool

True when the field is editable and its own visibility predicate passes.

Description

Returns whether the Inspector draws a row for field at all.

See also

engine/domain/material/include/SushiEngine/material/README.md