#pragma once #include "Bindable.h" #include "Graphics.h" #include "Surface.h" #include #include "Logger.h" #include #include class Texture : public Bindable { public: Texture(Graphics& gfx, Surface& surface); void Bind(Graphics& gfx, UINT slot, Logger& logger); protected: Microsoft::WRL::ComPtr pTextureView; std::vector> surfaces; };