Skip to content

ITextureLoader.CreateTexture(int, int, TextureScaleMode) Method

Definition

Namespace: Brine2D.Rendering

Creates a blank texture with the specified dimensions.

Brine2D.Rendering.ITexture CreateTexture(int width, int height, Brine2D.Rendering.TextureScaleMode scaleMode=Brine2D.Rendering.TextureScaleMode.Linear);

Parameters

width System.Int32

height System.Int32

scaleMode TextureScaleMode

Returns

ITexture