Advertisement Jump to content
Sign in to follow this  

(FIXED 4 Days to find what was going on)DX10 Rendering to stream out

This topic is 2716 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When rendering to a stream out do I need to wait for for the streamed buffer to have data.

because if I have a loop like so

for(ctr = 0; ctr < 10; ctr++)
rendertostream(mesh[ctr];//each mesh has its own buffer that gets streamed to

and then I try to render the streamed out buffers straight after the loop above is done and nothing gets rendered

but if I first render to the stream then I quit out and come back later and render the streamed buffers it works.

Well you dont need to wait for the streamed buffer.

One of my shaders was setting the depth stencil state to false.

Placed this cond in the fx tech and it worked

// State
DepthStencilState DisableDepth
DepthEnable = FALSE;
DepthWriteMask = 0;

DepthStencilState EnableDepth
DepthEnable = TRUE;
DepthWriteMask = ALL;

SetDepthStencilState( EnableDepth, 0 );

had me there for a while needed to post and like always just after posting I find the issue.:)

how do I find out when my stream has been filled.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!