Renderer

Functions

Static Functions

DrawSprite(Sprite sprite, Material material, Matrix4x4 transform, Vector2 origin, Box frame, Color tintColor, RenderBatch renderBatch)
DrawRectangleOutline(Sprite line, Material material, Vector3 position, Box rectangle, float outlineWidth, Color outlineColor, float rotation, RenderBatch batch)
DrawLine(Sprite line, Material material, Vector3 startPos, Vector3 endPos, float lineWidth, Color lineColor, RenderBatch batch)
DrawPolygonOutline(Sprite line, Material material, Vector3 offset, NativePolygon polygon, float lineWidth, Color lineColor, RenderBatch batch)
DrawSpriteRect(Sprite sprite, Material material, Box rect, Vector2 originPixels, Box framePixels, float rotation, Color tintColor, float depth, RenderBatch batch)
DrawSprite9Sliced(Sprite sprite, Material material, Box area, Box framePixels, float left, float right, float top, float bottom, Color tintColor, float depth, RenderBatch batch, float spriteScale)
DrawMesh(Mesh mesh, Material material, Matrix4x4 transformMatrix, RenderBatch batch)
DrawMeshAnimated(Mesh mesh, Span boneTransforms, Material material, Matrix4x4 transformMatrix, RenderBatch batch)
ProcessSprites(Span inputs, Span outputs)
ProcessMeshAnimated(Mesh mesh, Material material, RenderBatch batch)
DrawMeshSelector(Mesh mesh, uint entityID, Material material, Matrix4x4 transformMatrix, RenderBatch batch)
DrawString(string text, Font font, Material material, Vector3 position, Vector2 scale, Color textColor, RenderBatch renderBatch, float maxWidthX, StringRenderMode renderMode)
AddCamera(RenderBatch renderBatch, Entity cameraEntity, Matrix4x4 viewMatrix, Matrix4x4 projMatrix)
AddPointLight(Vector3 position, Vector3 color, float radius, RenderBatch batch)