Arcade
|
Base class for graphics hardware interfaces. More...
Protected Member Functions | |
override void | OnAttachImplementation () |
Protected Member Functions inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation > | |
override void | OnInitialize () |
Protected Member Functions inherited from GameAPI.Peripheral | |
void | ClearFrameWriter () |
virtual void | OnRegisterResourceTypes (ResourceManager library) |
virtual void | OnLoadResources (Resources volume) |
virtual void | OnReset () |
virtual void | OnDeserializeSetup (Stream stream) |
virtual void | OnSerializeSetup (Stream stream) |
virtual void | OnStartControlling () |
virtual void | OnStopControlling () |
virtual void | OnDeserializeFrame (Stream stream) |
virtual void | OnUpdateFrame (double dt) |
virtual void | OnSerializeFrame (Stream stream) |
virtual void | OnCopyFrame (Stream stream) |
Properties | |
int | Width [get] |
Horizontal resolution of the screen in pixels. More... | |
int | Height [get] |
Vertical resolution of the screen in pixels. More... | |
int | LastFrameSize [get] |
Number of bytes of graphical data drawn last frame. More... | |
Vector2I | Size [get] |
Resolution of the screen in pixels. More... | |
float | Aspect [get] |
Aspect ratio of the screen. More... | |
bool | ShouldSerialize [get] |
Properties inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation > | |
virtual bool | ShouldUpdate [get] |
Properties inherited from GameAPI.Peripheral | |
BinaryWriter | FrameWriter [get] |
Additional Inherited Members | |
Public Member Functions inherited from GameAPI.Peripheral< TGame, TProvider, TImplementation > | |
override void | Dispose () |
Base class for graphics hardware interfaces.
TGame | : | GameBase | |
TImplementation | : | PeripheralImplementation<GraphicsProvider> | |
TImplementation | : | new() |
|
inlineprotectedvirtual |
Reimplemented from GameAPI.Peripheral< TGame, TProvider, TImplementation >.
|
get |
Aspect ratio of the screen.
|
get |
Vertical resolution of the screen in pixels.
|
get |
Number of bytes of graphical data drawn last frame.
|
getprotected |
|
get |
Resolution of the screen in pixels.
|
get |
Horizontal resolution of the screen in pixels.