Any way Render to VBO directly?
Moderators - Reputation: 40873
Posted 18 July 2012 - 12:47 AM
* You'll find some information by searching for "R2VB" (render to vertex buffer), but AFAIK, R2VB is only possible on certain, old (DX9/GL2?), AMD GPUs.
* On DX10(GL3?) GPUs, you should be able to tell the vertex shader to "stream out" (aka "transform feedback") the transformed vertices to a VBO, instead of rasterising them as triangles/primitives.
* On modern GPUs (DX11/GL4?) there might be a way to render to a texture, but then bind that texture resource as if it were a VBO (i.e. the same GPU memory allocation can be bound as a writeable texel buffer and as a readable vertex buffer), much like R2VB does.
Edited by Hodgman, 18 July 2012 - 12:53 AM.
Members - Reputation: 228
Posted 19 July 2012 - 09:11 AM
Edited by Koehler, 19 July 2012 - 09:14 AM.