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
local n
Definition dump_lights.lua:5
local l
Definition light.lua:23
std::uint32_t u32
Definition def.h:14
v[1]
Definition math.lua:22
bool bind_ubo(const char *name, u32 binding) const
Definition prog.cpp:122
bool create(u32 vert, u32 frag)
Definition prog.cpp:49
bool get_uniform_location(const char *name, int *l) const
Definition prog.cpp:96
bool set_uniform(const char *name, int v) const
Definition prog.cpp:104
bool destroy()
Definition prog.cpp:90
bool create(GLenum type, std::string_view name, std::span< const u8 > src)
Definition prog.cpp:16
bool destroy()
Definition prog.cpp:42