Added support for using the GPU renderer as an offscreen renderer
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().
This commit is contained in:
1 parent
9461db1ec8
commit
a864dcac25
36 files changed
+2390
-3981
No files matched your search
@@ -0,0 +1,13 @@
|
||||
|
||||
struct VSInput
|
||||
{
|
||||
float3 Position : TEXCOORD0;
|
||||
float3 Color : TEXCOORD1;
|
||||
};
|
||||
|
||||
struct VSOutput
|
||||
{
|
||||
float4 Color : TEXCOORD0;
|
||||
float4 Position : SV_Position;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user