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
6
namespace
sead
{
7
8
class
Texture
9
{
10
SEAD_RTTI_BASE
(
Texture
)
11
12
public
:
13
Texture
() { }
14
virtual
~
Texture
() { }
15
16
virtual
u32
getWidth
()
const
= 0;
17
virtual
u32
getHeight
()
const
= 0;
18
};
19
#
ifdef
cafe
20
static_assert
(
sizeof
(
Texture
) == 4,
"sead::Texture size mismatch"
);
21
#
endif
// cafe
22
23
}
// namespace sead
24
25
#
endif
// SEAD_TEXTURE_H_
sead::Texture
Definition
seadTexture.h:9
sead::Texture::getHeight
virtual u32 getHeight() const =0
sead::Texture::~Texture
virtual ~Texture()
Definition
seadTexture.h:14
sead::Texture::getWidth
virtual u32 getWidth() const =0
sead::Texture::Texture
Texture()
Definition
seadTexture.h:13
sead
Definition
seadAssert.h:44
SEAD_RTTI_BASE
#define SEAD_RTTI_BASE(CLASS)
Definition
seadRuntimeTypeInfo.h:75
engine
library
include
gfx
seadTexture.h
Generated by
1.14.0