BakeJob
此内容尚不支持你的语言。
BakeJob = {
kind:"direct";out:Float32Array; } | {atlas:Float32Array;kind:"gather";out:Float32Array; } | {atlas:Float32Array;kind:"probes";out:Float32Array;positions:Float64Array;samples:number;skyVisibility:Float32Array|null; }
Defined in: sdk/src/lightmap/bake.ts:317
One pass over every lumel, or over a list of probes. Each writes only its own entries of out, so any split of
the range (jobLength) gives the same result.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ kind: "direct"; out: Float32Array; }
Type Literal
Section titled “Type Literal”{ atlas: Float32Array; kind: "gather"; out: Float32Array; }
Type Literal
Section titled “Type Literal”{ atlas: Float32Array; kind: "probes"; out: Float32Array; positions: Float64Array; samples: number; skyVisibility: Float32Array | null; }
Probes at positions (three doubles each) gathering the solved light field atlas: 27 coefficients each
into out, and with sky occlusion nine of how much sky each sees into skyVisibility (the sky then not
gathered).