TextureCodec
TextureCodec class
Class to manage encoders and decoders for textures.
Methods
constructor
| Name | Description |
|---|---|
| constructor() |
Result:
getSupportedEncoderFormats
| Name | Description |
|---|---|
| getSupportedEncoderFormats() | Gets all supported encoder formats |
Result: String[]
registerCodec
| Name | Description |
|---|---|
| registerCodec(codec) | Register a set of texture encoders and decoders |
Parameters:
| Name | Type | Description |
|---|---|---|
| code | ITextureCodec | null |
Result: String[]