Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Builds the texture and effect content for the material.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public virtual MaterialContent Process (
MaterialContent input,
ContentProcessorContext context
)
Parameters
- input
The material content to build. - context
Context for the specified processor.
Return Value
The built material.
Remarks
If the MaterialContent is of type EffectMaterialContent, a build is requested for Effect, and validation will be performed on the OpaqueData to ensure that all parameters are valid input to SetValue or SetValueTranspose. If the MaterialContent is a BasicMaterialContent, no validation will be performed on OpaqueData. Process requests builds for all textures in Textures, unless the MaterialContent is of type BasicMaterialContent, in which case a build will only be requested for DiffuseColor. The textures in Textures will be ignored.
See Also
Reference
MaterialProcessor Class
MaterialProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace
Platforms
Windows XP SP2, Windows Vista