I have a very simple vertex and pixel shader that they work fine, as MSDN describes here we can get vertex data from render pipeline, I want to know how can I do that does any one knows??
Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 19 January 2014 - 08:55 AM
What are you trying to do? The MSDN page you referenced links to an example ("Getting Started with the Stream-Output Stage") that shows how to stream the output of a geometry shader to a buffer.
You basically just
- Create a buffer with the appropriate flag
- Create a shader with stream-out
- Bind the buffer to the pipeline (SOSetTargets)
current project: Roa
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.