#pragma once #include "ConstantBuffer.h" #include "Drawable.h" #include class TransformCbuf : public Bindable { public: TransformCbuf(Graphics& gfx, const Drawable& parent); void Bind(Graphics& gfx) noexcept override; private: VertexConstantBuffer vcbuf; const Drawable& parent; };