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
public Effect(
	IRenderSystemProvider renderSystem,
	byte[] shaderByteCode
renderSystem (IRenderSystemProvider)
Render system used to create the underlying implementation.
shaderByteCode (array<Byte>[]()[][])
Compiled byte code
Exception Condition
ArgumentNullException Thrown if the render system is null.
TeslaException Thrown if creating the underlying state implementation fails.

Assembly: Tesla (Module: Tesla) Version: (