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
- sourceFileName
Type: System. . :: . .String
- device
Type: GraphicsDevice