MCPcopy Create free account

hub / github.com/casey/pxl / functions

Functions76 in github.com/casey/pxl

↓ 4 callersFunctiontempdir
()
pxl-build/src/module.rs:142
↓ 3 callersMethodcompile_program
( &mut self, vertex_shader_source: &str, fragment_shader_source: &str, )
pxl/src/runtime/shader_cache.rs:18
↓ 3 callersMethodrun
(mut self)
pxl/src/runtime/mod.rs:114
↓ 2 callersFunctionmono
(white: bool)
pxl-mono/src/main.rs:39
↓ 2 callersMethodresolution
(&self)
pxl/examples/life.rs:125
↓ 2 callersMethodtitle
Return the title of the program Called by the runtime to set the window title
pxl/src/lib.rs:224
↓ 1 callersFunctionbuild
Compile the resources in `resource_directory` into `$OUT_DIR/resources.rs` for inclusion in a `pxl` program.
pxl-build/src/lib.rs:58
↓ 1 callersMethodcompile_fragment_shader
(&mut self, shader_source: &str)
pxl/src/runtime/shader_cache.rs:106
↓ 1 callersMethodcompile_vertex_shader
(&mut self, shader_source: &str)
pxl/src/runtime/shader_cache.rs:98
↓ 1 callersMethodcycle
(self)
pxl-mono/src/main.rs:167
↓ 1 callersMethodfilter_shaders
Postprocessing filters to be applied after rendering. Filters may read from a texture sampler named "input", which for the first filter will contain
pxl/src/lib.rs:217
↓ 1 callersMethodfragment_shader
Return the fragment shader to be used in the runtime's rendering pipeline Will be called immediately before calling `render()` See `fragment_shader.
pxl/src/lib.rs:204
↓ 1 callersMethodindex
(&self, x: usize, y: usize)
pxl/examples/life.rs:63
↓ 1 callersMethodneighbors
(&self, i: usize)
pxl/examples/life.rs:67
↓ 1 callersMethodplay
(self)
pxl/src/runtime/speaker.rs:57
↓ 1 callersMethodpresent
( &mut self, pixels: &[Pixel], resolution: (usize, usize), window_size: (u32, u32), sample
pxl/src/runtime/display.rs:160
↓ 1 callersMethodrender
Draw to the display Called by the runtime whenever the display is ready to present a new frame WIDTH — first element of the tuple returned by `reso
pxl/src/lib.rs:252
↓ 1 callersMethodreset
(&mut self)
pxl/examples/life.rs:106
↓ 1 callersFunctionrgba
Construct a pixel with the given components
pxl/src/lib.rs:47
↓ 1 callersMethodset_shaders
( &mut self, vertex_shader_source: &str, fragment_shader_source: &str, filter_shader_sources:
pxl/src/runtime/display.rs:138
↓ 1 callersMethodshould_quit
Return true if the program should stop running Called by the runtime at the end of every pass through the event loop
pxl/src/lib.rs:231
↓ 1 callersMethodstep
(&mut self)
pxl/examples/life.rs:95
↓ 1 callersMethodsynthesize
Synthesize audio Called by the runtime as needed to fill the outgoing audio buffer `samples_played` — number of samples written by previous calls to
pxl/src/lib.rs:165
↓ 1 callersMethodsynthesizer
The program's synthesizer Will be called by the runtime during initialization. If it returns Some, the contained Synthesizer will be moved to a dedic
pxl/src/lib.rs:263
↓ 1 callersMethodtick
Process events and update the state of the program. `elapsed` — time elapsed since the last call to tick `tick` `events` — events that have occurred
pxl/src/lib.rs:239
↓ 1 callersMethodtick
(self, neighbors: u8)
pxl/examples/life.rs:25
↓ 1 callersMethodtokens
(self)
pxl-build/src/module.rs:105
↓ 1 callersMethodtype_tokens
(&self)
pxl-build/src/resource.rs:59
↓ 1 callersMethodvertex_shader
Return the vertex shader to be used in the runtime's rendering pipeline Will be called immediately before calling `render()` See `vertex_shader.glsl
pxl/src/lib.rs:193
Functionblob
()
pxl-build/src/module.rs:156
Functionblob
()
pxl-build-test/src/lib.rs:49
Methodcompile_shader
( source: &str, ty: GLenum, shader_cache: &mut HashMap<String, GLuint>, )
pxl/src/runtime/shader_cache.rs:114
Methoddrop
(&mut self)
pxl/src/runtime/display.rs:295
Methoddrop
(&mut self)
pxl/src/runtime/shader_cache.rs:162
Functionempty
()
pxl-build/src/module.rs:147
Methodfilter_shaders
(&self)
pxl/examples/life.rs:183
Methodfmt
(&self, f: &mut Formatter)
pxl/src/runtime/error.rs:44
Methodfragment_shader
(&self)
pxl-mono/src/main.rs:215
Methodfragment_shader
(&self)
pxl/examples/life.rs:187
Methodfragment_shader
(&self)
pxl/examples/shaders/main.rs:48
Methodfrom
(tuple: (io::Error, &'path Path))
pxl-build/src/error.rs:77
Methodfrom
(creation_error: glutin::CreationError)
pxl/src/runtime/error.rs:32
Methodfrom_path
(module_path: impl AsRef<Path>)
pxl-build/src/module.rs:19
Methodfrom_path_and_extension
( path: impl AsRef<Path>, extension: &str, )
pxl-build/src/resource.rs:18
Functionimage
()
pxl-build/src/module.rs:178
Functionimage
()
pxl-build-test/src/lib.rs:6
Functionmain
()
pxl-mono/src/main.rs:271
Functionmain
()
pxl-build-test/build.rs:5
Functionmain
()
pxl/examples/life.rs:248
Functionmain
()
pxl/examples/shaders/main.rs:110
Methodnew
()
pxl-mono/src/main.rs:48
Methodnew
()
pxl/src/runtime/display.rs:32
Methodnew
(program: Box<Program>)
pxl/src/runtime/mod.rs:40
Methodnew
( synthesizer: Arc<Mutex<Synthesizer>>, synthesizer_output: Arc<Mutex<Vec<AudioSample>>>, )
pxl/src/runtime/speaker.rs:14
Methodnew
()
pxl/src/runtime/shader_cache.rs:10
Methodnew
()
pxl/examples/life.rs:115
Methodnew
()
pxl/examples/shaders/main.rs:33
Methodrender
(self, pixels: &mut [Pixel])
pxl-mono/src/main.rs:171
Methodrender
(&mut self, pixels: &mut [Pixel])
pxl/examples/life.rs:159
Methodrender
(&mut self, pixels: &mut [Pixel])
pxl/examples/shaders/main.rs:91
Methodresolution
(&self)
pxl-mono/src/main.rs:207
Methodresolution
(&self)
pxl/examples/shaders/main.rs:44
Functionrgb
Construct a pixel with the given RGB components and an alpha component of 1.0
pxl/src/lib.rs:58
Functionrun
Run a `pxl::Program`. `run` takes care of instantiating your program, so your program is passed as a type parameter, not as a value. For example, to
pxl/src/lib.rs:315
Functionsubmodule
()
pxl-build/src/module.rs:206
Methodsynthesize
(&mut self, _samples_played: u64, samples: &mut [AudioSample])
pxl-mono/src/main.rs:142
Methodsynthesize
(&mut self, mut samples_played: u64, samples: &mut [AudioSample])
pxl/examples/life.rs:46
Methodsynthesizer
(&self)
pxl-mono/src/main.rs:262
Methodsynthesizer
(&self)
pxl/examples/life.rs:179
Methodtick
(&mut self, _: Duration, events: &[Event])
pxl-mono/src/main.rs:250
Methodtick
(&mut self, _elapsed: Duration, events: &[Event])
pxl/examples/shaders/main.rs:56
Methodtitle
(&self)
pxl-mono/src/main.rs:211
Methodtitle
(&self)
pxl/examples/life.rs:129
Methodtitle
(&self)
pxl/examples/shaders/main.rs:40
Methodtokens
(self)
pxl-build/src/resource.rs:66
Methodvertex_shader
(&self)
pxl/examples/shaders/main.rs:52