Deprecate properties. Use hinted cbuffers instead. This opens up to use a structured buffer in that way as well if you want instead.

This commit is contained in:
2025-09-17 12:31:37 +02:00
parent 7fefe0ecf6
commit 607a6a0bed
27 changed files with 518 additions and 629 deletions

View File

@@ -0,0 +1,13 @@
[vertex entry point] - vs_main
[constant_buffer] - props - 0 (@properties)
[field] - projection : struct : float4x4 {m11 : float,
m12 : float, m13 : float, m14 : float, m21 : float,
m22 : float, m23 : float, m24 : float, m31 : float,
m32 : float, m33 : float, m34 : float, m41 : float,
m42 : float, m43 : float, m44 : float} (@projection)
[field] - view : struct : float4x4 {m11 : float,
m12 : float, m13 : float, m14 : float, m21 : float,
m22 : float, m23 : float, m24 : float, m31 : float,
m32 : float, m33 : float, m34 : float, m41 : float,
m42 : float, m43 : float, m44 : float} (@view)