hyporo-cpp/source/hyporo/gpu/texture.hpp
2022-10-05 21:10:51 +05:00

38 lines
465 B
C++

#pragma once
#include "context.hpp"
#include <string>
namespace hpr::gpu
{
class Texture : public Context
{
protected:
std::string p_filename;
int p_width;
int p_height;
public:
// Constructors
Texture();
Texture(DeviceAPI api);
virtual ~Texture();
// Member functions
std::string filename() const;
int width() const;
int height() const;
};
} // end namespace hpr::gpu