diff options
Diffstat (limited to 'src/texture/texture.h')
-rw-r--r-- | src/texture/texture.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/texture/texture.h b/src/texture/texture.h index 037d3d0..c9d1104 100644 --- a/src/texture/texture.h +++ b/src/texture/texture.h @@ -20,6 +20,9 @@ typedef struct { int channels; } honey_texture; +/** @brief Place the honey.texture bindings as a table on the stack. */ +void honey_setup_texture(lua_State* L); + /** @brief Load a texture from disk. * * @param[out] texture Pointer to the destination texture @@ -28,9 +31,9 @@ typedef struct { * * @return Success or failure type */ -enum honey_texture_result honey_texture_new(honey_texture* texture, - char* texture_path, - bool alpha_channel); +enum honey_texture_result honey_texture_load(honey_texture* texture, + char* texture_path, + bool alpha_channel); /** @brief Load a texture into a texture unit. * |