Class TextureResult
TextureResult encapsulates result of texture loading. The texture itself and its orientation.
Inherited Members
Namespace: KtxUnity
Assembly: solution.dll
Syntax
public class TextureResult
Constructors
| Name | Description |
|---|---|
| TextureResult() | Creates an empty TextureResult. |
| TextureResult(ErrorCode) | Creates an invalid TextureResult with an ErrorCode. |
| TextureResult(Texture2D, TextureOrientation) | Creates a successful TextureResult with a Texture2D and a TextureOrientation. |
Fields
| Name | Description |
|---|---|
| errorCode | The ErrorCode from the failed texture import. |
| orientation | The TextureOrientation of the imported texture. |
| texture | The successfully imported Texture2D. |