Euphoria
shaderattribute2d.cc
Go to the documentation of this file.
2 
3 #include "assert/assert.h"
4 
5 #include "render/shader.h"
6 
8 {
10  {
11  ASSERT(shader);
12  shader->add_attribute(vertex);
13  }
14 }
#define ASSERT(x)
Definition: assert.h:29
constexpr ShaderAttribute vertex
void add_attributes_to_shader(ShaderProgram *shader)
void add_attribute(const ShaderAttribute &attribute)
Definition: shader.cc:184