Class: Parasol::FragmentShader
- Defined in:
- lib/parasol/fragment_shader.rb
Instance Attribute Summary
Attributes inherited from Shader
Instance Method Summary collapse
-
#initialize(source:) ⇒ FragmentShader
constructor
A new instance of FragmentShader.
Methods inherited from Shader
Methods included from OpenGLContext
Constructor Details
#initialize(source:) ⇒ FragmentShader
Returns a new instance of FragmentShader.
5 6 7 |
# File 'lib/parasol/fragment_shader.rb', line 5 def initialize source: super source:, type: GL::FRAGMENT_SHADER end |