Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An In Engine Stencil Buffer #20

Open
DominicDolan opened this issue Nov 3, 2020 · 0 comments
Open

An In Engine Stencil Buffer #20

DominicDolan opened this issue Nov 3, 2020 · 0 comments
Labels
enhancement New feature or request opengl
Milestone

Comments

@DominicDolan
Copy link
Owner

Info

Currently the game engine still needs a dependency on the backend OpenGL library to manage the Stencil Buffer. It is intended for the core game engine to have no such dependency in the future.

Motive

The Stencil Buffer is a helpful feature of Open GL and it makes sense for the Engine to support it.

Task

Implementing this requires doing what needs to be done for all OpenGL features. This is to call the Stencil Buffer functions from the backend module (the desktop-application module) then the application-interface module can implement the tools which will used on the front end. These tools can then call the back end so that the backend does not need to be called directly. There is a unique way of calling the backend, look at the GLDrawCommands file to see an example of how this delegation is done.

@DominicDolan DominicDolan added enhancement New feature or request opengl labels Nov 3, 2020
@DominicDolan DominicDolan added this to the General milestone Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request opengl
Projects
None yet
Development

No branches or pull requests

1 participant