Results 1 - 25 of 29 results out of about 6839 pages. (4.05 seconds)
- SDL_PixelFormatEnum . . . 56 matches
- ...
= SDL_PixelFormatEnum =
An enumeration of pixel formats.
<<TableOfContents()>>
== Values ==
=== Pixel Format Macros ===
||SDL_PIXELTYPE(format)||the type of the pixel format; ...
- SDL_PixelFormat . . . 8 matches
- ...
= SDL_PixelFormat =
A structure that contains pixel format information.
<<TableOfContents()>>
== Data Fields ==
||Uint32||'''format'''||one of the [[SDL_PixelFormatEnum]] valu...
- SDL_PixelFormatEnumToMasks . . . 5 matches
- ...
= SDL_PixelFormatEnumToMasks =
Use this function to convert one of the enumerated pixel formats to a bpp value and RGBA masks.
<<TableOfContents()>>
== Syntax ==
{{{#!highligh...
- SGEnumerations . . . 5 matches
- ...ample'': There are currently no enumeration examples of this. [[SDL_Surface]], [[SDL_PixelFormat]]||
||<( |3 30%>''If'' __another API page__ is referenced ''and'' __the value is ...
- SDL_AllocFormat . . . 5 matches
- ...
= SDL_AllocFormat =
Use this function to create an [[SDL_PixelFormat]] structure corresponding to a pixel format.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
SDL_Pix...
- SGStructures . . . 4 matches
- ...ss of the page.
''Example'': The page address {{{http://wiki.libsdl.org/moin.cgi/SDL_PixelFormat}}} should have matching title {{{SDL_PixelFormat}}} and describe the [[SDL_PixelF...
- SDL_ConvertSurface . . . 4 matches
- ..._ConvertSurface(SDL_Surface* src,
const SDL_PixelFormat* fmt,
Uint32 flags)
}}}
== Func...
- SGFunctions . . . 3 matches
- ...red to adequately explain a parameter" below for more details.||
||''Example'': [[SDL_PixelFormatEnumToMasks]]()||
||<( |4 30%>''If'' a __more detailed description__ is required t...
- SDL_RendererInfo . . . 3 matches
- ...amples ==")>>
<<Anchor(texture_formats)>> '''texture_formats''' is an array of [[SDL_PixelFormatEnum]] values representing the available texture formats for the renderer <<Includ...
- SDL_Palette . . . 3 matches
- ...an index into the '''colors''' field of the [[SDL_Palette]] structure stored in [[SDL_PixelFormat]]. An [[SDL_Palette]] should never need to be created manually. It is automatical...
- SDL_MasksToPixelFormatEnum . . . 3 matches
- ...he alpha mask for the format||
== Return Value ==
Returns one of the following [[SDL_PixelFormatEnum]] values:
<<Include(SDL_PixelFormatEnum, , , from="Start Include here.", to="...
- SDL_FreeFormat . . . 3 matches
- ...
= SDL_FreeFormat =
Use this function to free an [[SDL_PixelFormat]] structure allocated by [[SDL_AllocFormat]].
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
void SDL_...
- SDL_CreateTexture . . . 3 matches
- ...rer'''||the rendering context||
||'''format'''||one of the enumerated values in [[SDL_PixelFormatEnum]]; see [[#format|Remarks]] for details||
||'''access'''||one of the enumerate...
- SDL_CreateRGBSurfaceWithFormatFrom . . . 3 matches
- ...e||
||'''pitch'''||the length of a row of pixels in bytes||
||'''format'''||the [[SDL_PixelFormatEnum|pixel format]] of the surface to create||
== Return Value ==
Returns a new ...
- SGWikiBasics . . . 2 matches
- ...xample'': See the Remarks section of [[SDL_REVISION]] or Pixel Format Values on [[SDL_PixelFormatEnum]] in the text editor.
''Action 3'': __On the source page__ place the follow...
- SDL_Surface . . . 2 matches
- ...28, 128);">'''flags''' ||<style="color: rgb(128, 128, 128);">(internal use)||
||[[SDL_PixelFormat]]* ||'''format''' ||the format of the pixels stored in the surface; see [[SDL_Pix...
- SDL_SetPixelFormatPalette . . . 2 matches
- ...ableOfContents()>>
== Syntax ==
{{{#!highlight cpp
int SDL_SetPixelFormatPalette(SDL_PixelFormat* format,
SDL_Palette* palette)
}}}
== Function...
- SDL_MapRGBA . . . 2 matches
- ...
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
Uint32 SDL_MapRGBA(const SDL_PixelFormat* format,
Uint8 r,
Uint8 ...
- SDL_MapRGB . . . 2 matches
- ....
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
Uint32 SDL_MapRGB(const SDL_PixelFormat* format,
Uint8 r,
Uint8 ...
- SDL_GetRGBA . . . 2 matches
- ...ghlight cpp
void SDL_GetRGBA(Uint32 pixel,
const SDL_PixelFormat* format,
Uint8* r,
Uint8* ...
- SDL_GetRGB . . . 2 matches
- ...highlight cpp
void SDL_GetRGB(Uint32 pixel,
const SDL_PixelFormat* format,
Uint8* r,
Uint8* ...
- SDL_DisplayMode . . . 2 matches
- ...e.
<<TableOfContents()>>
== Data Fields ==
||Uint32||'''format'''||one of the [[SDL_PixelFormatEnum]] values; see [[#Remarks|Remarks]] for details||
||int||'''w'''||width, in sc...
- SDL_CreateRGBSurfaceWithFormat . . . 2 matches
- ...||'''depth'''||the depth in bits of the surface to create||
||'''format'''||the [[SDL_PixelFormatEnum|pixel format]] of the surface to create||
== Return Value ==
Returns a new ...
- SDL_ConvertSurfaceFormat . . . 2 matches
- ... the surface to convert||
||'''pixel_format'''||one of the enumerated values in [[SDL_PixelFormatEnum]]; see [[#format|Remarks]] for details||
||'''flags'''||the flags are unused ...
- SDL_ConvertPixels . . . 2 matches
- ...marks ==
'''src_format''' and '''dst_format''' may each be one of the following [[SDL_PixelFormatEnum]] values:
<<Include(SDL_PixelFormatEnum, , , from="=== Pixel Format Values ==...
