Class CDmeVtex
Namespace: ValveResourceFormat.IO.ContentFormats.ValveTexture
Assembly: ValveResourceFormat.dll
Root element of a texture content file (.vtex), describing the inputs and the output image to compile.
[HungarianProperties]
public class CDmeVtex : Element, IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>Inheritance
object ← AttributeList ← Element ← CDmeVtex
Implements
IDictionary<string, object?>, ICollection<KeyValuePair<string, object?>>, IEnumerable<KeyValuePair<string, object?>>, IDictionary, ICollection, IEnumerable, IEquatable<Element>
Inherited Members
Element.GetPropertyDerivedAttributeList(), Element.Get<T>(string), Element.GetArray<T>(string), Element.Contains(string), Element.ToString(), Element.ContainsKey(string), Element.Equals(Element?), Element.ID, Element.Name, Element.ClassName, Element.Stub, Element.Owner, Element.this[string], AttributeList.Attribute_ChangeLock, AttributeList.Add(string, object?), AttributeList.GetPropertyDerivedAttributeList(), AttributeList.GetOverrideType(string), AttributeList.SetOverrideType(string, AttributeList.OverrideType?), AttributeList.Remove(string), AttributeList.TryGetValue(string, out object?), AttributeList.ContainsKey(string), AttributeList.RemoveAt(int), AttributeList.IndexOf(string), AttributeList.Clear(), AttributeList.GetAllAttributesForSerialization(), AttributeList.GetEnumerator(), AttributeList.OnPropertyChanged(string), AttributeList.OnCollectionChanged(NotifyCollectionChangedEventArgs), AttributeList.Owner, AttributeList.Keys, AttributeList.Values, AttributeList.this[string], AttributeList.this[int], AttributeList.Count, AttributeList.IsFixedSize, AttributeList.IsReadOnly, AttributeList.IsSynchronized, AttributeList.SyncRoot, AttributeList.PropertyChanged, AttributeList.CollectionChanged
Properties
Clamp
Whether to clamp the S, T and U coordinates respectively.
public Vector3 Clamp { get; set; }Property Value
InputTextureArray
Array of elements describing each input image.
public ElementArray InputTextureArray { get; }Property Value
ElementArray
NoLod
Disables mipmaps.
public bool NoLod { get; set; }Property Value
OutputClearColor
Initial color before input textures are applied to the output.
[DMProperty("m_outputClearColor", false)]
public Vector4 OutputClearColor { get; set; }Property Value
OutputFormat
Image data format to generate.
public string OutputFormat { get; set; }Property Value
OutputMaxDimension
Gets or sets the maximum dimension for the output texture.
public int OutputMaxDimension { get; set; }Property Value
OutputMinDimension
Gets or sets the minimum dimension for the output texture.
public int OutputMinDimension { get; set; }Property Value
OutputTypeString
Type of texture to generate.
public string OutputTypeString { get; set; }Property Value
TextureOutputChannelArray
Array of elements describing sets of output channels.
public ElementArray TextureOutputChannelArray { get; }Property Value
ElementArray
Methods
CreateTexture2D((string FileName, string Channels, string MipAlgorithm)[], string)
Creates a 2D texture configuration from input images.
public static CDmeVtex CreateTexture2D((string FileName, string Channels, string MipAlgorithm)[] images, string outputFormat = "DXT1")Parameters
images (string FileName, string Channels, string MipAlgorithm)[]
outputFormat string

