Realtime Fractal Renderer Documentation
Light Struct Reference

A struct representing a light, for use with the phong illumination model. More...

Collaboration diagram for Light:
Collaboration graph

Data Fields

float3 position
 
float3 ambient
 
float3 diffuse
 
float3 specular
 

Detailed Description

A struct representing a light, for use with the phong illumination model.

Definition at line 31 of file types.cl.

Field Documentation

◆ ambient

float3 ambient

Definition at line 34 of file types.cl.

◆ diffuse

float3 diffuse

Definition at line 35 of file types.cl.

◆ position

float3 position

Definition at line 33 of file types.cl.

◆ specular

float3 specular

Definition at line 36 of file types.cl.


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