mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	 a864dcac25
			
		
	
	a864dcac25
	
	
	
		
			
			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;
 | |
| };
 |