1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/includes/xna/graphics/rendertarget.hpp

23 lines
555 B
C++
Raw Permalink Normal View History

2024-03-18 15:41:46 -03:00
#ifndef XNA_GRAPHICS_RENDERTARGET_HPP
#define XNA_GRAPHICS_RENDERTARGET_HPP
2024-05-23 14:38:16 -03:00
#include "texture.hpp"
2024-03-18 15:41:46 -03:00
namespace xna {
struct RenderTarget2DImplementation;
//Contains a 2D texture that can be used as a render target.
2024-05-23 14:38:16 -03:00
class RenderTarget2D : public Texture2D {
2024-03-18 15:41:46 -03:00
public:
2024-05-23 14:38:16 -03:00
RenderTarget2D();
2024-11-16 14:28:29 -03:00
RenderTarget2D(std::shared_ptr<GraphicsDevice> const& device);
2024-11-16 14:28:29 -03:00
static P_RenderTarget2D FromBackBuffer(std::shared_ptr<GraphicsDevice> const& device);
2024-05-23 14:38:16 -03:00
2024-11-16 14:28:29 -03:00
void Initialize();
std::unique_ptr<RenderTarget2DImplementation> Implementation2;
2024-03-21 16:01:47 -03:00
};
2024-03-18 15:41:46 -03:00
}
#endif