Wiki Page Content

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, rotated or flipped/mirrored.

For advanced functionality like particle effects or actual 3D you should use SDL's OpenGL/Direct3D support or one of the many available 3D engines.

This API is not designed to be used from multiple threads, see this bug for details.

Enumerations

Structures

Functions


CategoryCategory

None: CategoryRender (last edited 2013-08-09 05:35:04 by Sam Lantinga)

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