Scroll to navigation

SDL_GPUCubeMapFace(3type) SDL3 DATATYPES SDL_GPUCubeMapFace(3type)

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.1.3

SDL 3.1.6 Simple Directmedia Layer