Class TextureMetaFile
The TextureMetafile class.
Inheritance
TextureMetaFile
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public class TextureMetaFile : AssetMetaFileWithSource<TextureSource, TextureProfile, TextureExporter>, IAssetWithSource, IAssetMetaFile
Constructors
TextureMetaFile()
Initializes a new instance of the TextureMetaFile class.
Declaration
public TextureMetaFile()
TextureMetaFile(TextureSource, bool?)
Initializes a new instance of the TextureMetaFile class.
Declaration
public TextureMetaFile(TextureSource resource, bool? isGamma)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureSource | resource | Texture source. |
| bool? | isGamma | Optionaly, you can specify if the texture has gamma correction. |
Fields
Extension
The texture's extension.
Declaration
public static readonly string Extension
Field Value
| Type | Description |
|---|---|
| string |
Properties
ExtensionMetafile
Gets the file extension.
Declaration
public override string ExtensionMetafile { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
GenerateMipMaps
Gets or sets a value indicating whether to generate mip maps.
Declaration
public bool GenerateMipMaps { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
NinePatchType
Gets or sets the nine-patch type.
Declaration
public TextureMetaFile.NinePatchTypes NinePatchType { get; set; }
Property Value
| Type | Description |
|---|---|
| TextureMetaFile.NinePatchTypes |
PremultipliedAlpha
Gets or sets a value indicating whether the alpha is premultiplied.
Declaration
public bool PremultipliedAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SamplerID
Gets or sets the associated sampler.
Declaration
public Guid SamplerID { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |