Sign in to follow this  
besh81

glReadPixels in DirectX

Recommended Posts

You need to "Lock" the backbuffer to get a pointer to the data, then treat that as reading from any normal array. You may have to set up your back buffer in a certain way to be able to lock it though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this