From the Julia package GLFW page:
“The Julia interface is almost identical to the underlying C interface, with a few notable differences:”
while that’s true, figuring out how to translate things like,
glShaderSource(vertex_shader, 1, &vertex_shader_text, NULL);
into Julia is proving to be a bit of a task, consisting almost entierly of trial and error. This is really a more general question as to how to translate opengl code in general, thanks to opengl specific types, etc… for example,
const GLint vcol_location = glGetAttribLocation(program, "vCol"); glVertexAttribPointer(vcol_location, 3, GL_FLOAT, GL_FALSE, sizeof(Vertex), (void*) offsetof(Vertex, col));
There’s a whole lotta learning curve here, and looking for something to help me get down that curve a little faster.
Thank you !