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
30GF_EXPORT gf_texture_t* gf_texture_create(gf_draw_t* draw, int width, int height, unsigned char* data);
31
38
39#endif
Type definitions related to drawing interface.
#define GF_EXPORT
Macro for platform-dependent symbol export/import.
Definition gf_macro.h:190
Required headers before anything.
void gf_texture_destroy(gf_texture_t *texture)
Destroy texture.
Definition gf_texture.c:33
gf_texture_t * gf_texture_create(gf_draw_t *draw, int width, int height, unsigned char *data)
Create texture.
Definition gf_texture.c:17
Drawing interface.
Definition draw.h:108
Texture.
Definition texture.h:49
Type definitions related to texture.