diff options
Diffstat (limited to 'include/texture.h')
-rw-r--r-- | include/texture.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/texture.h b/include/texture.h index e773e62..4caeebf 100644 --- a/include/texture.h +++ b/include/texture.h @@ -32,4 +32,11 @@ enum honey_texture_result honey_texture_new(honey_texture* texture, char* texture_path, bool alpha_channel); +/** @brief Load a texture into a texture unit. + * + * @param[in] texture The texture to use + * @param[in] texture_unit The texture unit to put the texture in + */ +void honey_texture_use(honey_texture texture, int texture_unit); + #endif |