Realtime Fractal Renderer Documentation
types.cl
Go to the documentation of this file.
1
#ifndef TYPES_CL
3
#define TYPES_CL
5
9
typedef
struct
10
{
11
float3
position
;
12
float3
direction
;
13
}
14
Ray
;
15
19
typedef
struct
20
{
21
float3
ambient
;
22
float3
diffuse
;
23
float3
specular
;
24
float
shininess
;
25
}
26
Material
;
27
31
typedef
struct
32
{
33
float3
position
;
34
float3
ambient
;
35
float3
diffuse
;
36
float3
specular
;
37
}
38
Light
;
39
40
#endif
Light
A struct representing a light, for use with the phong illumination model.
Definition:
types.cl:32
Light::ambient
float3 ambient
Definition:
types.cl:34
Light::position
float3 position
Definition:
types.cl:33
Light::diffuse
float3 diffuse
Definition:
types.cl:35
Light::specular
float3 specular
Definition:
types.cl:36
Material
A struct representing a geometry material, for use with the Phong reflection model.
Definition:
types.cl:20
Material::ambient
float3 ambient
Definition:
types.cl:21
Material::diffuse
float3 diffuse
Definition:
types.cl:22
Material::shininess
float shininess
Definition:
types.cl:24
Material::specular
float3 specular
Definition:
types.cl:23
Ray
A struct representing a line in 3D space.
Definition:
types.cl:10
Ray::position
float3 position
Definition:
types.cl:11
Ray::direction
float3 direction
Definition:
types.cl:12
FractalGeometryRenderer
kernels
include
types.cl
Generated by
1.9.3