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:
parent
ad3d5d43bd
commit
2f35135743
2 changed files with 15 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue