Sign in to follow this  
sofakng

Can you render to a texture in system memory?

Recommended Posts

I'm actually learning XNA, but I'm curious if ANY implementation of DirectX let's you create a texture/render-target in system memory and then render to it. Thanks for any help :)

Share this post


Link to post
Share on other sites
Thanks for the reply!

I'm actually creating a Worms type of game and I'm trying to create very large, resolution independant 2D terrain.

I'm using the stencil buffer to display my terrain, but I need to keep a resolution independant collision/stencil mask in system memory...

If I want to deform the terrain mask with a circle, I guess I'll just have to create a "circle array" and manually do everything...?

Anybody have any other ideas?

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