MCPcopy Create free account
hub / github.com/cginternals/globjects / polygonMode

Method polygonMode

source/globjects/source/AbstractState.cpp:149–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void AbstractState::polygonMode(const GLenum face, const GLenum mode)
150{
151 auto setting = new StateSetting(glPolygonMode, face, mode);
152 setting->type().specializeType(face);
153 add(setting);
154}
155
156void AbstractState::polygonOffset(const GLfloat factor, const GLfloat units)
157{

Callers 1

currentStateMethod · 0.80

Calls 2

specializeTypeMethod · 0.80
typeMethod · 0.45

Tested by

no test coverage detected