Wiki Page Content

Differences between revisions 10 and 11
Revision 10 as of 2013-08-09 05:33:42
Size: 1345
Editor: Sam Lantinga
Comment:
Revision 11 as of 2013-08-09 05:35:04
Size: 1351
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 37: Line 37:
<<FullSearch(category:CategoryRender -CategoryEnum -CategoryStruct -title:SGFunctions)>> <<FullSearchCached(category:CategoryRender -CategoryEnum -CategoryStruct -title:SGFunctions)>>

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 2017-04-08 21:25:06 by PhilippWiesemann)

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