SDL VideoInfo: Unterschied zwischen den Versionen
Aus DGL Wiki
I0n0s (Diskussion | Beiträge) () |
Flash (Diskussion | Beiträge) K () |
||
| Zeile 7: | Zeile 7: | ||
<br> | <br> | ||
== Delphi-Spezifikation == | == Delphi-Spezifikation == | ||
| − | type | + | 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; | |
| − | + | ''video_mem'' : Uint32; | |
| − | + | ''vfmt'' : PSDL_PixelFormat; | |
| − | + | end; | |
| − | |||
<br> | <br> | ||
Version vom 25. August 2005, 20:15 Uhr
Inhaltsverzeichnis
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;
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.