query_bvh_frustum_from_texture
Members
- stack[undefined] :
number
After performing empirical tests, stack-based depth-first traversal turns out faster than using a queue
Functions
- frustum_check(data, address, planes) ⇒
boolean
- query_bvh_frustum_from_texture(destination, destination_offset, bvh, source_data, planes, points) ⇒
number
Most of the data is in flat continuous array for cache coherence
stack[undefined] : number
After performing empirical tests, stack-based depth-first traversal turns out faster than using a queue
Kind: global variable
frustum_check(data, address, planes) ⇒ boolean
Kind: global function
Param | Type |
---|---|
data | Float32Array |
address | number |
planes | ArrayLike.<number> | Array.<number> |
query_bvh_frustum_from_texture(destination, destination_offset, bvh, source_data, planes, points) ⇒ number
Most of the data is in flat continuous array for cache coherence
Kind: global function
Returns: number
- number of items added to the destination, non-negative integer
Param | Type |
---|---|
destination | Array.<number> |
destination_offset | number |
bvh | BinaryUint32BVH |
source_data | Array.<number> | Uint8ClampedArray |
planes | Array.<number> | Float32Array | Float64Array |
points | Array.<number> | Float32Array | Float64Array |
query_bvh_frustum_from_texture~stack_top : number
Kind: inner constant of query_bvh_frustum_from_texture