Skip to content

cbuffer array #256

Answered by TheMostDiligent
RobertMtx asked this question in Q&A
May 10, 2023 · 1 comments · 8 replies
Discussion options

You must be logged in to vote

Variable type is orthogonal to buffer usage. Immutable buffers are initialized when they are created and your code looks correct.
Variable type defines how you are going to bind the resource to that variable.
Static variables are set directly through pipeline/signature.
Mutable and dynamic variables are set through SRB.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@TheMostDiligent
Comment options

@RobertMtx
Comment options

@TheMostDiligent
Comment options

@RobertMtx
Comment options

@TheMostDiligent
Comment options

Answer selected by RobertMtx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants