Wiki Page Content

Differences between revisions 9 and 10
Revision 9 as of 2009-12-10 07:21:56
Size: 1264
Editor: SheenaSmith
Comment: edit content
Revision 10 as of 2009-12-10 07:45:19
Size: 1567
Editor: SheenaSmith
Comment: content added
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
||const char*||''name''||the name of the renderer||
||Uint32||''flags''||supported [[SDL_RendererFlags]]||
||Uint32||''mod_modes''||a mask of supported channel modulation||
||Uint32||''blend_modes''||a mask of supported blend modes||
||Uint32||''scale_modes''||a mask of supported scale modes||
||Uint32||''num_texture_formats''||the number of available texture formats||
||Uint32[20]||''texture_formats''||the available texture formats||
||int||''max_texture_width''||the maximimum texture width||
||int||''max_texture_height''||the maximimum texture height||
||const char*||'''name'''||the name of the renderer||
||Uint32||'''flags'''||a mask of supported [[SDL_RendererFlags]]; see [[#flags|Remarks]] for details||
||Uint32||'''mod_modes'''||a mask of supported channel modulation; see [[#mod_modes|Remarks]] for details||
||Uint32||'''blend_modes'''||a mask of supported blend modes||
||Uint32||'''scale_modes'''||a mask of supported scale modes||
||Uint32||'''num_texture_formats'''||the number of available texture formats||
||Uint32[20]||'''texture_formats'''||the available texture formats||
||int||'''max_texture_width'''||the maximimum texture width||
||int||'''max_texture_height'''||the maximimum texture height||
Line 28: Line 28:
''You can add useful comments here'' <<Anchor(mod_modes)>> '''mod_modes''' may be a mask of any of the following [[SDL_TextureModulate]] values OR'd together: <<Include(SDL_TextureModulate, , , from="== Values ==", to="== Code Examples ==")>>
Line 33: Line 34:
 l[[SDL_TextureModulate]]

SDL_RendererInfo

A structure that contains information on the capabilities of a render driver or context.

Data Fields

const char*

name

the name of the renderer

Uint32

flags

a mask of supported SDL_RendererFlags; see Remarks for details

Uint32

mod_modes

a mask of supported channel modulation; see Remarks for details

Uint32

blend_modes

a mask of supported blend modes

Uint32

scale_modes

a mask of supported scale modes

Uint32

num_texture_formats

the number of available texture formats

Uint32[20]

texture_formats

the available texture formats

int

max_texture_width

the maximimum texture width

int

max_texture_height

the maximimum texture height

Code Examples

You can add your code example here

Remarks

mod_modes may be a mask of any of the following SDL_TextureModulate values OR'd together:

SDL_TEXTUREMODULATE_NONE

no modulation

SDL_TEXTUREMODULATE_COLOR

srcC = srcC * color

SDL_TEXTUREMODULATE_ALPHA

srcA = srcA * alpha


CategoryStruct

None: SDL_RendererInfo (last edited 2014-02-09 22:23:58 by mattbentley)

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