]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Use a default sampler in Renderer if null was passed in
[libs/gl.git] / source / render / renderer.h
index 75c8cc8b58aaada99b371eb1bfc553d47d3d4ad7..4e70204240f3de2591d987d65551cc44379f97d5 100644 (file)
@@ -105,6 +105,7 @@ private:
        {
                PIPELINE_KEY = 1,
                MATRIX = 2,
+               CAMERA = 4,
                SHADER_DATA = 16
        };
 
@@ -116,9 +117,13 @@ private:
        std::vector<BoundProgramData> shdata_stack;
        std::vector<BoundTexture> texture_stack;
        const Texture &placeholder_texture;
+       const Sampler &default_sampler;
        PipelineState *last_pipeline = 0;
        Commands commands;
 
+       static const Tag world_obj_matrix_tag;
+       static const Tag world_obj_normal_matrix_tag;
+
 public:
        Renderer();