Share via


MaterialProcessor Members

The following tables list the members exposed by the MaterialProcessor type.

Public Constructors

Name Description
Public Method MaterialProcessor Initializes a new instance of the MaterialProcessor class.

Public Properties

Name Description
Public Property ColorKeyColor Gets or sets the color value to replace with transparent black.
Public Property ColorKeyEnabled Specifies whether color keying of a texture is enabled.
Public Property DefaultEffect The default effect type for this instance of MaterialProcessor.
Public Property GenerateMipmaps Specifies if a full chain of mipmaps are generated from the source material. Existing mipmaps of the material are not replaced.
Public Property PremultiplyTextureAlpha Specifies whether alpha premultiply of textures is enabled.
Public Property ResizeTexturesToPowerOfTwo Specifies whether resizing of a material is enabled.
Public Property TextureFormat Specifies the texture format of output materials.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Process Builds the texture and effect content for the material.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method BuildEffect Builds effect content.
Protected Method BuildTexture Builds texture content.
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

MaterialProcessor Class
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace