lightCubeMap
A cube map texture describing the light’s intensity in all directions.
Declaration
var lightCubeMap: MDLTexture? { get }Discussion
Use the generateSphericalHarmonics(fromLight:) method to create a cube map texture based on the light’s photometry data, then use this property to access the resulting texture. In this texture, each texel represents the light’s intensity in the direction from the cube’s center to the texel’s position on the cube.