• 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

Struct Renderable

A Renderable object

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Inferno.Graphics
Assembly: Inferno.Desktop.dll
Syntax
public struct Renderable

Properties

| Improve this Doc View Source

Color

The color for a batch item

Declaration
public Color Color { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

Depth

The depth for a batch item

Declaration
public float Depth { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

DestinationRectangle

The destination rectangle to draw to the screen

Declaration
public Rectangle DestinationRectangle { get; set; }
Property Value
Type Description
Rectangle
| Improve this Doc View Source

Dispose

Whether or not to dispose after rendering

Declaration
public bool Dispose { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Font

The font for a text batch item

Declaration
public Font Font { get; set; }
Property Value
Type Description
Font
| Improve this Doc View Source

LineWidth

The width of a line

Declaration
public int LineWidth { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Origin

Origin of the object

Declaration
public Vector2 Origin { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

Precision

The precision of the circle

Declaration
public int Precision { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Radius

The radius of the circle

Declaration
public int Radius { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

RenderTarget

The render target for a render target batch item

Declaration
public RenderTarget RenderTarget { get; set; }
Property Value
Type Description
RenderTarget
| Improve this Doc View Source

Rotation

Rotation of the object in degrees

Declaration
public double Rotation { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

SourceRectangle

The source rectangle for texture batch items

Declaration
public Rectangle? SourceRectangle { get; set; }
Property Value
Type Description
System.Nullable<Rectangle>
| Improve this Doc View Source

Text

The text for a text batch item

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Texture

The texture for a texture batch item

Declaration
public Texture2D Texture { get; set; }
Property Value
Type Description
Texture2D
| Improve this Doc View Source

Type

The type of item

Declaration
public RenderableType Type { get; set; }
Property Value
Type Description
RenderableType
| Improve this Doc View Source

Verticies

List of vertices to be drawn (For lines)

Declaration
public Vector2[] Verticies { get; set; }
Property Value
Type Description
Vector2[]
  • Improve this Doc
  • View Source
Back to top Generated by DocFX