Added RefCounting, added ConstantBuffers

This commit is contained in:
Simon Lübeß
2021-02-06 19:37:07 +01:00
parent a2e4b5563e
commit 9ea56d6786
17 changed files with 759 additions and 293 deletions
+11
View File
@@ -0,0 +1,11 @@
GE_ERROR_SHADER_MATRIX_MISMATCH:
If this macro is set, the engine checks at runtime whether or not the dimensions of the given value match the dimensions of the shader variable. (Applies to: BufferVariable.SetData)
GE_WARN_SHADER_MATRIX_MISMATCH:
Same as GE_ERROR_SHADER_MATRIX_MISMATCH but instead of crashing a warning will written to the console.
GE_ERROR_SHADER_VAR_TYPE_MISMATCH:
If this macro is set, upon calling BufferVariable.SetData the type of the provided value will be checked against the actual value type. If they do not match, the application will crash.
GE_WARN_SHADER_VAR_TYPE_MISMATCH:
Same as GE_ERROR_SHADER_VAR_TYPE_MISMATCH but instead of crashing a warning will be written to the console.