mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	render: add wlr_renderer_scissor docs
This commit is contained in:
		
							parent
							
								
									51c22d39a4
								
							
						
					
					
						commit
						d0961a02af
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -15,6 +15,11 @@ void wlr_renderer_begin(struct wlr_renderer *r, struct wlr_output *output);
 | 
			
		|||
void wlr_renderer_end(struct wlr_renderer *r);
 | 
			
		||||
void wlr_renderer_clear(struct wlr_renderer *r, float red, float green,
 | 
			
		||||
	float blue, float alpha);
 | 
			
		||||
/**
 | 
			
		||||
 * Defines a scissor box. Only pixels that lie within the scissor box can be
 | 
			
		||||
 * modified by drawing functions. Providing a NULL `box` disables the scissor
 | 
			
		||||
 * box.
 | 
			
		||||
 */
 | 
			
		||||
void wlr_renderer_scissor(struct wlr_renderer *r, struct wlr_box *box);
 | 
			
		||||
/**
 | 
			
		||||
 * Requests a texture handle from this renderer.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue