mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-30 04:22:56 +08:00
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled
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().
14 lines
172 B
HLSL
14 lines
172 B
HLSL
|
|
struct VSInput
|
|
{
|
|
float3 Position : TEXCOORD0;
|
|
float3 Color : TEXCOORD1;
|
|
};
|
|
|
|
struct VSOutput
|
|
{
|
|
float4 Color : TEXCOORD0;
|
|
float4 Position : SV_Position;
|
|
};
|
|
|