Class: Hornetseye::OpenGLOutput
- Inherits:
-
Object
- Object
- Hornetseye::OpenGLOutput
- Defined in:
- lib/hornetseye-xorg/opengloutput.rb
Instance Method Summary collapse
Instance Method Details
#write(frame) ⇒ Object
22 23 24 25 |
# File 'lib/hornetseye-xorg/opengloutput.rb', line 22 def write( frame ) target = frame.rgb? ? UBYTERGB : UBYTE super frame.to_type( target ).memorise end |