libigl v2.5.0
Loading...
Searching...
No Matches
bind_vertex_attrib_array.h File Reference
#include "gl.h"
#include "../igl_inline.h"
#include <Eigen/Core>
#include <string>
#include "bind_vertex_attrib_array.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 
namespace  igl::opengl
 

Functions

template<typename Scalar , int RowsAtCompileTime, int ColsAtCompileTime>
GLint igl::opengl::bind_vertex_attrib_array (const GLuint program_shader, const std::string &name, GLuint bufferID, const Eigen::Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, Eigen::RowMajor > &M, const bool refresh)
 Bind a per-vertex array attribute and refresh its contents from an Eigen matrix.