Class: Parasol::GeometryShader

Inherits:
Shader
  • Object
show all
Defined in:
lib/parasol/geometry_shader.rb

Instance Attribute Summary

Attributes inherited from Shader

#source, #type

Instance Method Summary collapse

Methods inherited from Shader

#compiled?, #delete, #handle

Methods included from OpenGLContext

#require_opengl_context!

Constructor Details

#initialize(source:) ⇒ GeometryShader

Returns a new instance of GeometryShader.



5
6
7
# File 'lib/parasol/geometry_shader.rb', line 5

def initialize source:
  super source:, type: GL::GEOMETRY_SHADER
end