MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetPassKindHint

Method GetPassKindHint

engine/Poseidon/Graphics/Core/Engine.hpp:443–443  ·  view source on GitHub ↗

Explicit pass-kind routing. Producers (Man::DrawProxies for first-person, vehicle cockpit draw, etc.) wrap a draw scope with `SetPassKindHint(Cockpit)` / `ClearPassKindHint()` so the descriptor build picks the cockpit `PassKind` family explicitly rather than inferring it from `NoDropdown` bit propagation. Defaults to `None`, where the descriptor falls back to `NoDropdown` inference.

Source from the content-addressed store, hash-verified

441 // propagation. Defaults to `None`, where the descriptor falls back to
442 // `NoDropdown` inference.
443 render::PassKindHint GetPassKindHint() const { return _passKindHint; }
444 void SetPassKindHint(render::PassKindHint hint) { _passKindHint = hint; }
445 void ClearPassKindHint() { _passKindHint = render::PassKindHint::None; }
446

Callers 2

DrawSortObjectFunction · 0.80
DrawProxiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected