#pragma once
#include "Graphics.h"
#include "Logger.h"

class Bindable
{
public:
	virtual void Bind(Graphics& gfx, Logger& logger) noexcept = 0;
	virtual ~Bindable() = default;
protected:
	static ID3D11DeviceContext* GetContext(Graphics& gfx) noexcept;
	static ID3D11Device* GetDevice(Graphics& gfx) noexcept;
};