Share via


CreateTextureFromFile Method

Microsoft Robotics Class Reference

Create texture from file

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

Syntax

public Texture CreateTextureFromFile(
    GraphicsDevice device,
    string fileName
)

Parameters

  • device
    Type: GraphicsDevice

Return Value

See Also

ResourceCache Class

Microsoft.Robotics.Simulation.Engine Namespace