TextureProfile.Requirements Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Determines if the texture format will require power-of-two dimensions and/or equal width and height.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public abstract void Requirements( ContentProcessorContext context, TextureProcessorOutputFormat format, out Boolean requiresPowerOfTwo, out Boolean requiresSquare )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- context
-
Type: Microsoft.Xna.Framework.Content.Pipeline.ContentProcessorContext
The processor context.
- format
-
Type: Microsoft.Xna.Framework.Content.Pipeline.Processors.TextureProcessorOutputFormat
The desired texture format.
- requiresPowerOfTwo
-
Type: out System.Boolean
True if the texture format requires power-of-two dimensions.
- requiresSquare
-
Type: out System.Boolean
True if the texture format requires equal width and height.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop