10 GLuint GetPrimitiveType();
13 void CreatePipeline(
const CreateInfo& createInfo);
14 GLuint CreateShaderModule(
const ShaderStageData& shaderStageCreateInfo);
18 GLsizei width, height;
19 GLint scissorX, scissorY;
20 GLsizei scissorWidth, scissorHeight;
22 GLboolean colorMaskRed = GL_TRUE;
23 GLboolean colorMaskBlue = GL_TRUE;
24 GLboolean colorMaskGreen = GL_TRUE;
25 GLboolean colorMaskAlpha = GL_TRUE;
27 GLenum polygonFillMode;
28 GLenum depthCompareOp;
29 bool isDepthTestEnabled =
true;
30 GLboolean isDepthWriteEnabled = GL_TRUE;
31 bool isStencilEnabled =
false;
32 bool isDepthBiasEnabled =
false;
33 bool isDepthClampEnabled =
false;
35 float depthBiasConstantFactor = 1.25f;
36 float depthBiasSlopeFactor = 1.75f;
37 float depthBiasClamp = 0.0f;