#pragma once #include "Bindable.h" #include #include #include class VertexBuffer : public Bindable { public: template VertexBuffer(Graphics& gfx, const std::vector& vertices); void Bind(Graphics& gfx) noexcept override; protected: UINT stride; Microsoft::WRL::ComPtr pVertexBuffer; };