The struct of type t_uv_image represents an image used for texturing another image. More...
#include <patterns.h>
Data Fields | |
| void * | mlx_ptr |
| void * | win_ptr |
| void * | img_ptr |
| char * | addr |
| int | bpp |
| int | line_len |
| int | endian |
| int | width |
| int | height |
The struct of type t_uv_image represents an image used for texturing another image.
The t_uv_image structure contains the necessary fields for storing image data and relevant information used for texturing operations. It is used to define an image that can be applied as a texture on another image or rendered onto a canvas.
| mlx_ptr | A pointer to a connection with the Xserver. |
| win_ptr | A pointer to a window created with MLX (MinilibX). |
| img_ptr | A pointer to an image created with MLX (MinilibX). |
| addr | A pointer to the image data, indicating how to write data on pixels of the image. |
| bpp | The bits per pixel value of the image. |
| line_len | The line length value of the image. |
| endian | The endianness order of the image. |
| width | The width of the image in pixels. |
| height | The height of the image in pixels. |