17.01.2021
+ WPF-Support + Game Controller System + GameKeybind System + SM_WPF_TEST
This commit is contained in:
parent
af90d617d3
commit
6f23a80f7f
60 changed files with 1536 additions and 143 deletions
|
|
@ -22,7 +22,7 @@ namespace SM2D.Pipelines
|
|||
|
||||
}
|
||||
|
||||
protected override void Initialization(GenericWindow window)
|
||||
protected override void Initialization(IGenericWindow window)
|
||||
{
|
||||
MainFramebuffer = CreateWindowFramebuffer();
|
||||
}
|
||||
|
|
@ -31,13 +31,10 @@ namespace SM2D.Pipelines
|
|||
{
|
||||
if (scene != null)
|
||||
{
|
||||
MainFramebuffer.Activate(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
|
||||
scene.DrawBackground(context);
|
||||
|
||||
scene.DrawMainObjects(context);
|
||||
|
||||
Framebuffer.Screen.Activate();
|
||||
|
||||
scene.DrawHUD(context);
|
||||
scene.DrawDebug(context);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue