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:
5
test/testgpu/overlay.hlsli
Normal file
5
test/testgpu/overlay.hlsli
Normal file
@@ -0,0 +1,5 @@
|
||||
struct VSOutput
|
||||
{
|
||||
float2 uv : TEXCOORD0;
|
||||
float4 pos : SV_Position;
|
||||
};
|
||||
Reference in New Issue
Block a user