Kore
Loading...
Searching...
No Matches
texturearray.h File Reference

Provides functions for creating and destroying texture-arrays. More...

#include <kinc/global.h>
#include "texture.h"
#include <kinc/backend/graphics4/texturearray.h>

Go to the source code of this file.

Data Structures

struct  kinc_g4_texture_array

Typedefs

typedef struct kinc_g4_texture_array kinc_g4_texture_array_t

Functions

KINC_FUNC void kinc_g4_texture_array_init (kinc_g4_texture_array_t *array, kinc_image_t *images, int count)
 Allocates and initializes a texture-array based on an array of images.
KINC_FUNC void kinc_g4_texture_array_destroy (kinc_g4_texture_array_t *array)
 Deallocates and destroys a texture-array.

Detailed Description

Provides functions for creating and destroying texture-arrays.

Function Documentation

◆ kinc_g4_texture_array_destroy()

KINC_FUNC void kinc_g4_texture_array_destroy ( kinc_g4_texture_array_t * array)

Deallocates and destroys a texture-array.

Parameters
arrayThe texture-array to destroy

◆ kinc_g4_texture_array_init()

KINC_FUNC void kinc_g4_texture_array_init ( kinc_g4_texture_array_t * array,
kinc_image_t * images,
int count )

Allocates and initializes a texture-array based on an array of images.

Parameters
arrayThe texture-array to initialize
imagesThe images to assign to the texture-array
countThe number of images