MCPcopy Create free account
hub / github.com/HeliumProject/Engine / GetOptionSetIndex

Method GetOptionSetIndex

Source/Engine/Graphics/Shader.cpp:358–448  ·  view source on GitHub ↗

Get a unique index associated with a specific set of shader preprocessor options. Note that this will always attempt to match up a valid index, even if invalid options are specified or select options are missing. @param[in] shaderType Type of shader. @param[in] pToggleNames List of enabled shader toggles. @param[in] toggleNameCount Number of names in the toggle name array. @param[in]

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

DrawWorldElementsMethod · 0.80
DrawScreenElementsMethod · 0.80
DrawShadowDepthPassMethod · 0.80
DrawDepthPrePassMethod · 0.80
DrawBasePassMethod · 0.80
CacheResourceMethod · 0.80

Calls 1

GetSizeMethod · 0.45

Tested by

no test coverage detected