summaryrefslogtreecommitdiff
path: root/intermediate/forward.h
blob: 3bc2d503875e337933f58ae6dc542eef01df42fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef forward_h
#define forward_h
#ifdef DESC

[struct]
name: Light
[variable]
name: pos
type: vec3
[variable]
name: brightness
type: float
[variable]
name: colour
type: vec3
[variable]
name: caster_id
type: int
[variable]
name: range
type: float

[struct]
name: Caster
[variable]
name: projection
type: mat4

[struct]
name: Globals
[variable]
name: camera_pos
type: vec3
[variable]
name: light_count
type: int
[variable]
name: frame
type: int
[variable]
name: sun_irange
type: ivec2
[variable]
name: point_irange
type: ivec2

[cbuffer]
name: globals
type: Globals
stage: fragment

#endif

#endif