provaengine ~master (2018-04-11T21:05:02Z)
Dub
Repo
Screen
prova
graphics
screen
class
Screen : RenderTarget {
GLContext
glContext
;
void
resize
(
int
width
,
int
height
)
;
void
enableVSync
()
;
void
disableVSync
()
;
void
setClearColor
(
float
r
,
float
g
,
float
b
)
;
void
setClearColor
(
Color
color
)
;
void
clear
()
;
}
Members
Functions
clear
void
clear
()
disableVSync
void
disableVSync
()
enableVSync
void
enableVSync
()
resize
void
resize
(
int
width
,
int
height
)
Resizes the window
setClearColor
void
setClearColor
(
float
r
,
float
g
,
float
b
)
setClearColor
void
setClearColor
(
Color
color
)
Variables
glContext
GLContext
glContext
;
Meta
Source
See Implementation
prova
graphics
screen
modules
camera
glcontext
primitives
rendertarget
screen
shaderprograms
shapes
sprites
text