Kohi Game Engine
|
A structure to hold image resource data. More...
#include <resource_types.h>
Data Fields | |
u8 | channel_count |
The number of channels. More... | |
u32 | width |
The width of the image. More... | |
u32 | height |
The height of the image. More... | |
u8 * | pixels |
The pixel data of the image. More... | |
u32 | mip_levels |
The number of mip levels to be generated for this image resource. Should be passed on to the texture using it. Must always be at least 1. More... | |
A structure to hold image resource data.
u8 channel_count |
The number of channels.
u32 height |
The height of the image.
u32 mip_levels |
The number of mip levels to be generated for this image resource. Should be passed on to the texture using it. Must always be at least 1.
u8* pixels |
The pixel data of the image.
u32 width |
The width of the image.