blob: 7c4c9d38d8e51f4c84dfdd4fd1471bdd61513a98 (
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
|
#ifndef forward_h
#define forward_h
#ifdef DESC
[struct]
name: Light
[variable]
name: dir
type: vec3
[variable]
name: brightness
type: float
[variable]
name: colour
type: vec3
[variable]
name: caster_id
type: int
[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
[cbuffer]
name: globals
type: Globals
stage: fragment
#endif
#endif
|