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
Name | Description | |
---|---|---|
Create | Creates a texture with a flat color. | |
FromBase64 | Loads asynchronously a texture from a file encoded in a base64 . | |
FromBytes | Loads a texture from a file loaded in a byte array. | |
FromFile | Loads asynchronously a texture from a given file uri. See Read(String, CancellationToken) for information on the file location. |