abstract class Boleite::Renderer

Direct Known Subclasses

Defined in:

boleite/graphics/forward_renderer.cr
boleite/graphics/renderer.cr
boleite/gui/renderer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(gfx : GraphicsContext, camera : Camera) #

[View source]

Instance Method Detail

def camera : Boleite::Camera #

[View source]
def camera=(camera : Boleite::Camera) #

[View source]
abstract def clear(color : Colorf) : Void #

[View source]
def draw(drawable : Drawable, transform = Matrix44f32.identity) #

[View source]
abstract def draw(drawcall : DrawCallContext) : Void #

[View source]

[View source]
abstract def present : Void #

[View source]