Embedded |
public sealed class EmbeddedTexture : IMarshalable<EmbeddedTexture, AiTexture>
The EmbeddedTexture type exposes the following members.
| Name | Description | |
|---|---|---|
| EmbeddedTexture | Constructs a new instance of the EmbeddedTexture class. Should use only if reading from a native value. | |
| EmbeddedTexture(String, Byte, String) | Constructs a new instance of the EmbeddedTexture class. This creates a compressed embedded texture. | |
| EmbeddedTexture(Int32, Int32, Texel, String) | Constructs a new instance of the EmbeddedTexture class. This creates an uncompressed embedded texture. |
| Name | Description | |
|---|---|---|
| CompressedData | Gets the raw byte data representing the compressed texture. Only valid for compressed textures. | |
| CompressedDataSize | Gets the size of the compressed data. Only valid for compressed textures. | |
| CompressedFormatHint | Gets the format hint to determine the type of compressed data. This hint is a three-character lower-case hint like "dds", "jpg", "png". | |
| Filename | Gets or sets the texture's original filename. | |
| HasCompressedData | Gets if the embedded texture has compressed data. Only valid for compressed textures. | |
| HasNonCompressedData | Gets if the texture has non-compressed texel data. Only valid for non-compressed textures. | |
| Height | Gets the height of the texture in pixels. Only valid for non-compressed textures. | |
| IsCompressed | Gets if the texture is compressed or not. | |
| NonCompressedData | Gets the non-compressed texel data, the array is of size Width * Height. Only valid for non-compressed textures. | |
| NonCompressedDataSize | Gets the size of the non-compressed texel data. Only valid for non-compressed textures. | |
| Width | Gets the width of the texture in pixels. Only valid for non-compressed textures. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| FreeNative | Frees unmanaged memory created by ToNative(IntPtr, Native). | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |