struct mrpt::opengl::CompiledViewport::PointShadowCube

Overview

A cube shadow map in m_pointShadowArrayTexId.

struct PointShadowCube
{
    // fields

    int lightIndex = -1;
    float zNear = 0;
    float zFar = 0;
    uint64_t signature = 0;
};

Fields

int lightIndex = -1

Index in m_lightParams.lights.

uint64_t signature = 0

Of the light and nearby objects, to reuse the map.