Table of Contents

Class DeferredRendererWrapper

Namespace
Lime
Assembly
Lime.dll
public class DeferredRendererWrapper : RendererWrapper
Inheritance
DeferredRendererWrapper
Inherited Members

Properties

Blending

public override Blending Blending { set; }

Property Value

Blending

ColorWriteEnabled

public override ColorWriteMask ColorWriteEnabled { set; }

Property Value

ColorWriteMask

CullMode

public override CullMode CullMode { set; }

Property Value

CullMode

DepthState

public override DepthState DepthState { set; }

Property Value

DepthState

Projection

public override Matrix44 Projection { set; }

Property Value

Matrix44

ScissorState

public override ScissorState ScissorState { set; }

Property Value

ScissorState

Shader

public override ShaderId Shader { set; }

Property Value

ShaderId

StencilState

public override StencilState StencilState { set; }

Property Value

StencilState

Transform1

public override Matrix32 Transform1 { set; }

Property Value

Matrix32

Transform2

public override Matrix32 Transform2 { set; }

Property Value

Matrix32

View

public override Matrix44 View { set; }

Property Value

Matrix44

Viewport

public override Viewport Viewport { set; }

Property Value

Viewport

World

public override Matrix44 World { set; }

Property Value

Matrix44

Methods

BeginFrame()

public override void BeginFrame()

Callback(Action)

public override void Callback(Action callback)

Parameters

callback Action

Clear(ClearOptions, Color4)

public override void Clear(ClearOptions options, Color4 color)

Parameters

options ClearOptions
color Color4

ClearCommands()

public void ClearCommands()

DrawCircle(Vector2, float, int, Color4)

public override void DrawCircle(Vector2 center, float radius, int numSegments, Color4 color)

Parameters

center Vector2
radius float
numSegments int
color Color4

DrawDashedLine(Vector2, Vector2, Color4, Vector2)

public override 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 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

DrawRect(Vector2, Vector2, Color4)

public override void DrawRect(Vector2 a, Vector2 b, Color4 color)

Parameters

a Vector2
b Vector2
color Color4

DrawRectOutline(Vector2, Vector2, Color4, float)

public override void DrawRectOutline(Vector2 a, Vector2 b, Color4 color, float thickness = 1)

Parameters

a Vector2
b Vector2
color Color4
thickness float

DrawRenderChain(RenderChain)

public override void DrawRenderChain(RenderChain renderChain)

Parameters

renderChain RenderChain

DrawRenderObjects(RenderObjectList)

public override void DrawRenderObjects(RenderObjectList renderObjects)

Parameters

renderObjects RenderObjectList

DrawRound(Vector2, float, int, Color4, Color4)

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

DrawSprite(ISprite, Color4, Vector2, Vector2)

public override 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 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

EndFrame()

public override void EndFrame()

ExecuteCommands(RendererWrapper)

public void ExecuteCommands(RendererWrapper renderer)

Parameters

renderer RendererWrapper

Flush()

public override void Flush()

MultiplyTransform1(Matrix32)

public override void MultiplyTransform1(Matrix32 transform)

Parameters

transform Matrix32

MultiplyTransform2(Matrix32)

public override void MultiplyTransform2(Matrix32 transform)

Parameters

transform Matrix32

PopRenderTarget()

public override void PopRenderTarget()

PopState()

public override void PopState()

PushRenderTarget(ITexture)

public override void PushRenderTarget(ITexture texture)

Parameters

texture ITexture

PushState(RenderState)

public override void PushState(RenderState mask)

Parameters

mask RenderState

SetOrthogonalProjection(float, float, float, float)

public override void SetOrthogonalProjection(float left, float top, float right, float bottom)

Parameters

left float
top float
right float
bottom float