MCPcopy
hub / github.com/EngoEngine/engo / legacyShader

Struct legacyShader

common/render_shaders_shapes.go:10–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type legacyShader struct {
11 program *gl.Program
12
13 indicesRectangles []uint16
14 indicesRectanglesVBO *gl.Buffer
15
16 inPosition int
17 inColor int
18
19 matrixProjection *gl.UniformLocation
20 matrixView *gl.UniformLocation
21 matrixModel *gl.UniformLocation
22
23 projectionMatrix []float32
24 viewMatrix []float32
25 modelMatrix []float32
26
27 camera *CameraSystem
28 cameraEnabled bool
29
30 lastBuffer *gl.Buffer
31}
32
33func (l *legacyShader) Setup(w *ecs.World) error {
34 var err error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected