Skip to content

AssetManifest.Texture(string, TextureScaleMode) Method

Definition

Namespace: Brine2D.Assets

Declares a texture asset.

C#
protected static Brine2D.Assets.AssetRef<Brine2D.Rendering.ITexture> Texture(string path, Brine2D.Rendering.TextureScaleMode scale=Brine2D.Rendering.TextureScaleMode.Linear);

Parameters

path System.String

scale TextureScaleMode

Returns

Brine2D.Assets.AssetRef<ITexture>