Contents

SushiEngine::Render

is_alpha_blended

bool is_alpha_blended(SurfaceType type) noexcept

Parameters

NameTypeDescription
typeSurfaceType

The material's surface type.

Returns

bool

True for Transparent and Fade, false for Opaque and Cutout.

Description

Returns whether a surface type draws through the alpha-blended transparent pass.

See also

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