-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #923 by implementing 2D Texture Array to be used with Mor…
…ph targets. (#981) * Added support for Morph targets to use 2D texture arrays. Added check for uniforms array length to avoid memory overrun * Code cleanup, moved array lenght check to after the null check * Update Plugins/NativeEngine/Source/NativeEngine.h Co-authored-by: Gary Hsu <[email protected]> * Update Plugins/NativeEngine/Source/NativeEngine.cpp Co-authored-by: Gary Hsu <[email protected]> * Moved element size info to Babylon::UniformInfo. Changed business logic to allow usage of UniformInfo for size check at runtime * Revert "Moved element size info to Babylon::UniformInfo. Changed business logic to allow usage of UniformInfo for size check at runtime" This reverts commit 117c2e6. * Reimplemented changes after reversing clang-format changes * Cleanup unused parameters and added exception for not supported ones * Update Plugins/NativeEngine/Source/NativeEngine.cpp Co-authored-by: Gary Hsu <[email protected]> Co-authored-by: Gary Hsu <[email protected]>
- Loading branch information
1 parent
8e21c9c
commit 5b5ad20
Showing
2 changed files
with
90 additions
and
25 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