Interface IServices
Provides access to all Yak2D core components
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public interface IServices
Properties
Backend
Platform API operations
Declaration
IBackend Backend { get; }
Property Value
| Type | Description |
|---|---|
| IBackend |
Cameras
Camera Operations: Creation, Configuration and Destruction 2D Cameras are used by Drawing Stages (IDrawStage and IDistortionStage) 3D Cameras are used by the MeshRender Stage
Declaration
ICameras Cameras { get; }
Property Value
| Type | Description |
|---|---|
| ICameras |
Display
Display / Window Operations: Resolution, Position, Title, State
Declaration
IDisplay Display { get; }
Property Value
| Type | Description |
|---|---|
| IDisplay |
Fonts
Font Operations: Load, Destroy and Count
Declaration
IFonts Fonts { get; }
Property Value
| Type | Description |
|---|---|
| IFonts |
FPS
Provides current per-second rates for update and draw/render iteration loops
Declaration
IFps FPS { get; }
Property Value
| Type | Description |
|---|---|
| IFps |
Helpers
Helper objects to support / simplify rendering stages
Declaration
IHelpers Helpers { get; }
Property Value
| Type | Description |
|---|---|
| IHelpers |
Input
Input Operations Yak2D supports Keyboard, Mouse and Gamepad input
Declaration
IInput Input { get; }
Property Value
| Type | Description |
|---|---|
| IInput |
Stages
Render Stage Operations Creation, configuration and destruction of render stages and viewports
Declaration
IStages Stages { get; }
Property Value
| Type | Description |
|---|---|
| IStages |
Surfaces
GPU Surface Operations Texture and Render Target Creation and Destruction
Declaration
ISurfaces Surfaces { get; }
Property Value
| Type | Description |
|---|---|
| ISurfaces |