2D Accelerated Rendering

Include File(s): SDL_render.h

Introduction

This category contains functions for 2D accelerated rendering.

This API supports the following features:

  • single pixel points
  • single pixel lines
  • filled rectangles
  • texture images

All of these may be drawn in opaque, blended, or additive modes.

The texture images 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.

Enumerations

Structures

Functions


CategoryCategory

CategoryRender (last edited 2012-01-03 23:27:13 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit