class Nya::Render::Backends::GL_SDL
- Nya::Render::Backends::GL_SDL
- Nya::Render::Backend
- Reference
- Object
Included Modules
Defined in:
nya/render/backends/gl_sdl.crConstructors
Class Method Summary
Instance Method Summary
Instance methods inherited from module Nya::Render::Backends::SDL2
has_title? : Bool
has_title?,
quit
quit,
resizeable? : Bool
resizeable?,
size : CrystalEdge::Vector2
size,
size=(size : CrystalEdge::Vector2)
size=,
title : String
title,
title=(title) : String
title=,
update
update
Instance methods inherited from module Nya::Render::Backends::GL
compile_shaders(sh : ShaderProgram)
compile_shaders,
create_object(objtype : Symbol) : Render::Backend::Metadata
create_object,
current_camera : Camera
current_camera,
delete_object(object : Render::Backend::Metadata)
delete_object,
delete_shaders(sh : ShaderProgram)
delete_shaders,
draw(mode = LibGL::QUADS, &)
draw,
draw_camera(c : Camera, &)
draw_camera,
draw_game_object(obj : Nya::GameObject, &)
draw_game_object,
draw_mesh(mesh : Mesh)
draw_mesh,
draw_shape(shape : Models::Shape)
draw_shape,
draw_texture(tex : Nya::Render::Backend::Metadata, x, y, w, h)draw_texture(texture : Texture, x, y, w, h)
draw_texture(tex : Nya::Render::Backend::Metadata, pts : Array(CrystalEdge::Vector3))
draw_texture(texture : Texture, pts : Array(CrystalEdge::Vector3))
draw_texture(texture : Texture2D)
draw_texture(texture : Texture3D) draw_texture, load_texture(m : Nya::Render::Backend::Metadata, w, h, texture : Bytes) load_texture, max_textures : Int32 max_textures, project(c : Camera, v) : CrystalEdge::Vector3
project(v : CrystalEdge::Vector3) : CrystalEdge::Vector3 project, relink_program(shp : ShaderProgram) relink_program, shader_extensions : Array(String) shader_extensions, shader_formats : Array(String) shader_formats, supports_shaders? : Bool supports_shaders?, unproject(c : Camera, v) : CrystalEdge::Vector3
unproject(v : CrystalEdge::Vector3) : CrystalEdge::Vector3 unproject, unuse_shader_program unuse_shader_program, use_shader_program(shp : ShaderProgram | Nil) use_shader_program, with_shader_program(shp : ShaderProgram | Nil, &) with_shader_program
Instance methods inherited from module Nya::Render::Backends::GL::VBOGenerator
generate_buffer!(shape : Models::Shape, force = false) : Models::Shape
generate_buffer!,
generate_buffers!(mesh : Mesh, force = false)
generate_buffers!
Instance methods inherited from module Nya::Render::Backends::GL::ShaderVars
apply_shader_vars(prog : ShaderProgram)
apply_shader_vars
Instance methods inherited from class Nya::Render::Backend
apply_shader_vars(prog : ShaderProgram)
apply_shader_vars,
compile_shaders(program : ShaderProgram)
compile_shaders,
create_object(objtype : Symbol) : Metadata
create_object,
current_camera : Camera
current_camera,
delete_object(m : Metadata)
delete_object,
delete_shaders(shp : ShaderProgram)
delete_shaders,
draw_camera(camera : Camera, &)
draw_camera,
draw_game_object(object : Nya::GameObject, &)
draw_game_object,
draw_mesh(mesh : Mesh)
draw_mesh,
draw_texture(texture : Texture, x, y, w, h)draw_texture(texture : Metadata, x, y, w, h)
draw_texture(texture : Texture, pts : Array(CrystalEdge::Vector3))
draw_texture(texture : Metadata, pts : Array(CrystalEdge::Vector3))
draw_texture(texture : Texture2D)
draw_texture(texture : Texture3D) draw_texture, has_title? : Bool has_title?, load_texture(m : Metadata, w, h, texture : Bytes) load_texture, max_textures : Int32 max_textures, project(camera : Camera, point : CrystalEdge::Vector3) : CrystalEdge::Vector3
project(point : CrystalEdge::Vector3) : CrystalEdge::Vector3 project, quit quit, relink_program(prog : ShaderProgram) relink_program, render(&) render, resizeable? : Bool resizeable?, shader_extensions : Array(String) shader_extensions, shader_formats : Array(String) shader_formats, size : CrystalEdge::Vector2 size, size=(size : CrystalEdge::Vector2) size=, supports_shaders? : Bool supports_shaders?, title : String title, title=(title : String) title=, unproject(camera : Camera, point : CrystalEdge::Vector3) : CrystalEdge::Vector3
unproject(point : CrystalEdge::Vector3) : CrystalEdge::Vector3 unproject, unuse_shader_program unuse_shader_program, update update, use_shader_program(prog : ShaderProgram) use_shader_program, with_shader_program(shp : ShaderProgram | Nil, &) with_shader_program