I have a native plugin which generates mesh data using compute shaders. My ideal solution would be to pass down the native vertex buffer pointer down to the plugin, create a UAV into it, and bind that directly to my compute shader.
Attempting to create the UAV returns an invalid args result. The vertex buffer appears to not be a structured buffer (buffer description has a structured byte stride of 0). Could this be why this method will not work?
↧