9 virtual void Recreate(
const CreateInfo& createInfo)
override;
11 GLuint GetPrimitiveType();
14 void CreatePipeline(
const CreateInfo& createInfo);
15 GLuint CreateShaderModule(
const CreateInfo::ShaderStageData& shaderStageCreateInfo);
19 GLsizei width, height;
20 GLint scissorX, scissorY;
21 GLsizei scissorWidth, scissorHeight;
23 GLboolean colorMaskRed = GL_TRUE;
24 GLboolean colorMaskBlue = GL_TRUE;
25 GLboolean colorMaskGreen = GL_TRUE;
26 GLboolean colorMaskAlpha = GL_TRUE;
28 GLenum polygonFillMode;
29 GLenum depthCompareOp;
30 bool isDepthTestEnabled =
true;
31 GLboolean isDepthWriteEnabled = GL_TRUE;
32 bool isStencilEnabled =
false;
33 bool isDepthBiasEnabled =
false;
34 bool isDepthClampEnabled =
false;
36 float depthBiasConstantFactor = 1.25f;
37 float depthBiasSlopeFactor = 1.75f;
38 float depthBiasClamp = 0.0f;