Kaba package gl ed
...
Classes ed
- class Alpha
- class Buffer
- class Context
- class CubeMap extends Texture
- class CullMode
- class DepthBuffer extends Texture
- class FrameBuffer
- class ImageTexture extends Texture
- class Shader
- class ShaderStorageBuffer extends Buffer
- class StencilOp
- class Texture
- class UniformBuffer extends Buffer
- class VertexBuffer
- class VolumeTexture extends Texture
Functions ed
- func static bind_frame_buffer(fb: FrameBuffer)
- func static bind_image(binding: i32, t: Texture*, level: i32, layer: i32, writable: bool)
- func static bind_storage_buffer(binding: i32, buf: ShaderStorageBuffer&)
- func static bind_texture(binding: i32, t: Texture*)
- func static bind_textures(t: Texture*[])
- func static bind_uniform_buffer(binding: i32, buf: UniformBuffer&)
- func static clear(c: Color)
- func static clear_color(c: Color)
- func static clear_z(z: f32)
- func static disable_alpha()
- func static draw_lines(vb: VertexBuffer&, contiguous: bool)
- func static draw_points(vb: VertexBuffer&)
- func static draw_triangles(vb: VertexBuffer&)
- func static end_frame_hui()
- func static init(flags: string[]) -> xfer[Context]
- func static screen_shot_to_image(out im: Image)
- func static set_alpha(source: Alpha, dest: Alpha)
- func static set_cull(mode: CullMode)
- func static set_material(albedo: Color, roughness: f32, metal: f32, emission: Color)
- func static set_model_matrix(m: mat4)
- func static set_projection_matrix(m: mat4)
- func static set_projection_ortho_ext(center: vec2, map_size: vec2, zmin: f32, zmax: f32)
- func static set_projection_ortho_pixel()
- func static set_projection_ortho_relative()
- func static set_projection_perspective(center: vec2, size_1: vec2, zmin: f32, zmax: f32)
- func static set_projection_perspective()
- func static set_scissor(r: Rect)
- func static set_shader(s: Shader&)
- func static set_stencil(mode: StencilOp, param: i32)
- func static set_view_matrix(m: mat4)
- func static set_viewport(r: Rect)
- func static set_wire(enabled: bool)
- func static set_z(write: bool, read: bool)
- func static start_frame_hui(ctx: Context, event: void&)
Variables ed
- var static target: Rect