Lines Matching defs:State
334 struct State struct
336 Color colorClearValue;
337 GLclampf depthClearValue;
338 int stencilClearValue;
340 bool cullFaceEnabled;
341 GLenum cullMode;
342 GLenum frontFace;
343 bool depthTestEnabled;
344 GLenum depthFunc;
345 bool blendEnabled;
346 GLenum sourceBlendRGB;
347 GLenum destBlendRGB;
348 GLenum sourceBlendAlpha;
349 GLenum destBlendAlpha;
350 GLenum blendEquationRGB;
351 GLenum blendEquationAlpha;
352 Color blendColor;
353 bool stencilTestEnabled;
354 GLenum stencilFunc;
355 GLint stencilRef;
356 GLuint stencilMask;
357 GLenum stencilFail;
358 GLenum stencilPassDepthFail;
359 GLenum stencilPassDepthPass;
360 GLuint stencilWritemask;
361 GLenum stencilBackFunc;
362 GLint stencilBackRef;
363 GLuint stencilBackMask;
364 GLenum stencilBackFail;
365 GLenum stencilBackPassDepthFail;
366 GLenum stencilBackPassDepthPass;
367 GLuint stencilBackWritemask;
368 bool polygonOffsetFillEnabled;
369 GLfloat polygonOffsetFactor;
370 GLfloat polygonOffsetUnits;
371 bool sampleAlphaToCoverageEnabled;
372 bool sampleCoverageEnabled;
373 GLclampf sampleCoverageValue;
374 bool sampleCoverageInvert;
375 bool scissorTestEnabled;
376 bool ditherEnabled;
377 bool primitiveRestartFixedIndexEnabled;
378 bool rasterizerDiscardEnabled;
379 bool colorLogicOpEnabled;
380 GLenum logicalOperation;
382 GLfloat lineWidth;
384 GLenum generateMipmapHint;
385 GLenum fragmentShaderDerivativeHint;
386 GLenum textureFilteringHint;
388 GLint viewportX;
389 GLint viewportY;
390 GLsizei viewportWidth;
391 GLsizei viewportHeight;
392 float zNear;
393 float zFar;
395 GLint scissorX;
396 GLint scissorY;
397 GLsizei scissorWidth;
398 GLsizei scissorHeight;
400 bool colorMaskRed;
401 bool colorMaskGreen;
402 bool colorMaskBlue;
403 bool colorMaskAlpha;
404 bool depthMask;
406 unsigned int activeSampler; // Active texture unit selector - GL_TEXTURE0
407 gl::BindingPointer<Buffer> arrayBuffer;
408 gl::BindingPointer<Buffer> copyReadBuffer;
409 gl::BindingPointer<Buffer> copyWriteBuffer;
410 gl::BindingPointer<Buffer> pixelPackBuffer;
411 gl::BindingPointer<Buffer> pixelUnpackBuffer;
412 gl::BindingPointer<Buffer> genericUniformBuffer;
413 gl::BindingPointer<Buffer> genericTransformFeedbackBuffer;
414 BufferBinding uniformBuffers[MAX_UNIFORM_BUFFER_BINDINGS];
416 GLuint readFramebuffer;
417 GLuint drawFramebuffer;
441 void markAllStateDirty(); argument
443 // State manipulation argument