Attenuation Struct Reference

Structure defining the Attenuation of a Light. More...

#include <MercuryLight.h>

List of all members.

Public Types

enum  Type { CONSTANT = 0, LINEAR, QUADRATIC }

Public Member Functions

 Attenuation ()

Public Attributes

Type type
float value


Detailed Description

Structure defining the Attenuation of a Light.

Definition at line 8 of file MercuryLight.h.


Member Enumeration Documentation

enum Attenuation::Type

Enumerator:
CONSTANT 
LINEAR 
QUADRATIC 

Definition at line 10 of file MercuryLight.h.


Constructor & Destructor Documentation

Attenuation::Attenuation (  )  [inline]

Definition at line 19 of file MercuryLight.h.


Member Data Documentation

Type Attenuation::type

Definition at line 23 of file MercuryLight.h.

float Attenuation::value

Definition at line 24 of file MercuryLight.h.


The documentation for this struct was generated from the following file:
Hosted by SourceForge.net Logo