Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/compute-toys/wgpu-compute-toy
/ functions
Functions
67 in github.com/compute-toys/wgpu-compute-toy
⨍
Functions
67
◇
Types & classes
20
↓ 8 callers
Method
create_texture
( &self, wgpu: &WgpuContext, width: u32, height: u32, mip_level_count:
src/blit.rs:130
↓ 7 callers
Method
to_vec
(&self)
src/bind.rs:521
↓ 5 callers
Method
create_bind_group
( &self, wgpu: &WgpuContext, layout: &wgpu::BindGroupLayout, )
src/bind.rs:577
↓ 5 callers
Function
parse_u32
(value: &str, line: usize)
src/utils.rs:17
↓ 3 callers
Method
blit
(&self, encoder: &mut wgpu::CommandEncoder, view: &wgpu::TextureView)
src/blit.rs:110
↓ 3 callers
Method
buffer
(&self)
src/bind.rs:46
↓ 3 callers
Method
create_bind_group_layout
(&self, wgpu: &WgpuContext)
src/bind.rs:546
↓ 3 callers
Method
create_pipeline_layout
( &self, wgpu: &WgpuContext, layout: &wgpu::BindGroupLayout, )
src/bind.rs:564
↓ 3 callers
Method
push_line
(&mut self, s: &str, n: usize)
src/pp.rs:69
↓ 3 callers
Method
render_to
( &mut self, frame: &wgpu::SurfaceTexture, )
src/lib.rs:208
↓ 3 callers
Method
reset
(&mut self)
src/lib.rs:647
↓ 3 callers
Method
run
(&mut self, shader: &str)
src/pp.rs:284
↓ 3 callers
Method
submit
(&self)
src/pp.rs:31
↓ 2 callers
Method
compile
(&mut self, source: SourceMap)
src/lib.rs:488
↓ 2 callers
Function
create_texture_from_image
( wgpu: &WgpuContext, rgba: &[u8], width: u32, height: u32, format: wgpu::TextureFormat, )
src/lib.rs:755
↓ 2 callers
Function
fetch_include
(name: String)
src/utils.rs:32
↓ 2 callers
Function
init
(filename: &str)
src/bin/toy.rs:53
↓ 2 callers
Function
init_wgpu
(width: u32, height: u32, bind_id: &str)
src/context.rs:83
↓ 2 callers
Function
init_window
(bind_id: &str)
src/context.rs:45
↓ 2 callers
Method
preprocess_async
(&self, shader: &str)
src/lib.rs:479
↓ 2 callers
Method
resize
(&mut self, width: u32, height: u32, scale: f32)
src/lib.rs:636
↓ 2 callers
Method
set_texture
(&mut self, texture: wgpu::Texture)
src/bind.rs:91
↓ 2 callers
Method
texture
(&self)
src/bind.rs:85
↓ 2 callers
Method
view
(&self)
src/bind.rs:88
↓ 1 callers
Method
binding
(&self)
src/bind.rs:37
↓ 1 callers
Method
call
(&self, entry_points: Vec<String>)
src/lib.rs:25
↓ 1 callers
Function
count_newlines
https://llogiq.github.io/2016/09/24/newline.html
src/lib.rs:87
↓ 1 callers
Method
handle_success
(&self, entry_points: Vec<String>)
src/lib.rs:461
↓ 1 callers
Method
layout
(&self)
src/bind.rs:34
↓ 1 callers
Method
load_channel
(&mut self, index: usize, bytes: &[u8])
src/lib.rs:676
↓ 1 callers
Method
load_channel_hdr
(&mut self, index: usize, bytes: &[u8])
src/lib.rs:713
↓ 1 callers
Function
preferred_framebuffer_format
(formats: &[wgpu::TextureFormat])
src/context.rs:168
↓ 1 callers
Method
preprocess
(&mut self, shader: &str)
src/pp.rs:125
↓ 1 callers
Method
process_line
(&mut self, line_orig: &str, n: usize)
src/pp.rs:133
↓ 1 callers
Function
promise
(future: F)
src/utils.rs:54
↓ 1 callers
Method
render_async
(&mut self)
src/lib.rs:170
↓ 1 callers
Method
set_custom_floats
(&mut self, names: Vec<js_sys::JsString>, values: Vec<f32>)
src/lib.rs:622
↓ 1 callers
Method
set_mouse_click
(&mut self, click: bool)
src/lib.rs:613
↓ 1 callers
Method
set_mouse_pos
(&mut self, x: f32, y: f32)
src/lib.rs:604
↓ 1 callers
Function
set_panic_hook
()
src/utils.rs:6
↓ 1 callers
Method
set_pass_f32
(&mut self, pass_f32: bool)
src/lib.rs:631
↓ 1 callers
Method
set_time_elapsed
(&mut self, t: f32)
src/lib.rs:596
↓ 1 callers
Method
stage
(&self, queue: &wgpu::Queue)
src/bind.rs:49
↓ 1 callers
Function
strip_comments
(s: &str)
src/pp.rs:97
↓ 1 callers
Method
subst_defines
(&self, source: &str)
src/pp.rs:113
↓ 1 callers
Method
to_wgsl
(&self)
src/bind.rs:40
Function
create_renderer
( width: u32, height: u32, bind_id: String, )
src/lib.rs:94
Method
default
()
src/pp.rs:77
Method
display_handle
(&self)
src/context.rs:38
Method
drop
(&mut self)
src/bind.rs:28
Method
handler
(summary: &str, row: usize, col: usize)
src/pp.rs:25
Function
main
()
src/bin/toy.rs:3
Method
new
(wgpu: WgpuContext)
src/lib.rs:104
Method
new
( wgpu: &WgpuContext, src: &wgpu::TextureView, src_space: ColourSpace, dest_fo
src/blit.rs:18
Method
new
(wgpu: &WgpuContext, width: u32, height: u32, pass_f32: bool)
src/bind.rs:167
Method
new
(summary: String, line: usize)
src/pp.rs:22
Method
on_success
(&mut self, callback: js_sys::Function)
src/lib.rs:672
Function
pass
()
tests/web.rs:11
Method
postrender
( staging_buffer: Option<wgpu::Buffer>, numthreads: u32, assert_map: Vec<usize>, )
src/lib.rs:332
Method
prelude
(&self)
src/lib.rs:371
Method
preprocess
(&self, shader: &str)
src/lib.rs:469
Method
render
(&mut self)
src/lib.rs:143
Method
render_to_surface
( &mut self, frame: &wgpu::SurfaceTexture, )
src/lib.rs:201
Method
set_keydown
(&mut self, keycode: usize, keydown: bool)
src/lib.rs:617
Method
set_time_delta
(&mut self, t: f32)
src/lib.rs:600
Function
uniform_buffer_size
()
src/bind.rs:161
Method
window_handle
(&self)
src/context.rs:27