#pragma once #include #include "texture.h" #include /*! \file texturearray.h \brief Provides functions for creating and destroying texture-arrays. */ #ifdef __cplusplus extern "C" { #endif typedef struct kinc_g4_texture_array { kinc_g4_texture_array_impl_t impl; } kinc_g4_texture_array_t; /// /// Allocates and initializes a texture-array based on an array of images. /// /// The texture-array to initialize /// The images to assign to the texture-array /// The number of images KINC_FUNC void kinc_g4_texture_array_init(kinc_g4_texture_array_t *array, kinc_image_t *images, int count); /// /// Deallocates and destroys a texture-array /// /// The texture-array to destroy KINC_FUNC void kinc_g4_texture_array_destroy(kinc_g4_texture_array_t *array); #ifdef __cplusplus } #endif