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 SDL bug #1995 for details.

Enumerations

Structures

Functions


CategoryCategory

None: CategoryRender (last edited 2017-04-08 21:25:06 by PhilippWiesemann)

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