Share via


Texture3DContent.Validate Method

Note

This method is available only when developing for Windows.

Validates that the required contents of this volume texture are present, valid and match the capabilities of the device.

Syntax

'Declaration
Public Overrides Sub Validate ( _
         targetProfile As Nullable(Of GraphicsProfile) _
)
public override void Validate (
         Nullable<GraphicsProfile> targetProfile
)
public:
void Validate(
         Nullable<GraphicsProfile> targetProfile
) override

Parameters

  • targetProfile
    Type: Nullable<GraphicsProfile>
    The profile identifier that defines the capabilities of the device.

Exceptions

Exception type Condition
InvalidContentException The texture is not a valid one.

Remarks

This method verifies that mip counts are correct down each individual 2D face, and that width and height are shrinking appropriately.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

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

See Also

Reference

Texture3DContent Class
Texture3DContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP