summaryrefslogtreecommitdiff
path: root/include/llmr/renderer/shader-line.hpp
blob: 9c0dfbaba9e625bf96b4f7d37d18013b34f9e3bc (plain)
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
#ifndef LLMR_RENDERER_SHADER_LINE
#define LLMR_RENDERER_SHADER_LINE

#include "shader.hpp"

namespace llmr {

class LineShader : public Shader {
public:
    LineShader();

    void bind(char *offset);

    int32_t a_pos;
    int32_t a_extrude;
    int32_t a_linesofar;

    int32_t u_matrix;
    int32_t u_exmatrix;
    int32_t u_linewidth;
    int32_t u_color;
    int32_t u_ratio;
    int32_t u_dasharray;
    int32_t u_debug;
};

}

#endif