Click or drag to resize

TextureTemplate2D Structure

Template object containing attributes required to create a 2D texture.

Namespace:  AGI.Foundation.Graphics.Renderer
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public struct TextureTemplate2D : IEquatable<TextureTemplate2D>

The TextureTemplate2D type exposes the following members.

Constructors
  NameDescription
Public methodTextureTemplate2D
Initializes a 2D texture template with no mipmapping.
Top
Properties
  NameDescription
Public propertyHeight
Gets the height of the texture in texels.
Public propertyInternalFormat
Gets the internal format of the texture.
Public propertyWidth
Gets the width of the texture in texels.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(TextureTemplate2D)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
See Also