update example to latest moonworks
parent
d8708818cb
commit
929800bc3c
@ -1 +1 @@
|
||||
Subproject commit 9028a8b1a02d1f73be3d8006f72a8a68acccacdf
|
||||
Subproject commit 8f9aaf6d612b97d77ff5013e758846894777089a
|
@ -1,32 +0,0 @@
|
||||
using MoonWorks.Graphics;
|
||||
|
||||
namespace MoonWorksMultiWindow.Graphics
|
||||
{
|
||||
public class RenderTargets
|
||||
{
|
||||
public RenderTarget ExampleRenderTarget { get; }
|
||||
public RenderTarget ExtraWindowRenderTarget { get; }
|
||||
|
||||
public RenderTargets(
|
||||
GraphicsDevice graphicsDevice,
|
||||
uint renderDimensionsX,
|
||||
uint renderDimensionsY
|
||||
) {
|
||||
ExampleRenderTarget = RenderTarget.CreateBackedRenderTarget(
|
||||
graphicsDevice,
|
||||
renderDimensionsX,
|
||||
renderDimensionsY,
|
||||
TextureFormat.R8G8B8A8,
|
||||
false
|
||||
);
|
||||
|
||||
ExtraWindowRenderTarget = RenderTarget.CreateBackedRenderTarget(
|
||||
graphicsDevice,
|
||||
renderDimensionsX,
|
||||
renderDimensionsY,
|
||||
TextureFormat.R8G8B8A8,
|
||||
false
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
using MoonWorks.Graphics;
|
||||
|
||||
namespace MoonWorksMultiWindow.Graphics
|
||||
{
|
||||
public class GraphicsObjects
|
||||
{
|
||||
public RenderTargets RenderTargets { get; }
|
||||
|
||||
public GraphicsObjects(
|
||||
GraphicsDevice graphicsDevice,
|
||||
uint renderDimensionsX,
|
||||
uint renderDimensionsY
|
||||
)
|
||||
{
|
||||
RenderTargets = new RenderTargets(
|
||||
graphicsDevice,
|
||||
renderDimensionsX,
|
||||
renderDimensionsY
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue