1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:07:35 +00:00

LibGL+LibSoftGPU: Add face culling state to rasterizer options

This commit is contained in:
Stephan Unverwerth 2021-12-16 21:10:53 +01:00 committed by Brian Gianforcaro
parent ad3d5d43bd
commit 2f35135743
2 changed files with 15 additions and 0 deletions

View file

@ -50,6 +50,9 @@ struct RasterizerOptions {
GLenum draw_buffer { GL_BACK };
GLfloat depth_offset_factor { 0 };
GLfloat depth_offset_constant { 0 };
bool enable_culling { false };
GLenum front_face { GL_CCW };
GLenum culled_sides { GL_BACK };
};
class SoftwareRasterizer final {