LightManager
Constants
- LIGHT_ENCODING_TYPE_BIT_COUNT :
number
How many bits are used to encode light type
Functions
-
encode_light_type(light) ⇒
number - build_light_data_bvh(data_set, bvh)
-
compareLRMByLightId(a, b) ⇒
number
LIGHT_ENCODING_TYPE_BIT_COUNT : number
How many bits are used to encode light type
Kind: global constant
encode_light_type(light) ⇒ number
Kind: global function
| Param | Type |
|---|---|
| light | AbstractLight | PointLight | Decal |
encode_light_descriptor(address, light) ⇒ number
Kind: global function
| Param | Type |
|---|---|
| address | number |
| light | AbstractLight |
build_light_data_bvh(data_set, bvh)
Kind: global function
| Param | Type |
|---|---|
| data_set | IncrementalDeltaSet.<LightRenderMetadata> |
| bvh | BinaryUint32BVH |
build_light_data_bvh~datum : LightRenderMetadata
Kind: inner constant of build_light_data_bvh
compareLRMByLightId(a, b) ⇒ number
Kind: global function
| Param | Type |
|---|---|
| a | LightRenderMetadata |
| b | LightRenderMetadata |