Texture2DExt ClassTexture2D extensions.

Inheritance Hierarchy

System.Object
  UltimateXR.Extensions.Unity.Render.Texture2DExt
Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static class Texture2DExt


The Texture2DExt type exposes the following members.

Methods

NameDescription
Public methodStatic memberCreate Creates a texture with a flat color.
Public methodStatic memberFromBase64 Loads asynchronously a texture from a file encoded in a base64 .
Public methodStatic memberFromBytes Loads a texture from a file loaded in a byte array.
Public methodStatic memberFromFile Loads asynchronously a texture from a given file uri. See Read(String, CancellationToken) for information on the file location.

See Also

Reference

UltimateXR.Extensions.Unity.Render Namespace