Questions tagged [constant-buffer]
The constant-buffer tag has no usage guidance.
4
questions
1
vote
1
answer
262
views
Performance impact/implications of constant buffers / uniform buffers
Constant buffers stay constant throughout entire dispatches / draw calls, and thus their data can presumably be shared as efficiently as possible between different threads using those buffers.
But I ...
8
votes
1
answer
862
views
DirectX12 CbvHeap
With directX12 they introduced heap descriptors. A way for us to describe the table for resources we wanted to send to the shaders. I'm admittedly very new at computer graphics and only tinkered a bit ...
4
votes
1
answer
5k
views
DirectX 12 Constant Buffer Binding
I can't really seem to figure out how to bind two constant buffers to my shaders. I have them described like so. One in slot b0 and the other in slot b1.
...
11
votes
1
answer
313
views
Do the alignement and declaration order of uniforms matter?
In the section 6.4 Constant Buffers of the book Practical Rendering & Computation with Direct3D 11 (pages 325, 326) it is mentioned:
By default, the HLSL compiler will attempt to align ...