CachedEffect Constructor

Microsoft Robotics Class Reference

Initialize from a .fx file

Namespace: Microsoft.Robotics.Simulation.Engine
Assembly: SimulationEngine (in SimulationEngine.dll) Version: 4.0.261.0 (4.0.261.0)

Syntax

public CachedEffect(
    string sourceFileName,
    GraphicsDevice device
)

Parameters

  • device
    Type: GraphicsDevice

See Also

CachedEffect Class

Microsoft.Robotics.Simulation.Engine Namespace