[MetaballsKit] Reset the parametersBuffer as needed
This commit is contained in:
		
							parent
							
								
									d08f4a7e23
								
							
						
					
					
						commit
						5c37010229
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -40,6 +40,7 @@ public class Field {
 | 
			
		|||
 | 
			
		||||
                // Update Metal state as needed.
 | 
			
		||||
                updateThreadgroupSizes(withFieldSize: size)
 | 
			
		||||
                parametersBuffer = nil
 | 
			
		||||
                sampleTexture = nil
 | 
			
		||||
                if numberOfBallsBeforeFilter != balls.count {
 | 
			
		||||
                    ballBuffer = nil
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue