table of contents
SDL_GPUPrimitiveType(3type) | SDL3 DATATYPES | SDL_GPUPrimitiveType(3type) |
NAME¶
SDL_GPUPrimitiveType - Specifies the primitive topology of a graphics pipeline.
HEADER FILE¶
Defined in SDL3/SDL_gpu.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef enum SDL_GPUPrimitiveType { SDL_GPU_PRIMITIVETYPE_TRIANGLELIST, /**< A series of separate triangles. */ SDL_GPU_PRIMITIVETYPE_TRIANGLESTRIP, /**< A series of connected triangles. */ SDL_GPU_PRIMITIVETYPE_LINELIST, /**< A series of separate lines. */ SDL_GPU_PRIMITIVETYPE_LINESTRIP, /**< A series of connected lines. */ SDL_GPU_PRIMITIVETYPE_POINTLIST /**< A series of separate points. */ } SDL_GPUPrimitiveType;
AVAILABILITY¶
This enum is available since SDL 3.1.3
SEE ALSO¶
SDL 3.1.6 | Simple Directmedia Layer |