Skip to main content

LightManager

Constants

LIGHT_ENCODING_TYPE_BIT_COUNT : number

How many bits are used to encode light type

Functions

encode_light_type(light)number
encode_light_descriptor(address, 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

ParamType
lightAbstractLight | PointLight | Decal

encode_light_descriptor(address, light) ⇒ number

Kind: global function

ParamType
addressnumber
lightAbstractLight

build_light_data_bvh(data_set, bvh)

Kind: global function

ParamType
data_setIncrementalDeltaSet.<LightRenderMetadata>
bvhBinaryUint32BVH

build_light_data_bvh~datum : LightRenderMetadata

Kind: inner constant of build_light_data_bvh

compareLRMByLightId(a, b) ⇒ number

Kind: global function

ParamType
aLightRenderMetadata
bLightRenderMetadata