Click or drag to resize
DigitalRuneDRMaterialProcessor Class
Builds a material, which can be used for rendering a model.
Inheritance Hierarchy
SystemObject
  ContentProcessorMaterialContent, DRMaterialContent
    DigitalRune.Graphics.Content.PipelineDRMaterialProcessor

Namespace: DigitalRune.Graphics.Content.Pipeline
Assembly: DigitalRune.Graphics.Content.Pipeline (in DigitalRune.Graphics.Content.Pipeline.dll) Version: 1.2.0.0 (1.2.0.14454)
Syntax
[ContentProcessorAttribute(DisplayName = "Material - DigitalRune Graphics")]
public class DRMaterialProcessor : ContentProcessor<MaterialContent, DRMaterialContent>

The DRMaterialProcessor type exposes the following members.

Constructors
  NameDescription
Public methodDRMaterialProcessor
Initializes a new instance of the DRMaterialProcessor class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnBuildEffect
Builds effect content.
Protected methodOnBuildTexture
Builds texture content.
Public methodProcess
Processes the specified input data and returns the result.
(Overrides ContentProcessor.Process(UTP, ContentProcessorContext).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultPass
The name of the default render pass.
Top
Properties
  NameDescription
Public propertyColorKeyColor
Gets or sets the color used when color keying for a texture is enabled. When color keying, all pixels of a specified color are replaced with transparent black.
Public propertyColorKeyEnabled
Gets or sets a value indicating whether color keying of a model is enabled.
Public propertyDefaultEffectFile
Gets or sets the path of the default DirectX effect file.
Public propertyDefaultEffectType
Gets or sets the type of the default effect.
Public propertyGenerateMipmaps
Gets or sets a value indicating whether a full chain of mipmaps is generated from the source material. Existing mipmaps of the material are not replaced.
Public propertyInputTextureGamma
Gets or sets the gamma of the input textures.
Public propertyOutputTextureGamma
Gets or sets the gamma of the output textures.
Public propertyPremultiplyTextureAlpha
Gets or sets a value indicating whether alpha premultiply of textures is enabled.
Public propertyReferenceAlpha
Gets or sets the reference alpha value, which is used in the alpha test.
Public propertyResizeTexturesToPowerOfTwo
Gets or sets a value indicating whether resizing of textures are enabled.
Public propertyScaleTextureAlphaToCoverage
Gets or sets a value indicating whether the alpha of the textures should be scaled to achieve the same alpha test coverage as in the source images.
Public propertyTextureFormat
Gets or sets the texture format of output materials.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyMicrosoft#Xna#Framework#Content#Pipeline#IContentProcessor#InputType (Inherited from ContentProcessorMaterialContent, DRMaterialContent.)
Explicit interface implementationPrivate propertyMicrosoft#Xna#Framework#Content#Pipeline#IContentProcessor#OutputType (Inherited from ContentProcessorMaterialContent, DRMaterialContent.)
Explicit interface implementationPrivate methodMicrosoft#Xna#Framework#Content#Pipeline#IContentProcessor#Process (Inherited from ContentProcessorMaterialContent, DRMaterialContent.)
Top
See Also