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
41GF_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
49typedef void gf_texture_t;
50#endif
51
52#endif
Type definitions related to drawing driver.
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
Required headers before anything.
Driver-dependent texture.
Definition draw_driver.h:56
Texture.
Definition texture.h:47