|
| virtual bool | Initialize (string title, int width, int height, bool vSync, bool fullScreen, IntPtr handle) |
| |
| bool | Frame (IntRange r, IntRange g, IntRange b, float interval, float alpha) |
| |
| void | ShutDown () |
| |
Definition at line 5 of file DSystem.cs.
◆ DSystem()
| BioImager.DSystem.DSystem |
( |
| ) |
|
◆ Frame()
| bool BioImager.DSystem.Frame |
( |
IntRange |
r, |
|
|
IntRange |
g, |
|
|
IntRange |
b, |
|
|
float |
interval, |
|
|
float |
alpha |
|
) |
| |
Definition at line 33 of file DSystem.cs.
34 {
35
36 if (Input.IsKeyDown(Keys.Escape))
37 return false;
38
39 return Graphics.Frame(r, g, b, interval, alpha);
40 }
◆ Initialize()
| virtual bool BioImager.DSystem.Initialize |
( |
string |
title, |
|
|
int |
width, |
|
|
int |
height, |
|
|
bool |
vSync, |
|
|
bool |
fullScreen, |
|
|
IntPtr |
handle |
|
) |
| |
|
virtual |
Definition at line 15 of file DSystem.cs.
16 {
17 bool result = false;
18
19 if (Configuration == null)
20 Configuration = new DSystemConfiguration(title, width, height, fullScreen, vSync);
21 if (Input == null)
22 {
23 Input = new DInput();
24 Input.Initialize();
25 }
26 if (Graphics == null)
27 {
28 Graphics = new DGraphics();
29 result = Graphics.Initialize(Configuration, handle, ImageView.SelectedImage);
30 }
31 return result;
32 }
◆ ShutDown()
| void BioImager.DSystem.ShutDown |
( |
| ) |
|
Definition at line 41 of file DSystem.cs.
42 {
43 Graphics?.ShutDown();
44 Graphics = null;
45 Input = null;
46 Configuration = null;
47 }
◆ Configuration
◆ Graphics
◆ Input
| DInput BioImager.DSystem.Input |
|
get |
The documentation for this class was generated from the following file:
- F:/repos/BioImager/BioImager/Graphics/System/DSystem.cs