neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
shader.hpp File Reference
#include <neogfx/neogfx.hpp>
#include <neolib/core/jar.hpp>
#include <neolib/core/set.hpp>
#include <neogfx/gfx/i_shader.hpp>
#include <neogfx/gfx/i_rendering_engine.hpp>
#include "shader.glsl.hpp"
#include "shader.glsl-gles.hpp"

Go to the source code of this file.

Classes

class  neogfx::shader< Base >
 
class  neogfx::shader< Base >::cached_uniform
 

Namespaces

namespace  neogfx
 

Macros

#define cache_uniform(uniformName)   cached_uniform uniformName = { *this, #uniformName };
 
#define cache_shared_uniform(uniformName)   cached_uniform uniformName = { *this, #uniformName, true };
 

Macro Definition Documentation

◆ cache_shared_uniform

#define cache_shared_uniform (   uniformName)    cached_uniform uniformName = { *this, #uniformName, true };

Definition at line 33 of file shader.hpp.

◆ cache_uniform

#define cache_uniform (   uniformName)    cached_uniform uniformName = { *this, #uniformName };

Definition at line 32 of file shader.hpp.