sead
Loading...
Searching...
No Matches
seadTexture.h
Go to the documentation of this file.
1#ifndef SEAD_TEXTURE_H_
2#define SEAD_TEXTURE_H_
3
4#include <prim/seadRuntimeTypeInfo.h>
5
6namespace sead {
7
8class Texture
9{
11
12public:
13 Texture() { }
14 virtual ~Texture() { }
15
16 virtual u32 getWidth() const = 0;
17 virtual u32 getHeight() const = 0;
18};
19#ifdef cafe
20static_assert(sizeof(Texture) == 4, "sead::Texture size mismatch");
21#endif // cafe
22
23} // namespace sead
24
25#endif // SEAD_TEXTURE_H_
Definition seadTexture.h:9
virtual u32 getHeight() const =0
virtual ~Texture()
Definition seadTexture.h:14
virtual u32 getWidth() const =0
Texture()
Definition seadTexture.h:13
Definition seadAssert.h:44
#define SEAD_RTTI_BASE(CLASS)
Definition seadRuntimeTypeInfo.h:75