Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/17cupsofcoffee/nova
/ functions
Functions
163 in github.com/17cupsofcoffee/nova
⨍
Functions
163
◇
Types & classes
55
Function
get_err
()
src/window.rs:161
Method
get_field_instance
(&self, id: &str)
src/ldtk.rs:199
Method
get_int_grid
(&self)
src/ldtk.rs:144
Method
get_layer
(&self, id: &str)
src/ldtk.rs:86
Method
get_level
(&self, id: &str)
src/ldtk.rs:19
Method
get_level_by_iid
(&self, id: &str)
src/ldtk.rs:23
Method
get_tileset
(&self, id: &str)
src/ldtk.rs:35
Method
get_tileset_by_uid
(&self, uid: i32)
src/ldtk.rs:39
Method
gl
Get the raw OpenGL context. # Safety You have full access to the raw OpenGL context, so you can do anything you want with it.
src/graphics.rs:242
Method
has_gamepad_axis_moved
(&self, player: usize, axis: GamepadAxis)
src/input.rs:163
Method
has_gamepad_stick_moved
(&self, player: usize, stick: GamepadStick)
src/input.rs:176
Method
height
(&self)
src/graphics/texture.rs:64
Method
hex
(mut hex: &str)
src/graphics/color.rs:30
Method
into_texture
(self)
src/graphics/canvas.rs:42
Method
is_gamepad_button_pressed
(&self, player: usize, button: GamepadButton)
src/input.rs:151
Method
is_gamepad_button_released
(&self, player: usize, button: GamepadButton)
src/input.rs:155
Method
is_gamepad_button_up
(&self, player: usize, button: GamepadButton)
src/input.rs:147
Method
is_key_released
(&self, key: Key)
src/input.rs:119
Method
is_key_up
(&self, key: Key)
src/input.rs:111
Method
is_mouse_button_pressed
(&self, button: MouseButton)
src/input.rs:131
Method
is_mouse_button_released
(&self, button: MouseButton)
src/input.rs:135
Method
is_mouse_button_up
(&self, button: MouseButton)
src/input.rs:127
Function
main
()
examples/bunnymark.rs:16
Method
mouse_position
(&self)
src/input.rs:139
Method
mul
(self, rhs: Self)
src/graphics/color.rs:59
Method
mul_assign
(&mut self, rhs: Self)
src/graphics/color.rs:78
Method
new
(title: &str, width: i32, height: i32)
src/window.rs:24
Method
new
()
src/input.rs:29
Method
new
(tick_rate: f64)
src/time.rs:12
Method
new
(title: &str, width: i32, height: i32, tick_rate: f64)
src/app.rs:32
Method
new
(window: &mut Window)
src/graphics.rs:47
Method
new
(gfx: &Graphics, width: i32, height: i32)
src/graphics/scaling.rs:16
Method
new
Creates a new `ShelfPacker`.
src/graphics/packer.rs:21
Method
new
()
src/graphics/batch.rs:23
Method
new
(gfx: &Graphics, font: &Font, size: f32)
src/graphics/text.rs:51
Method
new
(gfx: &Graphics, width: i32, height: i32, data: &[u8])
src/graphics/texture.rs:96
Method
new
(gfx: &Graphics, vertex_src: &str, fragment_src: &str)
src/graphics/shader.rs:61
Method
new
(pos: Vec2, uv: Vec2, color: Color)
src/graphics/mesh.rs:20
Method
new
(gfx: &Graphics, width: i32, height: i32)
src/graphics/canvas.rs:16
Method
new
(rng: &mut ThreadRng)
examples/bunnymark.rs:29
Method
offset
(&self)
src/graphics/scaling.rs:40
Method
origin
(mut self, origin: Vec2)
src/graphics/batch.rs:38
Method
pop_matrix
(&mut self)
src/graphics/batch.rs:159
Method
push_matrix
(&mut self, matrix: Mat3)
src/graphics/batch.rs:154
Method
rebind
Rebind everything to the current state. You should never need to call this, unless you're manipulating `.gl()` directly
src/graphics.rs:249
Method
rect
(&mut self, rect: Rectangle, params: DrawParams)
src/graphics/batch.rs:163
Method
rgb
(r: f32, g: f32, b: f32)
src/graphics/color.rs:26
Method
rgba
(r: f32, g: f32, b: f32, a: f32)
src/graphics/color.rs:22
Method
rotation
(mut self, rotation: f32)
src/graphics/batch.rs:48
Method
scale
(mut self, scale: Vec2)
src/graphics/batch.rs:43
Method
set_data
(&self, data: &[u8])
src/graphics/texture.rs:72
Method
size
(&self)
src/window.rs:83
Method
size
(&self)
src/graphics/texture.rs:68
Method
size
(&self)
src/graphics/canvas.rs:38
Method
start_text_input
(&mut self)
src/window.rs:139
Method
stop_text_input
(&mut self)
src/window.rs:145
Method
text
( &mut self, font: &SpriteFont, position: Vec2, text: &str, max_chars:
src/graphics/batch.rs:271
Method
texture
(&self)
src/graphics/canvas.rs:26
Method
texture_dest
( &mut self, texture: &Texture, src: Rectangle, dest: Rectangle, param
src/graphics/batch.rs:201
Method
tick
(&mut self)
src/time.rs:24
Method
total_time
(&self)
src/time.rs:79
Method
update
(&mut self, app: &mut App)
examples/bunnymark.rs:77
Method
width
(&self)
src/graphics/texture.rs:60
← previous
101–163 of 163, ranked by callers