Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Display
Inherits
Reference
<
Object
Constants
HEIGHT = 144
PIXELFORMAT_RGB24 = (((((1 << 28) | (7 << 24)) | (1 << 20)) | (0 << 16)) | (24 << 8)) | (3 << 0)
TEXTUREACCESS_STREAMING = 1
WIDTH = 160
Constructors
new
(gb :
Motherboard
, headless :
Bool
)
Source
Instance methods
draw
(framebuffer :
Array
(
RGB
)) :
Nil
Source
window_title
Source
write_png
(framebuffer :
Array
(
RGB
)) :
Nil
Source