-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Use GPUBuffer in RAS_InstancingBuffer.
Using GPUBuffer allow to reuse existing and frequently maintained code from the viewport. The only issue encountered was for resize the VBO. The GPUBuffer is not able to be resized, but reallocated instead. The reallocation is not a problems as the viewport use a pool of all freed GPUbuffers and reuse it in some case. The reallocation is done in RAS_InstancingBuffer::Realloc(). None performance decrease was noticed.
- Loading branch information
1 parent
cb0d42b
commit b585b4a
Showing
4 changed files
with
33 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters