TestBatch beta
Interface of @v12-engine/render/testing
export interface TestBatch extends BatchA batch as the renderer keeps it, and what the last frame's view kept of it
Members
animations
animations: number;Calls of animated, since it was made
cascades
readonly cascades: number;How many cascades of the sun's shadows it is cast into (none: casts nothing)
cast
readonly cast: TestCast[];What each cascade of the main view's kept of it in the last frame, by cascade (as many as it may be cast into): the copies by their place (count of them), a batch in parts its runs, the triangles drawn into it. A cascade not drawn (the quality's fewer, the sun's shadows off) keeps nothing
disposed
disposed: boolean;Whether it was let go of
extra
readonly extra: Float32Array | undefined;The floats its copies carry besides their matrices, where its kind reads any
extraTouched
extraTouched: number;Calls of touchExtra, since it was made
glowColour
glowColour: readonly number[] | undefined;The colour glow last said, none where it said none or black
made
readonly made: number;Its place among every batch made: the order the view's pass draws them in, within their task
materials
readonly materials: Material[];The materials it was drawn with, the first first (use)
most
most: number;What limit, range and glow last said
options
readonly options: BatchOptions;The options it was made with
outlined
readonly outlined: Map<number, {
style: Outline;
thing: number;
}>;The copies outlined, by their place: in what style, as part of which thing
rangeCount
rangeCount: number;How many indices range last said
rangeFirst
rangeFirst: number;The first index range last said
runCount
runCount: number;How many runs the view's pass draws
runs
readonly runs?: Uint32Array;Of a batch in parts: the runs the view's pass draws, pairs of the first index and how many (runCount of them)
seen
readonly seen: Uint32Array;The copies the view's pass keeps, by their place in the batch (seenCount of them)
seenCount
seenCount: number;How many copies the view's pass keeps
spheres
readonly spheres: Float32Array;Each copy's sphere, as touch last worked them out (four floats: x, y, z, r)
touched
touched: number;Calls of each, since it was made
triangles
triangles: number;Triangles the view's pass draws of it
view
readonly view: SideView | undefined;The side view it is drawn in (BatchOptions.view), none for the main view's