TextureProcessor.Process Method
Note
This method is available only when developing for Windows.
Processes a texture.
Syntax
'Declaration
Public Overrides Function Process ( _
input As TextureContent, _
context As ContentProcessorContext _
) As TextureContent
public override TextureContent Process (
TextureContent input,
ContentProcessorContext context
)
public:
TextureContent Process(
TextureContent input,
ContentProcessorContext context
) override
Parameters
- input
Type: TextureContent
The texture content to process. - context
Type: ContentProcessorContext
Context for the specified processor.
Return Value
Type: TextureContent
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.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
TextureProcessor Class
TextureProcessor Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace
Platforms
Windows 7, Windows Vista, Windows XP