TextureCubeContent.Validate Method
Note
This method is available only when developing for Windows.
Verifies that all contents of the cube map are present, correct 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 cube map texture is not a valid one. |
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
TextureCubeContent Class
TextureCubeContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP