Jump to content
  • Advertisement
Sign in to follow this  
derek7

Basic Structure of a Graphics Application

This topic is 4865 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

Basic Structure of a Graphics Application -Initialize APIInitialization-Check hardware capabilities -Create resources: render targets, shaders, textures, geometry -For every frame: Rendering loop -Draw to back buffer: -Clear frame buffer -For each draw call: -Set index and vertex buffers -Set vertex and pixel shaders and their parameters -Set texture sampling parameters -Set render states -Set render target -Issue draw command -Swap back buffer and front buffer my question is: render targets is a target. Is it a resources? It need to create ? Isn't it a final target?

Share this post


Link to post
Share on other sites
Advertisement
The render target is usually the back buffer. This is basically a texture resource which needs to be created and added to the swap chain of the device. You can also render to other textures designated as render targets to achieve certain effects or take screenshots. I don't understand what you mean by 'final target'.

Greetz,

Illco

Share this post


Link to post
Share on other sites
I mean do a lot of work in 3d in order to get a or a sequence of 2d image on screen of compute.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!