SDL VideoInfo: Unterschied zwischen den Versionen

Aus DGL Wiki
Wechseln zu: Navigation, Suche
K (Bot: konvertiere/korrigiere <BR>)
(Delphi-Spezifikation: Update auf 1.2.10)
Zeile 19: Zeile 19:
 
       ''blit_sw_A''    : Uint32;
 
       ''blit_sw_A''    : Uint32;
 
       ''blit_fill''    : Uint32;
 
       ''blit_fill''    : Uint32;
 +
      ''current_w''    : Integer;
 +
      ''current_h''    : Integer;
 
       ''video_mem''    : Uint32;
 
       ''video_mem''    : Uint32;
 
       ''vfmt''          : PSDL_PixelFormat;
 
       ''vfmt''          : PSDL_PixelFormat;

Version vom 20. Mai 2006, 00:18 Uhr

SDL_VideoInfo

Name

SDL_VideoInfo - Enthält Videoinformationen


Delphi-Spezifikation

type SDL_VideoInfo = record
     hw_available  : Uint32;
     wm_available  : Uint32;
     blit_hw       : Uint32;
     blit_hw_CC    : Uint32;
     blit_hw_A     : Uint32;
     blit_sw       : Uint32;
     blit_sw_CC    : Uint32;
     blit_sw_A     : Uint32;
     blit_fill     : Uint32;
     current_w     : Integer;
     current_h     : Integer;
     video_mem     : Uint32;
     vfmt          : PSDL_PixelFormat;
end;


Parameter

hw_available Ist es möglich eine Hardware Surface zu erstellen?
wm_available Ist ein Fenstermanager verfügbar?
blit_hw Sind Hardware zu Hardware [Blit]s beschleunigt?
blit_hw_CC Sind Hardware zu Hardware Farbwert[Blit]s beschleunigt?
blit_hw_A Sind Hardware zu Hardware Alpha[Blit]s beschleunigt?
blit_sw Sind Software zu Hardware [Blit]s beschleunigt?
blit_sw_CC Sind Software zu Hardware Farbwert[Blit]s beschleunigt?
blit_sw_A Sind Software zu Hardware Alpha[Blit]s beschleunigt?
blit_fill Sind color fills beschleunigt?
videomem Grafikkartenspeicher in Kilobytes.
vfmt Pixelformat der Grafikkarte



Beschreibung

Enthält (nur lesbare) Videoinformationen. vfmt enthält entweder das 'best' mögliche Format (wenn vor SDL_SetVideoMode aufgerufen) oder die des aktuellen Videomodus.



Siehe auch

SDL_PixelFormat, SDL_GetVideoInfo