Share via


CompiledEffectContent.GetEffectCode Method

Note

This method is available only when developing for Windows.

Retrieves the compiled byte code for this shader.

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

Syntax

public byte[] GetEffectCode ()

Return Value

The compiled bytecode.

See Also

Reference

CompiledEffectContent Class
CompiledEffectContent Members
Microsoft.Xna.Framework.Content.Pipeline.Processors Namespace

Platforms

Windows 7, Windows Vista, Windows XP