TextureAtlasBuilder.LoadTextureToSurfaceAsync(string, CancellationToken) Method
Definition
Namespace: Brine2D.Rendering.SDL.TextureAtlas
Loads a texture file to an SDL surface \(without creating GPU texture\).
C#
private System.Threading.Tasks.Task<nint> LoadTextureToSurfaceAsync(string path, System.Threading.CancellationToken cancellationToken);
Parameters
path System.String
cancellationToken System.Threading.CancellationToken