Lines Matching defs:State
217 struct State struct
219 Color colorClearValue;
220 GLclampf depthClearValue;
221 int stencilClearValue;
223 bool cullFaceEnabled;
224 GLenum cullMode;
225 GLenum frontFace;
226 bool depthTestEnabled;
227 GLenum depthFunc;
228 bool blendEnabled;
229 GLenum sourceBlendRGB;
230 GLenum destBlendRGB;
231 GLenum sourceBlendAlpha;
232 GLenum destBlendAlpha;
233 GLenum blendEquationRGB;
234 GLenum blendEquationAlpha;
235 bool stencilTestEnabled;
236 GLenum stencilFunc;
237 GLint stencilRef;
238 GLuint stencilMask;
239 GLenum stencilFail;
240 GLenum stencilPassDepthFail;
241 GLenum stencilPassDepthPass;
242 GLuint stencilWritemask;
243 bool polygonOffsetFillEnabled;
244 GLfloat polygonOffsetFactor;
245 GLfloat polygonOffsetUnits;
246 bool sampleAlphaToCoverageEnabled;
247 bool sampleCoverageEnabled;
248 GLclampf sampleCoverageValue;
249 bool sampleCoverageInvert;
250 bool scissorTestEnabled;
251 bool ditherEnabled;
252 GLenum shadeModel;
254 GLfloat lineWidth;
256 GLenum generateMipmapHint;
257 GLenum perspectiveCorrectionHint;
258 GLenum fogHint;
260 GLint viewportX;
261 GLint viewportY;
262 GLsizei viewportWidth;
263 GLsizei viewportHeight;
264 float zNear;
265 float zFar;
267 GLint scissorX;
268 GLint scissorY;
269 GLsizei scissorWidth;
270 GLsizei scissorHeight;
272 bool colorMaskRed;
273 bool colorMaskGreen;
274 bool colorMaskBlue;
275 bool colorMaskAlpha;
276 bool depthMask;
278 unsigned int activeSampler; // Active texture unit selector - GL_TEXTURE0
279 gl::BindingPointer<Buffer> arrayBuffer;
280 gl::BindingPointer<Buffer> elementArrayBuffer;
304 void markAllStateDirty(); argument
306 // State manipulation argument