#include <mrn/Texture.h> void mrnTextureInit( MrnTexture *texture_ptr );
Renders objects using the texture
#include <mrn/Texture.h> Gfx *mrnTextureDrawObjects( MrnTexture *texture_ptr, MrnContext *context_ptr, Gfx *gfx_ptr );
Generates a gfx which sets the texture
#include <mrn/Texture.h> Gfx *mrnTextureGenerateGfx( MrnTexture *texture_ptr, MrnContext *context_ptr, Gfx *gfx_ptr );
#include <mrn/Texture.h> typedef struct _MrnTexture { struct _MrnTexture *next_ptr; MrnObjectList object_list; /* A list of object that uses this Group, internally used for sorting.*/ u16 scale_s; u16 scale_t; u16 texel_size; u8 mipmap; u8 detail; u8 filter; u8 perspective_correction; u8 yuv_color_convert; u8 number_of_tiles; MrnTextureTile tile_array[ MRN_TEXTURE_MAX_TILES ]; } MrnTexture;