Click or drag to resize

Texture Class

Represents an FMDL subfile in a ResFile, storing multi-dimensional texture data.
Inheritance Hierarchy
SystemObject
  Syroot.NintenTools.BfresTexture

Namespace:  Syroot.NintenTools.Bfres
Assembly:  Syroot.NintenTools.Bfres (in Syroot.NintenTools.Bfres.dll) Version: 1.2.1
Syntax
C#
public class Texture : IResData

The Texture type exposes the following members.

Constructors
  NameDescription
Public methodTexture
Initializes a new instance of the Texture class
Top
Properties
  NameDescription
Public propertyAAMode
Gets or sets the number of samples for the texture.
Public propertyAlignment
Gets or sets the swizzling alignment.
Public propertyArrayLength
Public propertyCompSelA
Gets or sets the source channel to map to the A (alpha) channel.
Public propertyCompSelB
Gets or sets the source channel to map to the B (blue) channel.
Public propertyCompSelG
Gets or sets the source channel to map to the G (green) channel.
Public propertyCompSelR
Gets or sets the source channel to map to the R (red) channel.
Public propertyData
Gets or sets the raw texture data bytes.
Public propertyDepth
Gets or sets the depth of the texture.
Public propertyDim
Gets or sets the shape of the texture.
Public propertyFormat
Gets or sets the desired texture data buffer format.
Public propertyHeight
Gets or sets the height of the texture.
Public propertyMipCount
Gets or sets the number of mipmaps stored in the MipData.
Public propertyMipData
Gets or sets the raw mipmap level data bytes for all levels.
Public propertyMipOffsets
Gets or sets the offsets in the MipData array to the data of the mipmap level corresponding to the array index.
Public propertyName
Public propertyPath
Gets or sets the path of the file which originally supplied the data of this instance.
Public propertyPitch
Gets or sets the pixel swizzling stride.
Public propertyRegs
Public propertySwizzle
Gets or sets the swizzling value.
Public propertyTileMode
Gets or sets the tiling mode.
Public propertyUse
Gets or sets the texture data usage hint.
Public propertyUserData
Gets or sets customly attached UserData instances.
Public propertyViewMipCount
Public propertyViewMipFirst
Public propertyViewSliceCount
Public propertyViewSliceFirst
Public propertyWidth
Gets or sets the width of the texture.
Top
See Also