Commit ddfdd2c2 authored by Sam Lantinga's avatar Sam Lantinga

Added an intro to the features and goals of the 2D rendering API.

parent c1295241
...@@ -24,13 +24,29 @@ ...@@ -24,13 +24,29 @@
* \file SDL_render.h * \file SDL_render.h
* *
* Header file for SDL 2D rendering functions. * Header file for SDL 2D rendering functions.
*
* This API supports the following features:
* * single pixel points
* * single pixel lines
* * filled rectangles
* * texture images
*
* The primitives may be drawn in opaque, blended, or additive modes.
*
* The texture images may be drawn in opaque, blended, or additive modes.
* They can have an additional color tint or alpha modulation applied to
* them, and may also be stretched with linear interpolation.
*
* This API is designed to accelerate simple 2D operations. You may
* want more functionality such as rotation and particle effects and
* in that case you should use SDL's OpenGL/Direct3D support or one
* of the many good 3D engines.
*/ */
#ifndef _SDL_render_h #ifndef _SDL_render_h
#define _SDL_render_h #define _SDL_render_h
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
//#include "SDL_pixels.h"
#include "SDL_rect.h" #include "SDL_rect.h"
#include "SDL_video.h" #include "SDL_video.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment