GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
texture.h
Go to the documentation of this file.
1
7
#ifndef __GF_TYPE_TEXTURE_H__
8
#define __GF_TYPE_TEXTURE_H__
9
10
#include <
gf_pre.h
>
11
#include <
gf_macro.h
>
12
13
#ifdef GF_EXPOSE_TEXTURE
14
/* External library */
15
16
/* Engine */
17
#include <
gf_type/draw_driver.h
>
18
19
/* Standard */
20
41
GF_DECLARE_TYPE
(texture, {
42
gf_draw_driver_texture_t
* draw_driver_texture;
43
int
width;
44
int
height;
45
int
internal_width;
46
int
internal_height;
47
});
48
#else
49
typedef
void
gf_texture_t
;
50
#endif
51
52
#endif
draw_driver.h
Type definitions related to drawing driver.
gf_macro.h
Macro.
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition
gf_macro.h:172
gf_pre.h
Required headers before anything.
gf_draw_driver_texture_t
Driver-dependent texture.
Definition
draw_driver.h:56
gf_texture_t
Texture.
Definition
texture.h:47
include
gf_type
texture.h
Generated by
1.9.8