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

Function FrontFaceCW

engine/Poseidon/Graphics/Core/GLCullState.hpp:38–41  ·  view source on GitHub ↗

Winding (`GL_CW` or `GL_CCW`). Separated from cull mode because the descriptor carries them as independent fields — a draw can be double-sided (None) while still declaring its source winding for downstream consumers that need it.

Source from the content-addressed store, hash-verified

36// be double-sided (None) while still declaring its source winding
37// for downstream consumers that need it.
38inline void FrontFaceCW()
39{
40 glFrontFace(GL_CW);
41}
42inline void FrontFaceCCW()
43{
44 glFrontFace(GL_CCW);

Callers 3

ApplyPipelineMethod · 0.85
Init3DStateMethod · 0.85
BeginPassMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected