1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/Graphics/RenderTarget2D.h
Halofreak1990 ec0c1820dd Fixed TextureCollection issues caused by circular dependencies.
Added RenderTarget and RenderTarget2D classes to the XFX::Graphics namespace
Added Internal StorageDeviceAsyncResult class to the XFX::Storage namespace to aid in the implementation of the Guide.
Added Guide::BeginShowMessageBox and Guide::EndShowMessageBox methods
Began fixing comments to properly show up in IntelliSense
2011-06-09 12:57:16 +00:00

44 lines
1.4 KiB
C++

/********************************************************
* RenderTarget2D.h *
* *
* XFX RenderTarget2D definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _XFX_GRAPHICS_RENDERTARGET2D_
#define _XFX_GRAPHICS_RENDERTARGET2D_
#include <System/Types.h>
#include "RenderTarget.h"
//#include "Texture2D.h"
using namespace System;
namespace XFX
{
namespace Graphics
{
class GraphicsDevice;
class Texture2D;
class RenderTarget2D : public RenderTarget, virtual Object
{
private:
Texture2D* texture;
int renderBufferIdentifier;
protected:
void Dispose(bool disposing);
public:
RenderTarget2D(GraphicsDevice* graphicsDevice, int width, int height, int numberLevels, SurfaceFormat_t format);
RenderTarget2D(GraphicsDevice* graphicsDevice, int width, int height, int numberLevels, SurfaceFormat_t format, MultiSampleType_t multiSampleType, int multiSampleQuality);
RenderTarget2D(GraphicsDevice* graphicsDevice, int width, int height, int numberLevels, SurfaceFormat_t format, RenderTargetUsage_t usage);
RenderTarget2D(GraphicsDevice* graphicsDevice, int width, int height, int numberLevels, SurfaceFormat_t format, MultiSampleType_t multiSampleType, int multiSampleQuality, RenderTargetUsage_t usage);
Texture2D* GetTexture();
};
}
}
#endif //_XFX_GRAPHICS_RENDERTARGET2D_