Click or drag to resize

Material Class

Represents an FMAT subsection of a Model subfile, storing information on with which textures and how technically a surface is drawn.
Inheritance Hierarchy
SystemObject
  Syroot.NintenTools.BfresMaterial

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

The Material type exposes the following members.

Constructors
  NameDescription
Public methodMaterial
Initializes a new instance of the Material class
Top
Properties
  NameDescription
Public propertyFlags
Gets or sets flags specifying how a Material is rendered.
Public propertyName
Public propertyRenderInfos
Public propertyRenderState
Public propertySamplers
Gets or sets a dictionary of Sampler instances which configure how to draw Texture instances referenced by the TextureRefs list.
Public propertyShaderAssign
Public propertyShaderParamData
Gets or sets the raw data block which stores ShaderParam values.
Public propertyShaderParams
Public propertyTextureRefs
Gets or sets the list of TextureRef instances referencing the Texture instances required to draw the material.
Public propertyUserData
Gets or sets customly attached UserData instances.
Public propertyVolatileFlags
Gets or sets a set of bits determining whether ShaderParam instances are volatile.
Top
See Also