Quantcast
Channel: Questions in topic: "compute shader"
Viewing all articles
Browse latest Browse all 287

Computeshader array output

$
0
0
Hi Everyone, is it possible to output for example 8 vertices in output buffer using array in C#, but not using unsafe or fixed struct? for example, look at this code: struct outData { public float sdf; float v0, v1, v2, v3, v4, v5, v6; float v7, v8, v9, v10, v11, v12, v13; float v14, v15, v16, v17, v18, v19, v20; float v21, v22, v23; }; this is not nice code, is it only solution? Thanks, bye

Viewing all articles
Browse latest Browse all 287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>