mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 17:06:25 +00:00

SDL_CreateGPURenderer() now allows passing in an existing GPU device and passing in a NULL window to create an offscreen renderer. Also renamed SDL_SetRenderGPUState() to SDL_SetGPURenderState().
6 lines
78 B
HLSL
6 lines
78 B
HLSL
struct VSOutput
|
|
{
|
|
float2 uv : TEXCOORD0;
|
|
float4 pos : SV_Position;
|
|
};
|