implicit conversion from Texture to TextureSlice
							parent
							
								
									1e3b5bfa77
								
							
						
					
					
						commit
						b3677d06da
					
				|  | @ -199,6 +199,8 @@ namespace MoonWorks.Graphics | |||
| 			UsageFlags = textureCreateInfo.UsageFlags; | ||||
| 		} | ||||
| 
 | ||||
| 		public static implicit operator TextureSlice(Texture t) => new TextureSlice(t); | ||||
| 
 | ||||
| 		// Used by AcquireSwapchainTexture. | ||||
| 		// Should not be tracked, because swapchain textures are managed by Vulkan. | ||||
| 		internal Texture( | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue