Basic Structure of a Graphics Application
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?
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
Greetz,
Illco
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement