Class CompiledEffectContent
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
Represents a compiled Effect.
public class CompiledEffectContent : ContentItem
- Inheritance
-
CompiledEffectContent
- Inherited Members
Constructors
CompiledEffectContent(byte[])
Creates a new instance of the CompiledEffectContent class
public CompiledEffectContent(byte[] effectCode)
Parameters
effectCode
byte[]The compiled effect code.
Methods
GetEffectCode()
Retrieves the compiled byte code for this shader.
public byte[] GetEffectCode()
Returns
- byte[]
The compiled bytecode.