• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Inferno
    • CollisionMode
    • DrawMode
    • Game
    • Game.OnResizeEventArgs
    • GameState
    • GameState.StateOnDrawEventArgs
    • GameWindow
    • Instance
    • MathHelper
    • Matrix
    • Point
    • Rectangle
    • Settings
    • SpatialMode
    • UpdateMode
    • Vector2
    • Vector3
    • Vector4
  • Inferno.Audio
    • AudioDevice
    • Sound
  • Inferno.Content
    • ContentLoader
  • Inferno.Formats.Audio
    • WaveFormat
  • Inferno.Formats.Graphics.Text
    • FontFormat
  • Inferno.Graphics
    • Camera
    • Color
    • GraphicsDevice
    • PlatformType
    • Renderable
    • RenderableType
    • Renderer
    • RenderSortMode
    • RenderTarget
    • Shader
    • ShaderLanguage
    • ShaderType
    • Sprite
    • Texture2D
    • Tileset
  • Inferno.Graphics.Text
    • Font
    • FontBuilder
  • Inferno.Input
    • ButtonState
    • Key
    • Keyboard
    • Keyboard.KeyEventArgs
    • KeyboardState
    • KeyState
    • Mouse
    • MouseState
  • Inferno.Tiled
    • RenderOrder
    • TiledLayer
    • TiledLayerChunk
    • TiledLoader
    • TiledMap
    • TiledMapOrientation
    • TiledObject
    • TiledObjectLayer
    • TiledVersion
  • Inferno.UI
    • MessageBox
    • MessageBoxType
    • UserInterface
  • Inferno.UI.Controls
    • Button
    • Control
    • Control.ControlClickedEvent
    • Control.ControlHoveredEvent
    • Control.TextChangedEventArgs
    • ControlState
    • Cursor
    • Label

Class ContentLoader

Content loader that manages game content loading duh

Inheritance
System.Object
ContentLoader
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Inferno.Content
Assembly: Inferno.Desktop.dll
Syntax
public static class ContentLoader

Methods

| Improve this Doc View Source

FontFromFile(String)

Declaration
public static Font FontFromFile(string filename)
Parameters
Type Name Description
System.String filename
Returns
Type Description
Font
| Improve this Doc View Source

FontFromStream(Stream)

Declaration
public static Font FontFromStream(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream
Returns
Type Description
Font
| Improve this Doc View Source

LoadWaveFromFile(String)

Declaration
public static Sound LoadWaveFromFile(string filename)
Parameters
Type Name Description
System.String filename
Returns
Type Description
Sound
| Improve this Doc View Source

LoadWaveFromStream(Stream)

Declaration
public static Sound LoadWaveFromStream(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream
Returns
Type Description
Sound
| Improve this Doc View Source

Texture2DFromBitmap(Bitmap)

Declaration
public static Texture2D Texture2DFromBitmap(Bitmap bitmap)
Parameters
Type Name Description
System.Drawing.Bitmap bitmap
Returns
Type Description
Texture2D
| Improve this Doc View Source

Texture2DFromFile(String)

Declaration
public static Texture2D Texture2DFromFile(string filename)
Parameters
Type Name Description
System.String filename
Returns
Type Description
Texture2D
| Improve this Doc View Source

Texture2DFromStream(Stream)

Declaration
public static Texture2D Texture2DFromStream(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream
Returns
Type Description
Texture2D
  • Improve this Doc
  • View Source
Back to top Generated by DocFX