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 SourceColor
The color for a batch item
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Depth
The depth for a batch item
Declaration
public float Depth { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
DestinationRectangle
The destination rectangle to draw to the screen
Declaration
public Rectangle DestinationRectangle { get; set; }
Property Value
Type | Description |
---|---|
Rectangle |
Dispose
Whether or not to dispose after rendering
Declaration
public bool Dispose { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Font
The font for a text batch item
Declaration
public Font Font { get; set; }
Property Value
Type | Description |
---|---|
Font |
LineWidth
The width of a line
Declaration
public int LineWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Origin
Origin of the object
Declaration
public Vector2 Origin { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
Precision
The precision of the circle
Declaration
public int Precision { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Radius
The radius of the circle
Declaration
public int Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RenderTarget
The render target for a render target batch item
Declaration
public RenderTarget RenderTarget { get; set; }
Property Value
Type | Description |
---|---|
RenderTarget |
Rotation
Rotation of the object in degrees
Declaration
public double Rotation { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
SourceRectangle
The source rectangle for texture batch items
Declaration
public Rectangle? SourceRectangle { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Rectangle> |
Text
The text for a text batch item
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Texture
The texture for a texture batch item
Declaration
public Texture2D Texture { get; set; }
Property Value
Type | Description |
---|---|
Texture2D |
Type
The type of item
Declaration
public RenderableType Type { get; set; }
Property Value
Type | Description |
---|---|
RenderableType |
Verticies
List of vertices to be drawn (For lines)
Declaration
public Vector2[] Verticies { get; set; }
Property Value
Type | Description |
---|---|
Vector2[] |