mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
33 lines
685 B
C++
33 lines
685 B
C++
#ifndef XNA_GRAPHICS_BUFFER_HPP
|
|
#define XNA_GRAPHICS_BUFFER_HPP
|
|
|
|
#include "../default.hpp"
|
|
#include "gresource.hpp"
|
|
|
|
namespace xna {
|
|
class ConstantBuffer : public GraphicsResource {
|
|
public:
|
|
ConstantBuffer();
|
|
ConstantBuffer(sptr<GraphicsDevice> const&);
|
|
~ConstantBuffer();
|
|
bool Initialize(xna_error_nullarg);
|
|
|
|
public:
|
|
struct PlatformImplementation;
|
|
uptr<PlatformImplementation> impl = nullptr;
|
|
};
|
|
|
|
class DataBuffer : public GraphicsResource {
|
|
public:
|
|
DataBuffer();
|
|
DataBuffer(sptr<GraphicsDevice> const&);
|
|
~DataBuffer();
|
|
bool Initialize(xna_error_nullarg);
|
|
|
|
public:
|
|
struct PlatformImplementation;
|
|
uptr<PlatformImplementation> impl = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif |