Struct GeometryBuilderJob Extends IJob

Package

Job to build the geometry from a stream of rendering commands.

Inner Types

Public Methods

AddBox (box)
AddCircle (circle)
AddDisc (circle)
AddLine (line)
AddPlane (plane)
AddSolidTriangle (triangle)
AddSphereOutline (circle)
AddText (text, textData, color)
AddText3D (text, textData, color)
AddTextInternal (text, pivot, right, up, alignment, size, sizeIsInPixels, numCharacters, color)
AddWireBox (box)
Execute ()
Next (reader, matrixStack, colorStack, lineWidthStack, matrixStackSize, colorStackSize, lineWidthStackSize)

Public Static Methods

Add<T> (buffer, value)
Reserve (buffer, size)

Public Variables

buffers
Public
cameraDepthToPixelSize
Public
cameraIsOrthographic
Public
cameraPosition
Public
cameraRotation
Public
characterInfo
Public
characterInfoLength
Public
currentColor
Public
currentLineWidthData
Public
currentMatrix
Public
lastLineWidth
Public
lastNormalizedLineDir
Public
lineWidthMultiplier
Public
maxBounds
Public
maxPixelError
Public
minBounds
Public

Public Static Variables

MaxCirclePixelError
Public Static
MaxStackSize
Public Static
TrianglesPerCharacter
Public Static
VerticesPerCharacter
Public Static

Private/Protected Members

BoxTriangles
Internal Static Readonly
BoxVertices
Internal Static Readonly
CircleSteps (center, radius, maxPixelError, currentMatrix, cameraDepthToPixelSize, cameraPosition)

Calculate number of steps to use for drawing a circle at the specified point and radius to get less than the specified pixel error.