Kore 3
Loading...
Searching...
No Matches
texture.h File Reference

Provides functions for handling textures. More...

#include <kore3/global.h>
#include "api.h"
#include "textureformat.h"

Go to the source code of this file.

Data Structures

struct  kore_gpu_texture
struct  kore_gpu_texture_view

Typedefs

typedef struct kore_gpu_texture kore_gpu_texture
typedef enum kore_gpu_texture_view_dimension kore_gpu_texture_view_dimension
typedef enum kore_gpu_texture_aspect kore_gpu_texture_aspect
typedef struct kore_gpu_texture_view kore_gpu_texture_view

Enumerations

enum  kore_gpu_texture_view_dimension {
  KORE_GPU_TEXTURE_VIEW_DIMENSION_1D , KORE_GPU_TEXTURE_VIEW_DIMENSION_2D , KORE_GPU_TEXTURE_VIEW_DIMENSION_2DARRAY , KORE_GPU_TEXTURE_VIEW_DIMENSION_CUBE ,
  KORE_GPU_TEXTURE_VIEW_DIMENSION_CUBEARRAY , KORE_GPU_TEXTURE_VIEW_DIMENSION_3D
}
enum  kore_gpu_texture_aspect { KORE_GPU_IMAGE_COPY_ASPECT_ALL , KORE_GPU_IMAGE_COPY_ASPECT_DEPTH_ONLY , KORE_GPU_IMAGE_COPY_ASPECT_STENCIL_ONLY }

Functions

KORE_FUNC void kore_gpu_texture_set_name (kore_gpu_texture *texture, const char *name)
KORE_FUNC void kore_gpu_texture_destroy (kore_gpu_texture *texture)

Detailed Description

Provides functions for handling textures.