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

Renomeia ImplementationBase

This commit is contained in:
Danilo 2024-11-13 14:25:27 -03:00
parent 8a9415b88e
commit 9fac00699d
3 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ namespace xna {
struct GraphicsAdapterImplementation;
//Provides methods to retrieve and manipulate graphics adapters.
class GraphicsAdapter : public ImplementationBase<GraphicsAdapterImplementation> {
class GraphicsAdapter : public PlatformImplementation<GraphicsAdapterImplementation> {
public:
//Collection of available adapters on the system.
static void Adapters(std::vector<std::unique_ptr<GraphicsAdapter>>& adapters);

View File

@ -104,7 +104,7 @@ namespace xna {
struct BlendStateImplementation;
//Contains blend state for the device.
class BlendState : public GraphicsResource, public ImplementationBase<BlendStateImplementation> {
class BlendState : public GraphicsResource, public PlatformImplementation<BlendStateImplementation> {
public:
BlendState();
BlendState(std::shared_ptr<GraphicsDevice> const& device);

View File

@ -4,8 +4,8 @@
#include <memory>
namespace xna {
template <typename T> struct ImplementationBase {
virtual ~ImplementationBase() {}
template <typename T> struct PlatformImplementation {
virtual ~PlatformImplementation() {}
std::unique_ptr<T> Implementation;
};