pp v0.0.52 (2019-04-12T13:41:01Z)
Dub
Repo
Renderer
polyplex
core
render
Undocumented in source.
class
Renderer {
static
win
.
Window
Window
;
static
void
AssignRenderer
(win.Window parent);
static
void
ClearColor
(Color color);
static
void
ClearDepth
();
static
void
SwapBuffers
();
static
Shader
CreateShader
(ShaderCode code);
static
void
AdjustViewport
();
static
VSyncState
VSync
[@property getter];
static
VSyncState
VSync
[@property setter];
static
Rectangle
ScissorRectangle
[@property getter];
static
Rectangle
ScissorRectangle
[@property setter];
static
SpriteBatch
NewBatcher
();
}
Members
Properties
ScissorRectangle
Rectangle
ScissorRectangle
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
ScissorRectangle
Rectangle
ScissorRectangle
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
VSync
VSyncState
VSync
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
VSync
VSyncState
VSync
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
AdjustViewport
void
AdjustViewport
()
Undocumented in source. Be warned that the author may not have intended to support it.
AssignRenderer
void
AssignRenderer
(win.Window parent)
Backend function, run automatically, no need to invoke it manually. c:
ClearColor
void
ClearColor
(Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
ClearDepth
void
ClearDepth
()
Undocumented in source. Be warned that the author may not have intended to support it.
CreateShader
Shader
CreateShader
(ShaderCode code)
Undocumented in source. Be warned that the author may not have intended to support it.
NewBatcher
SpriteBatch
NewBatcher
()
Undocumented in source. Be warned that the author may not have intended to support it.
SwapBuffers
void
SwapBuffers
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static variables
Window
win
.
Window
Window
;
Undocumented in source.
Meta
Source
See Implementation
polyplex
core
render
modules
camera
gl
shapes
simplefont
classes
BackendRenderer
Framebuffer
FramebufferImpl
Renderer
Shader
ShaderCode
SpriteBatch
enums
Blending
ProjectionState
Sampling
ShaderLang
ShaderType
SpriteFlip
SpriteSorting
VSyncState
functions
CreateBackendRenderer
structs
RasterizerState