Sdílet prostřednictvím


CompiledEffect Constructor

Note

This constructor is available only when developing for Windows.

Creates a new instance of the CompiledEffect class.

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

Syntax

public CompiledEffect (
         byte[] compiledEffectCode,
         string errors
)

Parameters

  • compiledEffectCode
    The compiled effect code.
  • errors
    A string to receive compilation errors, if any.

See Also

Reference

Effect.CompileEffectFromFile Method
Effect.CompileEffectFromSource Method
CompiledEffect Structure
CompiledEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista