Skip to content
Jigwright
HullForge docs

Get Shader Permutations

How many shaders a material costs, in two halves: what this editor has actually COMPILED, and how many are POSSIBLE from its static switches and usage flags. The possible count is the actionable one, because 2^N from N static switches is what makes a cook slow and switches are something a person can remove. Refuses to report a compiled count of zero when the material simply has no shader map.

hf_get_shader_permutationsRead only

Arguments

NameTypeDescription
materialreqstringPath to a Material or Material Instance.

Nearby in References and dependencies: