MLX42 1.0
MLX42
|
#include "MLX42/MLX42_Int.h"
Go to the source code of this file.
Functions | |
mlx_image_t * | mlx_texture_to_image (mlx_t *mlx, mlx_texture_t *texture) |
void | mlx_delete_texture (mlx_texture_t *texture) |
void mlx_delete_texture | ( | mlx_texture_t * | texture | ) |
Deletes a texture by freeing its allocated data.
[in] | texture | The texture to free. |
Definition at line 37 of file mlx_texture.c.
mlx_image_t * mlx_texture_to_image | ( | mlx_t * | mlx, |
mlx_texture_t * | texture | ||
) |
Converts a given texture to an image.
[in] | mlx | The MLX instance handle. |
[in] | texture | The texture to use to create the image from. |
Definition at line 17 of file mlx_texture.c.