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

Add UniformBlockData & UniformBlockBuffer #1174

Merged
merged 1 commit into from
Dec 27, 2022
Merged

Conversation

soywiz
Copy link
Member

@soywiz soywiz commented Dec 27, 2022

Some work on #1116 & #465

For example for projection matrices, we should be able to push and pop indices in the UniformBlockBuffer, and only add new values to the buffer when the matrices change.
When doing a draw, we should reference the uniform buffers & indices in them. So we can upload the uniform buffers once, and reuse them later.

@soywiz soywiz merged commit b15e2a9 into main Dec 27, 2022
@soywiz soywiz deleted the feature/uniform.block.buffer branch October 4, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant