Class ImmediateRendererWrapper
- Namespace
- Lime
- Assembly
- Lime.dll
public class ImmediateRendererWrapper : RendererWrapper
- Inheritance
-
ImmediateRendererWrapper
- Inherited Members
-
Fields
public static readonly ImmediateRendererWrapper Instance
Field Value
- ImmediateRendererWrapper
Properties
public override Blending Blending { set; }
Property Value
- Blending
public override ColorWriteMask ColorWriteEnabled { set; }
Property Value
- ColorWriteMask
public override CullMode CullMode { set; }
Property Value
- CullMode
public override DepthState DepthState { set; }
Property Value
- DepthState
public override Matrix44 Projection { set; }
Property Value
- Matrix44
public override ScissorState ScissorState { set; }
Property Value
- ScissorState
public override ShaderId Shader { set; }
Property Value
- ShaderId
public override StencilState StencilState { set; }
Property Value
- StencilState
public override Matrix32 Transform1 { set; }
Property Value
- Matrix32
public override Matrix32 Transform2 { set; }
Property Value
- Matrix32
public override Matrix44 View { set; }
Property Value
- Matrix44
public override Viewport Viewport { set; }
Property Value
- Viewport
public override Matrix44 World { set; }
Property Value
- Matrix44
Methods
public override void BeginFrame()
public override void Callback(Action callback)
Parameters
callback
Action
public override void Clear(ClearOptions options, Color4 color)
Parameters
options
ClearOptions
color
Color4
public override void DrawCircle(Vector2 center, float radius, int numSegments, Color4 color)
Parameters
center
Vector2
radius
float
numSegments
int
color
Color4
public override void DrawDashedLine(Vector2 a, Vector2 b, Color4 color, Vector2 dashSize)
Parameters
a
Vector2
b
Vector2
color
Color4
dashSize
Vector2
public override void DrawLine(Vector2 a, Vector2 b, Color4 color, float thickness = 1, LineCap cap = LineCap.Butt)
Parameters
a
Vector2
b
Vector2
color
Color4
thickness
float
cap
LineCap
public override void DrawRect(Vector2 a, Vector2 b, Color4 color)
Parameters
a
Vector2
b
Vector2
color
Color4
public override void DrawRectOutline(Vector2 a, Vector2 b, Color4 color, float thickness = 1)
Parameters
a
Vector2
b
Vector2
color
Color4
thickness
float
public override void DrawRenderChain(RenderChain renderChain)
Parameters
renderChain
RenderChain
public override void DrawRenderObjects(RenderObjectList renderObjects)
Parameters
renderObjects
RenderObjectList
public override void DrawRound(Vector2 center, float radius, int numSegments, Color4 innerColor, Color4 outerColor)
Parameters
center
Vector2
radius
float
numSegments
int
innerColor
Color4
outerColor
Color4
public override void DrawSprite(ISprite sprite, Color4 color, Vector2 position, Vector2 size)
Parameters
sprite
ISprite
color
Color4
position
Vector2
size
Vector2
public override void DrawSprite(ISprite sprite, IMaterial material, Color4 color, Vector2 position, Vector2 size)
Parameters
sprite
ISprite
material
IMaterial
color
Color4
position
Vector2
size
Vector2
DrawTextLine(IFont, Vector2, string, Color4, float, int, int, float)
public override void DrawTextLine(IFont font, Vector2 position, string text, Color4 color, float fontHeight, int start, int length, float letterSpacing)
Parameters
font
IFont
position
Vector2
text
string
color
Color4
fontHeight
float
start
int
length
int
letterSpacing
float
DrawTexture(ITexture, Color4, Vector2, Vector2, Vector2, Vector2)
public override void DrawTexture(ITexture texture1, Color4 color, Vector2 position, Vector2 size, Vector2 uv0, Vector2 uv1)
Parameters
texture1
ITexture
color
Color4
position
Vector2
size
Vector2
uv0
Vector2
uv1
Vector2
DrawTexture(ITexture, ITexture, Color4, Vector2, Vector2, Vector2, Vector2)
public override void DrawTexture(ITexture texture1, ITexture texture2, Color4 color, Vector2 position, Vector2 size, Vector2 uv0, Vector2 uv1)
Parameters
texture1
ITexture
texture2
ITexture
color
Color4
position
Vector2
size
Vector2
uv0
Vector2
uv1
Vector2
DrawTexture(ITexture, ITexture, Color4, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2)
public override void DrawTexture(ITexture texture1, ITexture texture2, Color4 color, Vector2 position, Vector2 size, Vector2 uv0t1, Vector2 uv1t1, Vector2 uv0t2, Vector2 uv1t2)
Parameters
texture1
ITexture
texture2
ITexture
color
Color4
position
Vector2
size
Vector2
uv0t1
Vector2
uv1t1
Vector2
uv0t2
Vector2
uv1t2
Vector2
DrawTexture(ITexture, ITexture, IMaterial, Color4, Vector2, Vector2, Vector2, Vector2, Vector2, Vector2)
public override void DrawTexture(ITexture texture1, ITexture texture2, IMaterial material, Color4 color, Vector2 position, Vector2 size, Vector2 uv0t1, Vector2 uv1t1, Vector2 uv0t2, Vector2 uv1t2)
Parameters
texture1
ITexture
texture2
ITexture
material
IMaterial
color
Color4
position
Vector2
size
Vector2
uv0t1
Vector2
uv1t1
Vector2
uv0t2
Vector2
uv1t2
Vector2
DrawTriangleFan(ITexture, ITexture, Vertex[], int)
public override void DrawTriangleFan(ITexture texture1, ITexture texture2, Vertex[] vertices, int numVertices)
Parameters
texture1
ITexture
texture2
ITexture
vertices
Vertex[]
numVertices
int
public override void EndFrame()
public override void Flush()
public override void MultiplyTransform1(Matrix32 transform)
Parameters
transform
Matrix32
public override void MultiplyTransform2(Matrix32 transform)
Parameters
transform
Matrix32
public override void PopRenderTarget()
public override void PopState()
PushRenderTarget(ITexture)
public override void PushRenderTarget(ITexture texture)
Parameters
texture
ITexture
public override void PushState(RenderState mask)
Parameters
mask
RenderState
public override void SetOrthogonalProjection(float left, float top, float right, float bottom)
Parameters
left
float
top
float
right
float
bottom
float