Scroll to navigation

SDL_GPUCullMode(3type) SDL3 DATATYPES SDL_GPUCullMode(3type)

NAME

SDL_GPUCullMode - Specifies the facing direction in which triangle faces will be culled.

HEADER FILE

Defined in SDL3/SDL_gpu.h

SYNOPSIS

#include "SDL3/SDL.h"
typedef enum SDL_GPUCullMode
{
    SDL_GPU_CULLMODE_NONE,   /**< No triangles are culled. */
    SDL_GPU_CULLMODE_FRONT,  /**< Front-facing triangles are culled. */
    SDL_GPU_CULLMODE_BACK    /**< Back-facing triangles are culled. */
} SDL_GPUCullMode;

AVAILABILITY

This enum is available since SDL 3.1.3

SEE ALSO

(3), SDL_CreateGPUGraphicsPipeline(3)

SDL 3.1.6 Simple Directmedia Layer