PGR Copakond OpenGL Engine - Bowling
Loading...
Searching...
No Matches
copakond::LightUniforms Struct Reference

Caches shader uniform locations for a specific light instance to avoid repeated lookups. More...

#include <light.h>

Public Attributes

GLint type
GLint position
GLint direction
GLint ambient
GLint diffuse
GLint specular
GLint range
GLint angle
GLint exponent
GLint dim

Detailed Description

Caches shader uniform locations for a specific light instance to avoid repeated lookups.

Member Data Documentation

◆ ambient

GLint copakond::LightUniforms::ambient

◆ angle

GLint copakond::LightUniforms::angle

◆ diffuse

GLint copakond::LightUniforms::diffuse

◆ dim

GLint copakond::LightUniforms::dim

◆ direction

GLint copakond::LightUniforms::direction

◆ exponent

GLint copakond::LightUniforms::exponent

◆ position

GLint copakond::LightUniforms::position

◆ range

GLint copakond::LightUniforms::range

◆ specular

GLint copakond::LightUniforms::specular

◆ type

GLint copakond::LightUniforms::type

The documentation for this struct was generated from the following file: