2020-02-29 10:33:37 +01:00

16 lines
305 B
C++

#pragma once
#include <d3d12.h>
#include "utils.h"
namespace eg3d {
class IDrawable {
public:
virtual void draw(ComPtr<ID3D12GraphicsCommandList> commandList) const = 0;
};
// kirajzolható objektumok tárolója
using DrawablePool = std::vector<std::shared_ptr<IDrawable>>;
}