From f776df6076725d14679b31168e3ede53c966182e Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 31 Oct 2017 22:11:18 +0000 Subject: renaming base folder --- yage/core/texture.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 yage/core/texture.h (limited to 'yage/core/texture.h') diff --git a/yage/core/texture.h b/yage/core/texture.h new file mode 100644 index 00000000..82b7dde3 --- /dev/null +++ b/yage/core/texture.h @@ -0,0 +1,32 @@ +/* ---------------------------------------------------------------------------- + * texture.h + * + * Copyright (c) 2017 Yann Herklotz Grave -- MIT License + * See file LICENSE for more details + * ---------------------------------------------------------------------------- + */ + +#ifndef GL_TEXTURE_H +#define GL_TEXTURE_H + +#include + +namespace yage +{ + +struct Texture { + GLuint id; + int width; + int height; + + Texture() = default; + + Texture(GLuint id_i, int width_i, int height_i) + : id(id_i), width(width_i), height(height_i) + { + } +}; + +} // namespace yage + +#endif -- cgit