1#ifndef NNGN_GRAPHICS_OPENGL_PROGRAM_H
2#define NNGN_GRAPHICS_OPENGL_PROGRAM_H
15 bool create(GLenum type, std::string_view
name, std::span<const u8> src);
22 std::string_view vs_name, std::string_view fs_name,
23 std::span<const u8> vs, std::span<const u8> fs);
name
Definition: cathedral.lua:11
l
Definition: light.lua:23
n
Definition: dump_lights.lua:5
v[1]
Definition: math.lua:19
std::uint32_t u32
Definition: def.h:14
bool bind_ubo(const char *name, u32 binding) const
bool create(std::string_view vs_name, std::string_view fs_name, std::span< const u8 > vs, std::span< const u8 > fs)
bool create(u32 vert, u32 frag)
bool get_uniform_location(const char *name, int *l) const
bool set_uniform(const char *name, GLsizei n, const int *v) const
bool set_uniform(const char *name, int v) const
bool create(GLenum type, std::string_view name, std::span< const u8 > src)