class Boleite::GUI::Renderer

Included Modules

Defined in:

boleite/gui/renderer.cr

Constructors

Instance Method Summary

Macro Summary

Instance methods inherited from class Boleite::Renderer

camera : Boleite::Camera camera, camera=(camera : Boleite::Camera) camera=, clear(color : Colorf) : Void clear, draw(drawable : Drawable, transform = Matrix44f32.identity)
draw(drawcall : DrawCallContext) : Void
draw
, gfx : Boleite::GraphicsContext gfx, present : Void present

Constructor methods inherited from class Boleite::Renderer

new(gfx : GraphicsContext, camera : Camera) new

Constructor Detail

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

[View source]

Instance Method Detail

def clear(rect : IntRect, color : Colorf) : Void #

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

[View source]
def contract_ensures_draw(return_value, drawcall : DrawCallContext) #

[View source]
def contract_post_draw(check_depth, return_value, drawcall : DrawCallContext) #

[View source]
def contract_pre_draw(check_depth, drawcall : DrawCallContext) #

[View source]
def contract_requires_draw(drawcall : DrawCallContext) #

[View source]
def create_paste_shader(gfx) : Shader #

[View source]
def create_vertices #

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

[View source]
def present : Void #

[View source]
def test_invariant_contracts(method = "") #

[View source]

Macro Detail

macro assert(test) #

[View source]
macro ensures(test) #

[View source]
macro invariant(test) #

[View source]
macro requires(test) #

[View source]