Have anyone used geometry shaders in SharpGL? I cannot figure out how to accomplish it in my code. As I see method Create
which is provided with ShaderProgram
from SharpGL.Shaders
take only Vertex Shader
and Fragment Shader
as parameters.
public void Create(
OpenGL gl,
string vertexShaderSource,
string fragmentShaderSource,
Dictionary<uint, string> attributeLocations
);
How can I link my geometry shader with OpenGL via SharpGL? Or I need to use another approach to get Geometry Shader
worked?