Tesla Graphics Engine Documentation (January 2012)
Effect Constructor (renderSystem, shaderByteCode)
TeslaTesla.GraphicsEffectEffect(IRenderSystemProvider, array<Byte>[]()[][])
Creates a new Effect from the specified compiled shader byte code.
Declaration Syntax
C#
public Effect(
	IRenderSystemProvider renderSystem,
	byte[] shaderByteCode
)
Parameters
renderSystem (IRenderSystemProvider)
Render system used to create the underlying implementation.
shaderByteCode (array<Byte>[]()[][])
Compiled byte code
Exceptions
Exception Condition
ArgumentNullException Thrown if the render system is null.
TeslaException Thrown if creating the underlying state implementation fails.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)