Forum

Dx11 appendbuffer problem

hello everyone!

i have some problems with the AppendStructuredBuffer.
have a look at the attached patch. it should be self-explanatory.
is it a bug?

thanks in advance!

appendProblem.zip (4.0 kB)

This is normal, since append buffers do not clear data every frame.

So if you don’t append values, old values stay in the buffer, internal counter should tell you how many values are relevant.

is it possible to clear the data every frame?
how can i access the internal counter?

thanks again ;)