Class RendererWrapper
- Namespace
- Lime
- Assembly
- Lime.dll
public abstract class RendererWrapper
- Inheritance
-
RendererWrapper
- Derived
-
- Inherited Members
-
Properties
Blending
public abstract Blending Blending { set; }
Property Value
- Blending
ColorWriteEnabled
public abstract ColorWriteMask ColorWriteEnabled { set; }
Property Value
- ColorWriteMask
CullMode
public abstract CullMode CullMode { set; }
Property Value
- CullMode
Current
public static RendererWrapper Current { get; set; }
Property Value
- RendererWrapper
DepthState
public abstract DepthState DepthState { set; }
Property Value
- DepthState
Projection
public abstract Matrix44 Projection { set; }
Property Value
- Matrix44
ScissorState
public abstract ScissorState ScissorState { set; }
Property Value
- ScissorState
Shader
public abstract ShaderId Shader { set; }
Property Value
- ShaderId
StencilState
public abstract StencilState StencilState { set; }
Property Value
- StencilState
public abstract Matrix32 Transform1 { set; }
Property Value
- Matrix32
public abstract Matrix32 Transform2 { set; }
Property Value
- Matrix32
View
public abstract Matrix44 View { set; }
Property Value
- Matrix44
Viewport
public abstract Viewport Viewport { set; }
Property Value
- Viewport
World
public abstract Matrix44 World { set; }
Property Value
- Matrix44
Methods
BeginFrame()
public abstract void BeginFrame()
Callback(Action)
public abstract void Callback(Action callback)
Parameters
callback Action
Clear(ClearOptions)
public void Clear(ClearOptions options)
Parameters
options ClearOptions
Clear(ClearOptions, Color4)
public abstract void Clear(ClearOptions options, Color4 color)
Parameters
options ClearOptions
color Color4
Clear(Color4)
public void Clear(Color4 color)
Parameters
color Color4
DrawCircle(Vector2, float, int, Color4)
public abstract void DrawCircle(Vector2 center, float radius, int numSegments, Color4 color)
Parameters
center Vector2
radius float
numSegments int
color Color4
DrawCircle(float, float, float, int, Color4)
public void DrawCircle(float x, float y, float radius, int numSegments, Color4 color)
Parameters
x float
y float
radius float
numSegments int
color Color4
DrawDashedLine(Vector2, Vector2, Color4, Vector2)
public abstract void DrawDashedLine(Vector2 a, Vector2 b, Color4 color, Vector2 dashSize)
Parameters
a Vector2
b Vector2
color Color4
dashSize Vector2
DrawLine(Vector2, Vector2, Color4, float, LineCap)
public abstract 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
DrawLine(float, float, float, float, Color4, float, LineCap)
public void DrawLine(float x0, float y0, float x1, float y1, Color4 color, float thickness = 1, LineCap cap = LineCap.Butt)
Parameters
x0 float
y0 float
x1 float
y1 float
color Color4
thickness float
cap LineCap
DrawRect(Vector2, Vector2, Color4)
public abstract void DrawRect(Vector2 a, Vector2 b, Color4 color)
Parameters
a Vector2
b Vector2
color Color4
DrawRect(float, float, float, float, Color4)
public void DrawRect(float x0, float y0, float x1, float y1, Color4 color)
Parameters
x0 float
y0 float
x1 float
y1 float
color Color4
DrawRectOutline(Vector2, Vector2, Color4, float)
public abstract void DrawRectOutline(Vector2 a, Vector2 b, Color4 color, float thickness = 1)
Parameters
a Vector2
b Vector2
color Color4
thickness float
DrawRenderChain(RenderChain)
public abstract void DrawRenderChain(RenderChain renderChain)
Parameters
renderChain RenderChain
DrawRenderObjects(RenderObjectList)
public abstract void DrawRenderObjects(RenderObjectList renderObjects)
Parameters
renderObjects RenderObjectList
DrawRound(Vector2, float, int, Color4)
public void DrawRound(Vector2 center, float radius, int numSegments, Color4 color)
Parameters
center Vector2
radius float
numSegments int
color Color4
DrawRound(Vector2, float, int, Color4, Color4)
public abstract void DrawRound(Vector2 center, float radius, int numSegments, Color4 innerColor, Color4 outerColor)
Parameters
center Vector2
radius float
numSegments int
innerColor Color4
outerColor Color4
DrawRound(float, float, float, int, Color4)
public void DrawRound(float x, float y, float radius, int numSegments, Color4 color)
Parameters
x float
y float
radius float
numSegments int
color Color4
DrawSprite(ISprite, Color4, Vector2, Vector2)
public abstract void DrawSprite(ISprite sprite, Color4 color, Vector2 position, Vector2 size)
Parameters
sprite ISprite
color Color4
position Vector2
size Vector2
DrawSprite(ISprite, IMaterial, Color4, Vector2, Vector2)
public abstract 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 abstract 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
DrawTextLine(IFont, Vector2, string, float, Color4, float)
public void DrawTextLine(IFont font, Vector2 position, string text, float fontHeight, Color4 color, float letterSpacing)
Parameters
font IFont
position Vector2
text string
fontHeight float
color Color4
letterSpacing float
DrawTextLine(Vector2, string, float, Color4, float)
public void DrawTextLine(Vector2 position, string text, float fontHeight, Color4 color, float letterSpacing)
Parameters
position Vector2
text string
fontHeight float
color Color4
letterSpacing float
DrawTextLine(float, float, string, float, Color4, float)
public void DrawTextLine(float x, float y, string text, float fontHeight, Color4 color, float letterSpacing)
Parameters
x float
y float
text string
fontHeight float
color Color4
letterSpacing float
DrawTexture(ITexture, Color4, Vector2, Vector2, Vector2, Vector2)
public abstract 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 abstract 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 abstract 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 abstract 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 abstract void DrawTriangleFan(ITexture texture1, ITexture texture2, Vertex[] vertices, int numVertices)
Parameters
texture1 ITexture
texture2 ITexture
vertices Vertex[]
numVertices int
DrawTriangleFan(ITexture, Vertex[], int)
public void DrawTriangleFan(ITexture texture1, Vertex[] vertices, int numVertices)
Parameters
texture1 ITexture
vertices Vertex[]
numVertices int
DrawTriangleFan(Vertex[], int)
public void DrawTriangleFan(Vertex[] vertices, int numVertices)
Parameters
vertices Vertex[]
numVertices int
EndFrame()
public abstract void EndFrame()
Flush()
public abstract void Flush()
public void GetBitmap(Widget widget, Action<Bitmap> callback)
Parameters
widget Widget
callback Action<Bitmap>
public abstract void MultiplyTransform1(Matrix32 transform)
Parameters
transform Matrix32
public abstract void MultiplyTransform2(Matrix32 transform)
Parameters
transform Matrix32
PopRenderTarget()
public abstract void PopRenderTarget()
PopState()
public abstract void PopState()
PushRenderTarget(ITexture)
public abstract void PushRenderTarget(ITexture texture)
Parameters
texture ITexture
PushState(RenderState)
public abstract void PushState(RenderState mask)
Parameters
mask RenderState
RenderToTexture(RenderChain, ITexture, float, float, Matrix32, bool)
public void RenderToTexture(RenderChain renderChain, ITexture texture, float width, float height, Matrix32 viewMatrix, bool clearRenderTarget = true)
Parameters
renderChain RenderChain
texture ITexture
width float
height float
viewMatrix Matrix32
clearRenderTarget bool
RenderToTexture(Widget, ITexture, RenderChain, bool)
public void RenderToTexture(Widget widget, ITexture texture, RenderChain renderChain, bool clearRenderTarget = true)
Parameters
widget Widget
texture ITexture
renderChain RenderChain
clearRenderTarget bool
SetOrthogonalProjection(Vector2, Vector2)
public void SetOrthogonalProjection(Vector2 leftTop, Vector2 rightBottom)
Parameters
leftTop Vector2
rightBottom Vector2
SetOrthogonalProjection(float, float, float, float)
public abstract void SetOrthogonalProjection(float left, float top, float right, float bottom)
Parameters
left float
top float
right float
bottom float