次の方法で共有


Effect.Disassemble Method (Boolean)

Note

This method is available only when developing for Windows.

Disassembles this effect.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public string Disassemble (
         bool enableColorCode
)

Parameters

  • enableColorCode
    [MarshalAsAttribute(U1)] true to enable color coding to make the disassembly easier to read.

Return Value

A string that contains the effect assembly (ASM).

Exceptions

Exception type Condition
InsufficientMemoryException Microsoft Direct3D could not allocate sufficient memory to complete the call.

See Also

Reference

Effect Class
Effect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista