Class BasisUniversalTexture
Loads a Basis Universal texture from the StreamingAssets folder, a URL, or a buffer.
Inherited Members
Namespace: KtxUnity
Assembly: solution.dll
Syntax
public class BasisUniversalTexture : TextureBase
Methods
| Name | Description |
|---|---|
| Dispose() | Releases all resources. Part of the low-level API that provides finer control over the loading process. |
| LoadTexture2D(bool, uint, uint, uint, bool) | Creates a Texture2D from the previously opened texture. Transcodes or decodes the texture into a GPU compatible format (if required) and uploads it to GPU memory. Part of the low-level API that provides finer control over the loading process. |
| LoadTexture2D(GraphicsFormat, uint, uint, uint, bool) | Creates a Texture2D from the previously opened texture. Transcodes or decodes the texture into a desired GPU compatible format (if required) and uploads it to GPU memory. Part of the low-level API that provides finer control over the loading process. |
| Open(NativeSlice<byte>) | Loads a texture from memory. Part of the low-level API that provides finer control over the loading process. |