EPOK RUNTIME
Lighting
lighting.hpp · the lighting module
Module
the lighting module.
Include this module
C++ include
#include "lighting.hpp"Types
LightingRendererClass template declared by the lighting module for the lighting module.Class templateLocalStruct declared by the lighting module for the lighting module.StructMeshNormalTransformStruct declared by the lighting module for the lighting module.StructSourceStruct declared by the lighting module for the lighting module.StructVectorStruct declared by the lighting module for the lighting module.StructFunctions and methods
applyPerforms `apply` as part of the lighting module.MethodclampPerforms `clamp` as part of the lighting module.FunctionclearClears clear as part of the lighting module.MethoddirectionPerforms `direction` as part of the lighting module.Functionface_normalPerforms `face normal` as part of the lighting module.FunctionlocalizeRotates the light matrix loaded by shade() into an object's local space when its world basis is a rotation with uniform scale (within 1/256).Methodmesh_normalPerforms `mesh normal` as part of the lighting module.Functionmesh_shadePerforms `mesh shade` as part of the lighting module.Functionmesh_shade_localLit face whose normal is already in the space of the GTE light matrix (see LightingRenderer::localize).Functionmesh_shade_normalShades one face with the light registers prepared by LightingRenderer::shade.FunctionnormalizePerforms `normalize` as part of the lighting module.FunctionpairPerforms `pair` as part of the lighting module.FunctionpreparePerforms `prepare` as part of the lighting module.Methodreset_ownerResets owner as part of the lighting module.MethodshadePerforms `shade` as part of the lighting module.Methodsqrt64Performs `sqrt64` as part of the lighting module.FunctionFields, variables and values
cofactorsExposes `cofactors` on `epok::lighting_detail::MeshNormalTransform` for the lighting module.FieldcolorExposes `color` on `epok::lighting_detail::Local` for the lighting module.FielddirectionExposes `direction` on `epok::lighting_detail::Local` for the lighting module.FielddirectionExposes `direction` on `epok::lighting_detail::Source` for the lighting module.FieldentityExposes `entity` on `epok::lighting_detail::Source` for the lighting module.FieldinitializedExposes `initialized` on `epok::lighting_detail::Local` for the lighting module.FieldinitializedExposes `initialized` on `epok::lighting_detail::MeshNormalTransform` for the lighting module.Fieldlighting_workExposes `lighting_work` on the `epok` namespace for the lighting module.VariablepositionExposes `position` on `epok::lighting_detail::Source` for the lighting module.FieldselectedExposes `selected` on `epok::lighting_detail::Local` for the lighting module.FieldsignatureHash of the light matrix, colours, ambient and material tint loaded by the last shade(); retained packets rebuild when it changes.FieldvExposes `v` on `epok::lighting_detail::Vector` for the lighting module.Field