Reference

SDL_GPUCubeMapFace(3type)

Specifies the face of a cube map.

NAME

SDL_GPUCubeMapFace - Specifies the face of a cube map.

HEADER FILE

Defined in SDL3/SDL_gpu.h

SYNOPSIS

#include "SDL3/SDL.h"

typedef enum SDL_GPUCubeMapFace { SDL_GPU_CUBEMAPFACE_POSITIVEX, SDL_GPU_CUBEMAPFACE_NEGATIVEX, SDL_GPU_CUBEMAPFACE_POSITIVEY, SDL_GPU_CUBEMAPFACE_NEGATIVEY, SDL_GPU_CUBEMAPFACE_POSITIVEZ, SDL_GPU_CUBEMAPFACE_NEGATIVEZ } SDL_GPUCubeMapFace;

DESCRIPTION

Can be passed in as the layer field in texture-related structs.

AVAILABILITY

This enum is available since SDL 3.2.0.