GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
gf_texture.h
Go to the documentation of this file.
1
7
#ifndef __GF_TEXTURE_H__
8
#define __GF_TEXTURE_H__
9
10
#include <
gf_pre.h
>
11
#include <
gf_macro.h
>
12
13
/* Type */
14
#include <
gf_type/texture.h
>
15
16
/* Engine */
17
#include <
gf_type/draw.h
>
18
19
/* Standard */
20
30
GF_EXPORT
gf_texture_t
*
gf_texture_create
(
gf_draw_t
* draw,
int
width,
int
height,
unsigned
char
* data);
31
37
GF_EXPORT
void
gf_texture_destroy
(
gf_texture_t
* texture);
38
39
#endif
draw.h
Type definitions related to drawing interface.
gf_macro.h
Macro.
GF_EXPORT
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition
gf_macro.h:190
gf_pre.h
Required headers before anything.
gf_texture_destroy
void gf_texture_destroy(gf_texture_t *texture)
Destroy texture.
Definition
gf_texture.c:33
gf_texture_create
gf_texture_t * gf_texture_create(gf_draw_t *draw, int width, int height, unsigned char *data)
Create texture.
Definition
gf_texture.c:17
gf_draw_t
Drawing interface.
Definition
draw.h:108
gf_texture_t
Texture.
Definition
texture.h:49
texture.h
Type definitions related to texture.
include
gf_texture.h
Generated by
1.9.8