mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
23 lines
482 B
C++
23 lines
482 B
C++
#ifndef XNA_GRAPHICS_RENDERTARGET_HPP
|
|
#define XNA_GRAPHICS_RENDERTARGET_HPP
|
|
|
|
#include "../default.hpp"
|
|
#include "texture.hpp"
|
|
|
|
namespace xna {
|
|
class RenderTarget2D : public Texture2D {
|
|
public:
|
|
RenderTarget2D();
|
|
RenderTarget2D(sptr<GraphicsDevice> const& device);
|
|
|
|
~RenderTarget2D() override;
|
|
bool Initialize(xna_error_nullarg);
|
|
bool Apply(xna_error_nullarg);
|
|
|
|
public:
|
|
struct PlatformImplementation;
|
|
uptr<PlatformImplementation> render_impl = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif |