X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fscene_font.h;fp=shaders%2Fscene_font.h;h=0000000000000000000000000000000000000000;hb=bececcbb7b2e886e72425e7c070e1fdc3aa126dc;hp=53f22c3d72467aa811ce78629e44a1fcaa26c0ae;hpb=93790b71d3a89724255dc73239e38c08ad4bbac7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/scene_font.h b/shaders/scene_font.h deleted file mode 100644 index 53f22c3..0000000 --- a/shaders/scene_font.h +++ /dev/null @@ -1,65 +0,0 @@ -#pragma once -#include "vg/vg_engine.h" -extern struct vg_shader _shader_scene_font; -extern GLuint _uniform_scene_font_uMdl; -extern GLuint _uniform_scene_font_uPv; -extern GLuint _uniform_scene_font_uPvmPrev; -extern GLuint _uniform_scene_font_uOffset; -extern GLuint _uniform_scene_font_uTexGarbage; -extern GLuint _uniform_scene_font_uTexMain; -extern GLuint _uniform_scene_font_uCamera; -extern GLuint _uniform_scene_font_uTime; -extern GLuint _uniform_scene_font_uOpacity; -extern GLuint _uniform_scene_font_uColourize; -extern GLuint _uniform_scene_font_g_world_depth; -extern GLuint _uniform_scene_font_uLightsArray; -extern GLuint _uniform_scene_font_uLightsIndex; -static inline void shader_scene_font_uMdl(m4x3f m) -{ - glUniformMatrix4x3fv(_uniform_scene_font_uMdl,1,GL_FALSE,(f32*)m); -} -static inline void shader_scene_font_uPv(m4x4f m) -{ - glUniformMatrix4fv(_uniform_scene_font_uPv,1,GL_FALSE,(f32*)m); -} -static inline void shader_scene_font_uPvmPrev(m4x4f m) -{ - glUniformMatrix4fv(_uniform_scene_font_uPvmPrev,1,GL_FALSE,(f32*)m); -} -static inline void shader_scene_font_uOffset(v4f v) -{ - glUniform4fv(_uniform_scene_font_uOffset,1,v); -} -static inline void shader_scene_font_uTexGarbage(int i) -{ - glUniform1i(_uniform_scene_font_uTexGarbage,i); -} -static inline void shader_scene_font_uTexMain(int i) -{ - glUniform1i(_uniform_scene_font_uTexMain,i); -} -static inline void shader_scene_font_uCamera(v3f v) -{ - glUniform3fv(_uniform_scene_font_uCamera,1,v); -} -static inline void shader_scene_font_uTime(f32 f) -{ - glUniform1f(_uniform_scene_font_uTime,f); -} -static inline void shader_scene_font_uOpacity(f32 f) -{ - glUniform1f(_uniform_scene_font_uOpacity,f); -} -static inline void shader_scene_font_uColourize(f32 f) -{ - glUniform1f(_uniform_scene_font_uColourize,f); -} -static inline void shader_scene_font_g_world_depth(int i) -{ - glUniform1i(_uniform_scene_font_g_world_depth,i); -} -static inline void shader_scene_font_use(void); -static inline void shader_scene_font_use(void) -{ - glUseProgram(_shader_scene_font.id); -}