TextureProcessor.Process Method

Processes a texture.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public virtual TextureContent Process (
         TextureContent input,
         ContentProcessorContext context
)

Parameters

  • input
    The texture content to process.
  • context
    Context for the specified processor.

Return Value

The converted texture content.

Remarks

Process generates mipmaps if they are not already present, but leaves the texture in the same format as the input data. This is suitable for use with DDS files that have already been converted to an appropriate format.

See Also

Reference

TextureProcessor Class
TextureProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace

Platforms

Windows XP SP2, Windows Vista