16 lines
305 B
C++
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>>;
|
|
}
|