class Boleite::ForwardRenderer

Defined in:

boleite/graphics/forward_renderer.cr

Constructors

Instance Method 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, default_shader : Shader) #

[View source]

Instance Method Detail

def clear(color : Colorf) : Void #

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

[View source]
def ensure_shader(shader) : Shader #

[View source]
def present : Void #

[View source]