Namespace: dmGameSystem
Language: C++
Type: Defold C++
File: res_light.h
Source: engine/gamesys/src/dmsdk/gamesys/resources/res_light.h
Include: dmsdk/gamesys/resources/res_light.h
Helper types and accessors for the light resource type (.lightc).
Type: FUNCTION Returns the dmRender::HLightPrototype handle created from the .lightc data. The pointer remains valid until the resource is released.
Parameters
res (LightResource*) - Light resourceReturns
prototype (dmRender::HLightPrototype*) - Prototype pointerType: STRUCT This struct is an opaque handle managed by the engine.