SYMBOL INDEX (2182 symbols across 140 files) FILE: crates/example-culling/src/main.rs constant MIN_SIZE (line 26) | const MIN_SIZE: f32 = 0.5; constant MAX_SIZE (line 27) | const MAX_SIZE: f32 = 4.0; constant MAX_DIST (line 28) | const MAX_DIST: f32 = 40.0; constant BOUNDS (line 29) | const BOUNDS: Aabb = Aabb { type AppCamera (line 34) | struct AppCamera(Camera); type FrustumCamera (line 35) | struct FrustumCamera(CameraDescriptor); type Type (line 37) | type Type = Primitive; type CullingExample (line 40) | struct CullingExample { method make_aabb (line 54) | fn make_aabb(center: Vec3, half_size: Vec3) -> Aabb { method make_aabbs (line 60) | fn make_aabbs( method resumed (line 119) | fn resumed(&mut self, _event_loop: &winit::event_loop::ActiveEventLoop) { method window_event (line 123) | fn window_event( method device_event (line 169) | fn device_event( method new (line 180) | fn new( method render (line 269) | fn render(&mut self, ctx: &Context) { function main (line 279) | fn main() { FILE: crates/example-wasm/src/event.rs type MaybeCallback (line 14) | type MaybeCallback = Option>>; type WebCallback (line 16) | struct WebCallback { method drop (line 25) | fn drop(&mut self) { type Item (line 40) | type Item = web_sys::Event; method poll_next (line 42) | fn poll_next( function event_stream (line 60) | pub fn event_stream( FILE: crates/example-wasm/src/lib.rs constant HDR_IMAGE_BYTES (line 10) | const HDR_IMAGE_BYTES: &[u8] = include_bytes!("../../../img/hdr/helipad.... constant GLTF_FOX_BYTES (line 11) | const GLTF_FOX_BYTES: &[u8] = include_bytes!("../../../gltf/Fox.glb"); function surface_from_canvas (line 13) | fn surface_from_canvas(_canvas: HtmlCanvasElement) -> Option) { function request_animation_frame (line 19) | fn request_animation_frame(mut f: impl FnMut(JsValue) + 'static) { type NextFrame (line 35) | struct NextFrame { type Output (line 42) | type Output = f64; method poll (line 44) | fn poll( function next_animation_frame (line 63) | pub fn next_animation_frame() -> impl std::future::Future { FILE: crates/example/src/camera.rs constant RADIUS_SCROLL_DAMPENING (line 11) | const RADIUS_SCROLL_DAMPENING: f32 = 0.001; constant DX_DY_DRAG_DAMPENING (line 12) | const DX_DY_DRAG_DAMPENING: f32 = 0.01; type CameraControl (line 15) | pub enum CameraControl { type Err (line 22) | type Err = String; method from_str (line 24) | fn from_str(s: &str) -> Result { type TurntableCameraController (line 33) | pub struct TurntableCameraController { method camera_position (line 105) | fn camera_position(radius: f32, phi: f32, theta: f32) -> Vec3 { method zoom (line 114) | fn zoom(&mut self, delta: f32) { method pan (line 118) | fn pan(&mut self, delta: Vec2) { method default (line 49) | fn default() -> Self { type WasdMouseCameraController (line 129) | pub struct WasdMouseCameraController { type CameraController (line 244) | pub trait CameraController { method tick (line 62) | fn tick(&mut self) {} method reset (line 64) | fn reset(&mut self, bounds: Aabb) { method update_camera (line 73) | fn update_camera(&self, UVec2 { x: w, y: h }: UVec2, current_camera: &... method mouse_scroll (line 87) | fn mouse_scroll(&mut self, delta: f32) { method mouse_moved (line 91) | fn mouse_moved(&mut self, _position: Vec2) {} method mouse_motion (line 93) | fn mouse_motion(&mut self, delta: Vec2) { method mouse_button (line 97) | fn mouse_button(&mut self, is_pressed: bool, is_left_button: bool) { method key (line 101) | fn key(&mut self, _event: KeyEvent) {} method tick (line 144) | fn tick(&mut self) { method update_camera (line 187) | fn update_camera(&self, UVec2 { x: w, y: h }: UVec2, camera: &Camera) { method reset (line 196) | fn reset(&mut self, _bounds: Aabb) { method mouse_scroll (line 204) | fn mouse_scroll(&mut self, _delta: f32) {} method mouse_moved (line 206) | fn mouse_moved(&mut self, _position: Vec2) {} method mouse_motion (line 208) | fn mouse_motion(&mut self, delta: Vec2) { method mouse_button (line 214) | fn mouse_button(&mut self, _is_pressed: bool, _is_left_button: bool) {} method key (line 216) | fn key( method reset (line 245) | fn reset(&mut self, bounds: Aabb); method tick (line 246) | fn tick(&mut self); method update_camera (line 247) | fn update_camera(&self, size: UVec2, camera: &Camera); method mouse_scroll (line 248) | fn mouse_scroll(&mut self, delta: f32); method mouse_moved (line 249) | fn mouse_moved(&mut self, position: Vec2); method mouse_motion (line 250) | fn mouse_motion(&mut self, delta: Vec2); method mouse_button (line 251) | fn mouse_button(&mut self, is_pressed: bool, is_left_button: bool); method key (line 252) | fn key(&mut self, event: KeyEvent); method window_event (line 254) | fn window_event(&mut self, event: winit::event::WindowEvent) { method device_event (line 284) | fn device_event(&mut self, event: winit::event::DeviceEvent) { FILE: crates/example/src/lib.rs constant FONT_BYTES (line 34) | const FONT_BYTES: &[u8] = constant DARK_BLUE_BG_COLOR (line 37) | const DARK_BLUE_BG_COLOR: Vec4 = Vec4::new( type SupportedFileType (line 44) | pub enum SupportedFileType { function is_file_supported (line 49) | pub fn is_file_supported(file: impl AsRef) -> Option f64 { type AppUi (line 77) | struct AppUi { method make_fps_widget (line 86) | fn make_fps_widget(fps_counter: &FPSCounter, ui: &mut UiRenderer) -> (... method tick (line 109) | fn tick(&mut self) { type Model (line 124) | pub enum Model { type App (line 130) | pub struct App { method new (line 145) | pub fn new(ctx: &Context, camera_control: CameraControl) -> Self { method tick (line 201) | pub fn tick(&mut self) { method render (line 209) | pub fn render(&mut self, ctx: &Context) { method update_view (line 218) | pub fn update_view(&mut self) { method load_hdr_skybox (line 223) | pub fn load_hdr_skybox(&mut self, bytes: Vec) { method set_model (line 233) | fn set_model(&mut self, model: Model) { method load_default_model (line 251) | pub fn load_default_model(&mut self) { method load_gltf_model (line 284) | fn load_gltf_model(&mut self, path: impl AsRef, bytes... method tick_loads (line 396) | pub fn tick_loads(&mut self) { method load (line 409) | pub fn load(&mut self, path: &str) { method set_size (line 434) | pub fn set_size(&mut self, size: UVec2) { method animate (line 438) | pub fn animate(&mut self) { FILE: crates/example/src/main.rs type Cli (line 14) | struct Cli { type InnerApp (line 31) | struct InnerApp { method tick (line 37) | fn tick(&mut self) { method event (line 41) | fn event(&mut self, event: WindowEvent) -> bool { type OuterApp (line 72) | struct OuterApp { method resumed (line 78) | fn resumed(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { method about_to_wait (line 105) | fn about_to_wait(&mut self, _event_loop: &winit::event_loop::ActiveEvent... method window_event (line 112) | fn window_event( method device_event (line 125) | fn device_event( function main (line 142) | fn main() { FILE: crates/example/src/time.rs type Time (line 11) | pub struct Time { method now (line 21) | pub fn now() -> Self { method now (line 28) | pub fn now() -> Self { method millis_since (line 35) | pub fn millis_since(&self, then: Time) -> u32 { method millis_since (line 40) | pub fn millis_since(&self, then: Time) -> u32 { constant FPS_COUNTER_BUFFER_SIZE (line 45) | pub const FPS_COUNTER_BUFFER_SIZE: usize = 60; type CounterBuffer (line 47) | pub struct CounterBuffer { function new (line 53) | pub fn new(init: f32) -> Self { function write (line 60) | pub fn write(&mut self, val: f32) { function average (line 65) | pub fn average(&self) -> f32 { function current (line 69) | pub fn current(&self) -> f32 { function frames (line 78) | pub fn frames(&self) -> &[f32; FPS_COUNTER_BUFFER_SIZE] { type FPSCounter (line 83) | pub struct FPSCounter { method new (line 97) | pub fn new() -> FPSCounter { method restart (line 106) | pub fn restart(&mut self) { method next_frame (line 110) | pub fn next_frame(&mut self) -> f32 { method avg_frame_delta (line 124) | pub fn avg_frame_delta(&self) -> f32 { method current_fps (line 128) | pub fn current_fps(&self) -> f32 { method current_fps_string (line 132) | pub fn current_fps_string(&self) -> String { method last_delta (line 138) | pub fn last_delta(&self) -> f32 { method second_averages (line 142) | pub fn second_averages(&self) -> &[f32; FPS_COUNTER_BUFFER_SIZE] { method default (line 91) | fn default() -> Self { FILE: crates/example/src/utils.rs type TestAppHandler (line 8) | pub trait TestAppHandler: winit::application::ApplicationHandler { method new (line 9) | fn new( method render (line 14) | fn render(&mut self, ctx: &Context); type InnerTestApp (line 17) | pub(crate) struct InnerTestApp { type TestApp (line 22) | pub struct TestApp { function resumed (line 28) | fn resumed(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { function window_event (line 69) | fn window_event( function device_event (line 99) | fn device_event( function about_to_wait (line 110) | fn about_to_wait(&mut self, event_loop: &winit::event_loop::ActiveEventL... function new (line 119) | pub fn new(size: impl Into) -> Self { function run (line 126) | pub fn run(&mut self) { FILE: crates/examples/src/context.rs function context_page (line 4) | async fn context_page() { FILE: crates/examples/src/gltf.rs function manual_gltf (line 6) | async fn manual_gltf() { FILE: crates/examples/src/lib.rs function cwd_to_manual_assets_dir (line 21) | pub fn cwd_to_manual_assets_dir() -> std::path::PathBuf { function workspace_dir (line 30) | pub fn workspace_dir() -> std::path::PathBuf { function test_output_dir (line 34) | pub fn test_output_dir() -> std::path::PathBuf { function cwd_to_cargo_workspace (line 40) | pub fn cwd_to_cargo_workspace() -> std::path::PathBuf { function can_test (line 50) | fn can_test() { FILE: crates/examples/src/lighting.rs function manual_lighting (line 6) | async fn manual_lighting() { function manual_lighting_ibl (line 148) | async fn manual_lighting_ibl() { FILE: crates/examples/src/skybox.rs function manual_skybox (line 6) | pub async fn manual_skybox() { FILE: crates/examples/src/stage.rs function manual_stage (line 4) | async fn manual_stage() { FILE: crates/img-diff/src/lib.rs constant PIXEL_MAGNITUDE_THRESHOLD (line 7) | const PIXEL_MAGNITUDE_THRESHOLD: f32 = 0.1; constant LOW_PIXEL_THRESHOLD (line 8) | pub const LOW_PIXEL_THRESHOLD: f32 = 0.02; constant IMAGE_DIFF_THRESHOLD (line 9) | const IMAGE_DIFF_THRESHOLD: f32 = 0.05; function checkerboard_background_color (line 11) | fn checkerboard_background_color(x: u32, y: u32) -> Vec3 { type ImgDiffError (line 25) | enum ImgDiffError { type DiffCfg (line 30) | pub struct DiffCfg { method default (line 47) | fn default() -> Self { type DiffResults (line 57) | pub struct DiffResults { function get_results (line 65) | fn get_results( function save_to (line 128) | pub fn save_to( function save (line 141) | pub fn save(filename: impl AsRef, seen: impl Into, rhs: impl... function assert_img_eq_cfg_result (line 222) | pub fn assert_img_eq_cfg_result( function assert_img_eq_cfg (line 233) | pub fn assert_img_eq_cfg(filename: &str, seen: impl Into, ... function assert_img_eq (line 237) | pub fn assert_img_eq(filename: &str, seen: impl Into) { function normalize_gray_img (line 245) | pub fn normalize_gray_img(seen: &mut image::GrayImage) { function can_compare_images_sanity (line 270) | fn can_compare_images_sanity() { FILE: crates/loading-bytes/src/lib.rs type WasmError (line 6) | pub enum WasmError { type LoadingBytesError (line 43) | pub enum LoadingBytesError { method from (line 56) | fn from(value: WasmError) -> Self { function load_wasm (line 61) | pub async fn load_wasm(path: &str) -> Result, WasmError> { function post_json_wasm (line 114) | pub async fn post_json_wasm( function post_bin_wasm (line 179) | pub async fn post_bin_wasm( function load (line 245) | pub async fn load(path: &str) -> Result, LoadingBytesError> { FILE: crates/renderling-build/src/lib.rs type Linkage (line 9) | struct Linkage { method fmt (line 16) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method fn_name (line 84) | pub fn fn_name(&self) -> &str { function wgsl (line 89) | fn wgsl(spv_filepath: impl AsRef, destination: impl AsR... function workspace_dir (line 144) | pub fn workspace_dir() -> std::path::PathBuf { function test_img_dir (line 152) | pub fn test_img_dir() -> std::path::PathBuf { function test_output_dir (line 160) | pub fn test_output_dir() -> std::path::PathBuf { function wasm_test_output_dir (line 168) | pub fn wasm_test_output_dir() -> std::path::PathBuf { type RenderlingPaths (line 173) | pub struct RenderlingPaths { method new (line 194) | pub fn new() -> Option { method generate_linkage (line 221) | pub fn generate_linkage( FILE: crates/renderling-ui/src/renderer.rs type UiRect (line 46) | pub struct UiRect { method id (line 52) | pub fn id(&self) -> Id { method descriptor (line 57) | pub fn descriptor(&self) -> UiDrawCallDescriptor { method set_position (line 62) | pub fn set_position(&self, position: Vec2) -> &Self { method with_position (line 68) | pub fn with_position(self, position: Vec2) -> Self { method set_size (line 74) | pub fn set_size(&self, size: Vec2) -> &Self { method with_size (line 80) | pub fn with_size(self, size: Vec2) -> Self { method set_fill_color (line 86) | pub fn set_fill_color(&self, color: Vec4) -> &Self { method with_fill_color (line 92) | pub fn with_fill_color(self, color: Vec4) -> Self { method set_corner_radii (line 99) | pub fn set_corner_radii(&self, radii: Vec4) -> &Self { method with_corner_radii (line 105) | pub fn with_corner_radii(self, radii: Vec4) -> Self { method set_border (line 111) | pub fn set_border(&self, width: f32, color: Vec4) -> &Self { method with_border (line 120) | pub fn with_border(self, width: f32, color: Vec4) -> Self { method set_gradient (line 126) | pub fn set_gradient(&self, gradient: Option) -> &S... method with_gradient (line 133) | pub fn with_gradient(self, gradient: Option) -> Se... method set_opacity (line 139) | pub fn set_opacity(&self, opacity: f32) -> &Self { method with_opacity (line 145) | pub fn with_opacity(self, opacity: f32) -> Self { method set_z (line 151) | pub fn set_z(&self, z: f32) -> &Self { method with_z (line 157) | pub fn with_z(self, z: f32) -> Self { method position (line 165) | pub fn position(&self) -> Vec2 { method size (line 170) | pub fn size(&self) -> Vec2 { method fill_color (line 175) | pub fn fill_color(&self) -> Vec4 { method corner_radii (line 180) | pub fn corner_radii(&self) -> Vec4 { method border_width (line 185) | pub fn border_width(&self) -> f32 { method border_color (line 190) | pub fn border_color(&self) -> Vec4 { method gradient (line 195) | pub fn gradient(&self) -> GradientDescriptor { method opacity (line 200) | pub fn opacity(&self) -> f32 { method z (line 205) | pub fn z(&self) -> f32 { type UiCircle (line 214) | pub struct UiCircle { method id (line 220) | pub fn id(&self) -> Id { method descriptor (line 225) | pub fn descriptor(&self) -> UiDrawCallDescriptor { method set_center (line 230) | pub fn set_center(&self, center: Vec2) -> &Self { method with_center (line 239) | pub fn with_center(self, center: Vec2) -> Self { method set_radius (line 245) | pub fn set_radius(&self, radius: f32) -> &Self { method with_radius (line 255) | pub fn with_radius(self, radius: f32) -> Self { method set_fill_color (line 261) | pub fn set_fill_color(&self, color: Vec4) -> &Self { method with_fill_color (line 267) | pub fn with_fill_color(self, color: Vec4) -> Self { method set_border (line 273) | pub fn set_border(&self, width: f32, color: Vec4) -> &Self { method with_border (line 282) | pub fn with_border(self, width: f32, color: Vec4) -> Self { method set_gradient (line 288) | pub fn set_gradient(&self, gradient: Option) -> &S... method with_gradient (line 295) | pub fn with_gradient(self, gradient: Option) -> Se... method set_opacity (line 301) | pub fn set_opacity(&self, opacity: f32) -> &Self { method with_opacity (line 307) | pub fn with_opacity(self, opacity: f32) -> Self { method set_z (line 313) | pub fn set_z(&self, z: f32) -> &Self { method with_z (line 319) | pub fn with_z(self, z: f32) -> Self { method center (line 327) | pub fn center(&self) -> Vec2 { method radius (line 333) | pub fn radius(&self) -> f32 { method fill_color (line 338) | pub fn fill_color(&self) -> Vec4 { method border_width (line 343) | pub fn border_width(&self) -> f32 { method border_color (line 348) | pub fn border_color(&self) -> Vec4 { method gradient (line 353) | pub fn gradient(&self) -> GradientDescriptor { method opacity (line 358) | pub fn opacity(&self) -> f32 { method z (line 363) | pub fn z(&self) -> f32 { type UiEllipse (line 372) | pub struct UiEllipse { method id (line 378) | pub fn id(&self) -> Id { method descriptor (line 383) | pub fn descriptor(&self) -> UiDrawCallDescriptor { method set_center (line 388) | pub fn set_center(&self, center: Vec2) -> &Self { method with_center (line 397) | pub fn with_center(self, center: Vec2) -> Self { method set_radii (line 403) | pub fn set_radii(&self, radii: Vec2) -> &Self { method with_radii (line 413) | pub fn with_radii(self, radii: Vec2) -> Self { method set_fill_color (line 419) | pub fn set_fill_color(&self, color: Vec4) -> &Self { method with_fill_color (line 425) | pub fn with_fill_color(self, color: Vec4) -> Self { method set_border (line 431) | pub fn set_border(&self, width: f32, color: Vec4) -> &Self { method with_border (line 440) | pub fn with_border(self, width: f32, color: Vec4) -> Self { method set_gradient (line 446) | pub fn set_gradient(&self, gradient: Option) -> &S... method with_gradient (line 453) | pub fn with_gradient(self, gradient: Option) -> Se... method set_opacity (line 459) | pub fn set_opacity(&self, opacity: f32) -> &Self { method with_opacity (line 465) | pub fn with_opacity(self, opacity: f32) -> Self { method set_z (line 471) | pub fn set_z(&self, z: f32) -> &Self { method with_z (line 477) | pub fn with_z(self, z: f32) -> Self { method center (line 485) | pub fn center(&self) -> Vec2 { method radii (line 491) | pub fn radii(&self) -> Vec2 { method fill_color (line 496) | pub fn fill_color(&self) -> Vec4 { method border_width (line 501) | pub fn border_width(&self) -> f32 { method border_color (line 506) | pub fn border_color(&self) -> Vec4 { method gradient (line 511) | pub fn gradient(&self) -> GradientDescriptor { method opacity (line 516) | pub fn opacity(&self) -> f32 { method z (line 521) | pub fn z(&self) -> f32 { type UiImage (line 530) | pub struct UiImage { method fmt (line 538) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method id (line 547) | pub fn id(&self) -> Id { method descriptor (line 552) | pub fn descriptor(&self) -> UiDrawCallDescriptor { method set_position (line 557) | pub fn set_position(&self, position: Vec2) -> &Self { method with_position (line 563) | pub fn with_position(self, position: Vec2) -> Self { method set_size (line 569) | pub fn set_size(&self, size: Vec2) -> &Self { method with_size (line 575) | pub fn with_size(self, size: Vec2) -> Self { method set_tint (line 582) | pub fn set_tint(&self, color: Vec4) -> &Self { method with_tint (line 588) | pub fn with_tint(self, color: Vec4) -> Self { method set_opacity (line 594) | pub fn set_opacity(&self, opacity: f32) -> &Self { method with_opacity (line 600) | pub fn with_opacity(self, opacity: f32) -> Self { method set_z (line 606) | pub fn set_z(&self, z: f32) -> &Self { method with_z (line 612) | pub fn with_z(self, z: f32) -> Self { method position (line 620) | pub fn position(&self) -> Vec2 { method size (line 625) | pub fn size(&self) -> Vec2 { method tint (line 630) | pub fn tint(&self) -> Vec4 { method opacity (line 635) | pub fn opacity(&self) -> f32 { method z (line 640) | pub fn z(&self) -> f32 { function vec2_to_point (line 664) | fn vec2_to_point(v: impl Into) -> geom::Point { function vec2_to_vec (line 669) | fn vec2_to_vec(v: impl Into) -> geom::Vector { constant NUM_ATTRIBUTES (line 675) | const NUM_ATTRIBUTES: usize = 8; type PathAttributes (line 679) | struct PathAttributes { method to_array (line 685) | fn to_array(self) -> [f32; NUM_ATTRIBUTES] { method from_slice (line 691) | fn from_slice(s: &[f32]) -> Self { type StrokeConfig (line 700) | pub struct StrokeConfig { method default (line 710) | fn default() -> Self { type UiPathBuilder (line 735) | pub struct UiPathBuilder { method new (line 744) | pub(crate) fn new() -> Self { method set_fill_color (line 759) | pub fn set_fill_color(&mut self, color: impl Into) -> &mut Self { method with_fill_color (line 765) | pub fn with_fill_color(mut self, color: impl Into) -> Self { method set_stroke_color (line 771) | pub fn set_stroke_color(&mut self, color: impl Into) -> &mut Self { method with_stroke_color (line 777) | pub fn with_stroke_color(mut self, color: impl Into) -> Self { method set_stroke_config (line 783) | pub fn set_stroke_config(&mut self, config: StrokeConfig) -> &mut Self { method with_stroke_config (line 789) | pub fn with_stroke_config(mut self, config: StrokeConfig) -> Self { method set_fill_image (line 802) | pub fn set_fill_image(&mut self, texture: &AtlasTexture) -> &mut Self { method with_fill_image (line 808) | pub fn with_fill_image(mut self, texture: &AtlasTexture) -> Self { method begin (line 816) | pub fn begin(&mut self, at: impl Into) -> &mut Self { method with_begin (line 822) | pub fn with_begin(mut self, at: impl Into) -> Self { method end (line 828) | pub fn end(&mut self, close: bool) -> &mut Self { method with_end (line 834) | pub fn with_end(mut self, close: bool) -> Self { method line_to (line 840) | pub fn line_to(&mut self, to: impl Into) -> &mut Self { method with_line_to (line 848) | pub fn with_line_to(mut self, to: impl Into) -> Self { method quadratic_bezier_to (line 854) | pub fn quadratic_bezier_to( method with_quadratic_bezier_to (line 868) | pub fn with_quadratic_bezier_to( method cubic_bezier_to (line 878) | pub fn cubic_bezier_to( method with_cubic_bezier_to (line 894) | pub fn with_cubic_bezier_to( method add_rectangle (line 907) | pub fn add_rectangle(&mut self, min: impl Into, max: impl Into, max: impl Into, radius: f32) -> ... method with_circle (line 976) | pub fn with_circle(mut self, center: impl Into, radius: f32) -> ... method add_ellipse (line 982) | pub fn add_ellipse( method with_ellipse (line 1000) | pub fn with_ellipse( method add_polygon (line 1011) | pub fn add_polygon(&mut self, points: &[Vec2]) -> &mut Self { method with_polygon (line 1024) | pub fn with_polygon(mut self, points: &[Vec2]) -> Self { method fill (line 1033) | pub fn fill(self, renderer: &mut UiRenderer) -> UiPath { method stroke (line 1065) | pub fn stroke(self, renderer: &mut UiRenderer) -> UiPath { method compute_bounding_box_uvs (line 1104) | fn compute_bounding_box_uvs(geometry: &mut VertexBuffers) -> std::fmt::Result { method id (line 1178) | pub fn id(&self) -> Id { method descriptor (line 1183) | pub fn descriptor(&self) -> UiDrawCallDescriptor { method set_z (line 1188) | pub fn set_z(&self, z: f32) -> &Self { method with_z (line 1194) | pub fn with_z(self, z: f32) -> Self { method set_opacity (line 1200) | pub fn set_opacity(&self, opacity: f32) -> &Self { method with_opacity (line 1206) | pub fn with_opacity(self, opacity: f32) -> Self { method opacity (line 1214) | pub fn opacity(&self) -> f32 { method z (line 1219) | pub fn z(&self) -> f32 { type GlyphCache (line 1246) | pub(crate) struct GlyphCache { method new (line 1272) | pub fn new(fonts: Vec) -> Self { method rebuild_with_fonts (line 1285) | pub fn rebuild_with_fonts(&mut self, fonts: Vec) { method queue (line 1295) | pub fn queue<'a>(&mut self, section: impl Into( method process (line 1312) | pub fn process(&mut self) -> Option> { method take_image (line 1429) | pub fn take_image(&mut self) -> Option { type GlyphQuad (line 1257) | pub(crate) struct GlyphQuad { type UiText (line 1452) | pub struct UiText { method bounds (line 1469) | pub fn bounds(&self) -> (Vec2, Vec2) { method set_z (line 1474) | pub fn set_z(&self, z: f32) -> &Self { method with_z (line 1482) | pub fn with_z(self, z: f32) -> Self { method set_opacity (line 1488) | pub fn set_opacity(&self, opacity: f32) -> &Self { method with_opacity (line 1496) | pub fn with_opacity(self, opacity: f32) -> Self { method opacity (line 1505) | pub fn opacity(&self) -> f32 { method z (line 1514) | pub fn z(&self) -> f32 { type DrawCall (line 1533) | struct DrawCall { type UiRenderer (line 1554) | pub struct UiRenderer { constant LABEL (line 1604) | const LABEL: Option<&'static str> = Some("renderling-ui"); constant DEFAULT_ATLAS_SIZE (line 1607) | const DEFAULT_ATLAS_SIZE: wgpu::Extent3d = wgpu::Extent3d { method new (line 1614) | pub fn new(ctx: &Context) -> Self { method set_background_color (line 1683) | pub fn set_background_color(&mut self, color: Option) -> &mut Se... method with_background_color (line 1689) | pub fn with_background_color(mut self, color: Vec4) -> Self { method with_msaa_sample_count (line 1698) | pub fn with_msaa_sample_count(mut self, count: u32) -> Self { method set_size (line 1722) | pub fn set_size(&mut self, size: UVec2) { method add_rect (line 1759) | pub fn add_rect(&mut self) -> UiRect { method add_circle (line 1777) | pub fn add_circle(&mut self) -> UiCircle { method add_ellipse (line 1795) | pub fn add_ellipse(&mut self) -> UiEllipse { method add_image (line 1819) | pub fn add_image(&mut self, image: impl Into) -> UiImage { method upload_image (line 1865) | pub fn upload_image(&mut self, image: impl Into) -> AtlasT... method add_font (line 1892) | pub fn add_font(&mut self, font: FontArc) -> FontId { method add_text (line 1918) | pub fn add_text<'a>( method remove_rect (line 2008) | pub fn remove_rect(&mut self, element: &UiRect) { method remove_circle (line 2013) | pub fn remove_circle(&mut self, element: &UiCircle) { method remove_ellipse (line 2018) | pub fn remove_ellipse(&mut self, element: &UiEllipse) { method remove_image (line 2023) | pub fn remove_image(&mut self, element: &UiImage) { method remove_text (line 2029) | pub fn remove_text(&mut self, element: &UiText) { method path_builder (line 2047) | pub fn path_builder(&self) -> UiPathBuilder { method remove_path (line 2053) | pub fn remove_path(&mut self, element: &UiPath) { method clear (line 2058) | pub fn clear(&mut self) { method render (line 2065) | pub fn render(&mut self, view: &wgpu::TextureView) { method ortho2d (line 2209) | fn ortho2d(width: f32, height: f32) -> Mat4 { method default_descriptor (line 2222) | fn default_descriptor(&self, element_type: UiElementType) -> UiDrawCal... method create_bindgroup_layout (line 2245) | fn create_bindgroup_layout(device: &wgpu::Device) -> wgpu::BindGroupLa... method create_pipeline (line 2282) | fn create_pipeline( method create_msaa_texture (line 2336) | fn create_msaa_texture( method create_overlay_texture (line 2365) | fn create_overlay_texture( method create_bindgroup (line 2389) | fn create_bindgroup( method remove_by_id (line 2417) | fn remove_by_id(&mut self, id: Id) { FILE: crates/renderling-ui/src/test.rs function init_logging (line 10) | fn init_logging() { function save_and_assert (line 17) | fn save_and_assert(name: &str, img: image::RgbaImage) { function can_render_rect (line 33) | fn can_render_rect() { function can_render_rounded_rect (line 51) | fn can_render_rounded_rect() { function can_render_circle (line 70) | fn can_render_circle() { function can_render_bordered_rect (line 88) | fn can_render_bordered_rect() { function can_render_multiple_shapes (line 108) | fn can_render_multiple_shapes() { function can_render_image (line 146) | fn can_render_image() { function can_render_image_with_tint (line 172) | fn can_render_image_with_tint() { function can_render_gradient_rect (line 195) | fn can_render_gradient_rect() { function can_render_text (line 222) | fn can_render_text() { function can_render_filled_path (line 252) | fn can_render_filled_path() { function can_render_stroked_path (line 275) | fn can_render_stroked_path() { function can_render_path_shapes (line 295) | fn can_render_path_shapes() { function can_render_text_with_shapes (line 333) | fn can_render_text_with_shapes() { function star_points (line 377) | fn star_points(num_points: usize, outer_radius: f32, inner_radius: f32) ... function can_render_path_with_image_fill (line 394) | fn can_render_path_with_image_fill() { FILE: crates/renderling/src/atlas.rs type TextureModes (line 31) | pub struct TextureModes { function repeat (line 39) | pub fn repeat(mut input: f32) -> f32 { function clamp (line 50) | pub fn clamp(input: f32) -> f32 { type TextureAddressMode (line 65) | pub enum TextureAddressMode { method fmt (line 73) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method wrap (line 85) | pub fn wrap(&self, input: f32) -> f32 { function can_repeat (line 136) | fn can_repeat() { function constrain_clip_coords_sanity (line 145) | fn constrain_clip_coords_sanity() { FILE: crates/renderling/src/atlas/atlas_image.rs function cwd (line 8) | fn cwd() -> Option { type AtlasImageError (line 21) | pub enum AtlasImageError { type AtlasImageFormat (line 33) | pub enum AtlasImageFormat { method from_wgpu_texture_format (line 72) | pub fn from_wgpu_texture_format(value: wgpu::TextureFormat) -> Option<... method zero_pixel (line 85) | pub fn zero_pixel(&self) -> &[u8] { function from (line 50) | fn from(value: AtlasImageFormat) -> Self { type AtlasImage (line 107) | pub struct AtlasImage { method from (line 117) | fn from(value: gltf::image::Data) -> Self { method from (line 144) | fn from(value: image::DynamicImage) -> Self { type Error (line 176) | type Error = AtlasImageError; method try_from (line 178) | fn try_from(value: std::path::PathBuf) -> Result { method from_hdr_path (line 185) | pub fn from_hdr_path(p: impl AsRef) -> Result Result { method from_path (line 219) | pub fn from_path(p: impl AsRef) -> Result Option { method new (line 234) | pub fn new(size: UVec2, format: AtlasImageFormat) -> Self { function apply_linear_xfer (line 247) | fn apply_linear_xfer(bytes: &mut [u8], format: AtlasImageFormat) { function convert_pixels (line 282) | pub fn convert_pixels( FILE: crates/renderling/src/atlas/cpu.rs constant ATLAS_SUGGESTED_SIZE (line 25) | pub(crate) const ATLAS_SUGGESTED_SIZE: u32 = 2048; constant ATLAS_SUGGESTED_LAYERS (line 26) | pub(crate) const ATLAS_SUGGESTED_LAYERS: u32 = 8; type AtlasError (line 29) | pub enum AtlasError { type AtlasTexture (line 70) | pub struct AtlasTexture { method id (line 78) | pub fn id(&self) -> Id { method descriptor (line 83) | pub fn descriptor(&self) -> AtlasTextureDescriptor { method modes (line 88) | pub fn modes(&self) -> TextureModes { method set_modes (line 97) | pub fn set_modes(&self, modes: TextureModes) { type InternalAtlasTexture (line 113) | struct InternalAtlasTexture { method from_hybrid (line 120) | fn from_hybrid(hat: &Hybrid) -> Self { method has_external_references (line 127) | fn has_external_references(&self) -> bool { method set (line 131) | fn set(&mut self, at: AtlasTextureDescriptor) { function check_size (line 143) | pub(crate) fn check_size(size: wgpu::Extent3d) { function fan_split_n (line 152) | fn fan_split_n(n: usize, input: impl IntoIterator) -> Vec { function size (line 182) | fn size(&self) -> UVec2 { type Layer (line 194) | pub struct Layer { type Atlas (line 202) | pub struct Atlas { constant LABEL (line 214) | const LABEL: Option<&str> = Some("atlas-texture"); method device (line 216) | pub fn device(&self) -> &wgpu::Device { method create_texture (line 221) | fn create_texture( method new (line 282) | pub fn new( method descriptor_id (line 312) | pub fn descriptor_id(&self) -> Id { method len (line 316) | pub fn len(&self) -> usize { method is_empty (line 322) | pub fn is_empty(&self) -> bool { method get_texture (line 328) | pub fn get_texture(&self) -> impl Deref + '_ { method get_layers (line 333) | pub fn get_layers(&self) -> impl Deref> + '_ { method set_images (line 341) | pub fn set_images(&self, images: &[AtlasImage]) -> Result wgpu::Extent3d { method add_images (line 365) | pub fn add_images<'a>( method add_image (line 406) | pub fn add_image(&self, image: &AtlasImage) -> Result) -> bool { method atlas_img_buffer (line 496) | pub fn atlas_img_buffer( method atlas_img (line 536) | pub async fn atlas_img(&self, runtime: impl AsRef, layer:... method read_images (line 544) | pub async fn read_images(&self, runtime: impl AsRef) -> V... method update_texture (line 560) | pub fn update_texture( method update_textures (line 576) | pub fn update_textures<'a>( method update_images (line 608) | pub fn update_images<'a>( method update_image (line 651) | pub fn update_image( function pack_images (line 660) | fn pack_images<'a>( type StagedResources (line 716) | struct StagedResources { method try_staging (line 724) | fn try_staging( type AtlasBlittingOperation (line 874) | pub struct AtlasBlittingOperation { method new (line 885) | pub fn new( method run (line 915) | pub fn run( type AtlasBlitter (line 1027) | pub struct AtlasBlitter { method new (line 1041) | pub fn new( function atlas_uv_mapping (line 1160) | fn atlas_uv_mapping() { function uv_wrapping (line 1216) | fn uv_wrapping() { function negative_uv_wrapping (line 1310) | fn negative_uv_wrapping() { function transform_uvs_for_atlas (line 1407) | fn transform_uvs_for_atlas() { function can_load_and_read_atlas_texture_array (line 1424) | fn can_load_and_read_atlas_texture_array() { function upkeep_trims_the_atlas (line 1445) | fn upkeep_trims_the_atlas() { FILE: crates/renderling/src/atlas/shader.rs type AtlasDescriptor (line 7) | pub struct AtlasDescriptor { type AtlasTextureDescriptor (line 13) | pub struct AtlasTextureDescriptor { method uv (line 30) | pub fn uv(&self, mut uv: Vec2, atlas_size: UVec2) -> Vec3 { method constrain_clip_coords_to_texture_space (line 53) | pub fn constrain_clip_coords_to_texture_space( method constrain_clip_coords (line 66) | pub fn constrain_clip_coords(&self, clip_pos: Vec2, atlas_size: UVec2)... method origin (line 74) | pub fn origin(&self) -> wgpu::Origin3d { method size_as_extent (line 84) | pub fn size_as_extent(&self) -> wgpu::Extent3d { type AtlasBlittingDescriptor (line 94) | pub struct AtlasBlittingDescriptor { function atlas_blit_vertex (line 105) | pub fn atlas_blit_vertex( function atlas_blit_fragment (line 133) | pub fn atlas_blit_fragment( FILE: crates/renderling/src/bindgroup.rs type ManagedBindGroup (line 11) | pub struct ManagedBindGroup { method from (line 22) | fn from(value: wgpu::BindGroup) -> Self { method new (line 31) | pub fn new() -> Self { method get (line 37) | pub fn get( method invalidate (line 62) | pub fn invalidate(&self) { method default (line 16) | fn default() -> Self { FILE: crates/renderling/src/bloom/cpu.rs function create_bindgroup_layout (line 15) | fn create_bindgroup_layout(device: &wgpu::Device, label: Option<&str>) -... function create_bloom_downsample_pipeline (line 49) | fn create_bloom_downsample_pipeline(device: &wgpu::Device) -> wgpu::Rend... function create_bloom_upsample_pipeline (line 94) | fn create_bloom_upsample_pipeline(device: &wgpu::Device) -> wgpu::Render... function config_resolutions (line 139) | fn config_resolutions(resolution: UVec2) -> impl Iterator { function create_texture (line 144) | fn create_texture( function create_textures (line 184) | fn create_textures(runtime: impl AsRef, resolution: UVec2) ... function create_bindgroup (line 213) | fn create_bindgroup( function create_bindgroups (line 240) | fn create_bindgroups( function create_mix_pipeline (line 253) | fn create_mix_pipeline(device: &wgpu::Device) -> wgpu::RenderPipeline { function create_mix_bindgroup (line 344) | fn create_mix_bindgroup( type Bloom (line 386) | pub struct Bloom { method new (line 407) | pub fn new(runtime: impl AsRef, hdr_texture: &Texture) ->... method slab_allocator (line 473) | pub(crate) fn slab_allocator(&self) -> &SlabAllocator { method set_mix_strength (line 477) | pub fn set_mix_strength(&self, strength: f32) { method get_mix_strength (line 481) | pub fn get_mix_strength(&self) -> f32 { method set_filter_radius (line 486) | pub fn set_filter_radius(&self, filter_radius: f32) { method get_filter_radius (line 492) | pub fn get_filter_radius(&self) -> Vec2 { method get_size (line 496) | pub fn get_size(&self) -> UVec2 { method set_hdr_texture (line 502) | pub fn set_hdr_texture(&self, runtime: impl AsRef, hdr_te... method get_mix_texture (line 548) | pub fn get_mix_texture(&self) -> Texture { method render_downsamples (line 556) | pub(crate) fn render_downsamples(&self, device: &wgpu::Device, queue: ... method render_upsamples (line 625) | fn render_upsamples(&self, device: &wgpu::Device, queue: &wgpu::Queue) { method render_mix (line 672) | fn render_mix(&self, device: &wgpu::Device, queue: &wgpu::Queue) { method bloom (line 703) | pub fn bloom(&self, device: &wgpu::Device, queue: &wgpu::Queue) { function bloom_texture_sizes_sanity (line 724) | fn bloom_texture_sizes_sanity() { function bloom_sanity (line 762) | fn bloom_sanity() { FILE: crates/renderling/src/bloom/shader.rs function bloom_vertex (line 9) | pub fn bloom_vertex( function bloom_downsample_fragment (line 31) | pub fn bloom_downsample_fragment( function bloom_upsample_fragment (line 101) | pub fn bloom_upsample_fragment( function bloom_mix_fragment (line 167) | pub fn bloom_mix_fragment( FILE: crates/renderling/src/build.rs function main (line 3) | fn main() { FILE: crates/renderling/src/bvol.rs function normalize_plane (line 22) | pub fn normalize_plane(mut plane: Vec4) -> Vec4 { function intersect_planes (line 37) | pub fn intersect_planes(p0: &Vec4, p1: &Vec4, p2: &Vec4) -> Vec3 { function dist_bpp (line 46) | pub fn dist_bpp(plane: &Vec4, point: Vec3) -> f32 { function mi_vertex (line 51) | pub fn mi_vertex(plane: &Vec4, aabb: &Aabb) -> Vec3 { function mo_vertex (line 72) | pub fn mo_vertex(plane: &Vec4, aabb: &Aabb) -> Vec3 { type Aabb (line 94) | pub struct Aabb { method from (line 100) | fn from((a, b): (Vec3, Vec3)) -> Self { method new (line 106) | pub fn new(a: Vec3, b: Vec3) -> Self { method width (line 114) | pub fn width(&self) -> f32 { method height (line 119) | pub fn height(&self) -> f32 { method depth (line 124) | pub fn depth(&self) -> f32 { method center (line 128) | pub fn center(&self) -> Vec3 { method extents (line 132) | pub fn extents(&self) -> Vec3 { method diagonal_length (line 136) | pub fn diagonal_length(&self) -> f32 { method is_zero (line 140) | pub fn is_zero(&self) -> bool { method union (line 145) | pub fn union(a: Self, b: Self) -> Self { method is_outside_camera_view (line 154) | pub fn is_outside_camera_view( method get_mesh (line 178) | pub fn get_mesh(&self) -> Vec<(Vec3, Vec3)> { method intersects_aabb (line 204) | pub fn intersects_aabb(&self, other: &Aabb) -> bool { type Frustum (line 216) | pub struct Frustum { method from_camera (line 229) | pub fn from_camera(camera: &CameraDescriptor) -> Self { method get_mesh (line 291) | pub fn get_mesh(&self) -> Vec<(Vec3, Vec3)> { method test_against_aabb (line 313) | pub fn test_against_aabb(&self, aabb: &Aabb) -> bool { method depth (line 338) | pub fn depth(&self) -> f32 { type BoundingBox (line 350) | pub struct BoundingBox { method from_min_max (line 356) | pub fn from_min_max(min: Vec3, max: Vec3) -> Self { method distance (line 365) | pub fn distance(&self, point: Vec3) -> f32 { method get_mesh (line 389) | pub fn get_mesh(&self) -> [(Vec3, Vec3); 36] { method contains_point (line 423) | pub fn contains_point(&self, point: Vec3) -> bool { type BoundingSphere (line 432) | pub struct BoundingSphere { method from (line 438) | fn from((min, max): (Vec3, Vec3)) -> Self { method from (line 446) | fn from(value: Aabb) -> Self { method new (line 453) | pub fn new(center: impl Into, radius: f32) -> BoundingSphere { method is_inside_camera_view (line 462) | pub fn is_inside_camera_view( method project_by (line 477) | pub fn project_by(&self, view_projection: &Mat4) -> Self { method project_onto_viewport (line 492) | pub fn project_onto_viewport(&self, camera: &CameraDescriptor, viewpor... type BVol (line 533) | pub trait BVol { method get_aabb (line 520) | fn get_aabb(&self) -> Aabb { method culls_this_plane (line 527) | fn culls_this_plane(&self, plane: &Vec4) -> bool { method get_aabb (line 535) | fn get_aabb(&self) -> Aabb; method culls_this_plane (line 540) | fn culls_this_plane(&self, plane: &Vec4) -> bool; method is_inside_frustum (line 542) | fn is_inside_frustum(&self, frustum: Frustum) -> bool { method coherent_test_is_volume_outside_frustum (line 560) | fn coherent_test_is_volume_outside_frustum( method get_aabb (line 584) | fn get_aabb(&self) -> Aabb { method culls_this_plane (line 588) | fn culls_this_plane(&self, plane: &Vec4) -> bool { function bvol_frustum_is_in_world_space_sanity (line 602) | fn bvol_frustum_is_in_world_space_sanity() { function frustum_culling_debug_corner_case (line 619) | fn frustum_culling_debug_corner_case() { function bounding_box_from_min_max (line 650) | fn bounding_box_from_min_max() { function orthographic_projection_lighting (line 723) | fn orthographic_projection_lighting() { function aabb_intersection (line 779) | fn aabb_intersection() { function aabb_union (line 787) | fn aabb_union() { FILE: crates/renderling/src/camera.rs function default_perspective (line 35) | pub fn default_perspective(width: f32, height: f32) -> (Mat4, Mat4) { function perspective (line 44) | pub fn perspective(width: f32, height: f32) -> Mat4 { function ortho (line 58) | pub fn ortho(width: f32, height: f32) -> Mat4 { function look_at (line 68) | pub fn look_at(eye: impl Into, target: impl Into, up: impl I... function default_ortho2d (line 79) | pub fn default_ortho2d(width: f32, height: f32) -> (Mat4, Mat4) { function forward (line 99) | fn forward() { FILE: crates/renderling/src/camera/cpu.rs type Camera (line 21) | pub struct Camera { method as_ref (line 26) | fn as_ref(&self) -> &Camera { method new (line 33) | pub fn new(slab: &SlabAllocator) -> Self { method id (line 40) | pub fn id(&self) -> Id { method descriptor (line 45) | pub fn descriptor(&self) -> CameraDescriptor { method set_default_perspective (line 73) | pub fn set_default_perspective(&self, width: f32, height: f32) -> &Self { method with_default_perspective (line 103) | pub fn with_default_perspective(self, width: f32, height: f32) -> Self { method set_default_ortho2d (line 110) | pub fn set_default_ortho2d(&self, width: f32, height: f32) -> &Self { method with_default_ortho2d (line 118) | pub fn with_default_ortho2d(self, width: f32, height: f32) -> Self { method set_projection_and_view (line 124) | pub fn set_projection_and_view( method with_projection_and_view (line 135) | pub fn with_projection_and_view( method projection_and_view (line 145) | pub fn projection_and_view(&self) -> (Mat4, Mat4) { method set_projection (line 151) | pub fn set_projection(&self, projection: impl Into) -> &Self { method with_projection (line 157) | pub fn with_projection(self, projection: impl Into) -> Self { method projection (line 163) | pub fn projection(&self) -> Mat4 { method set_view (line 168) | pub fn set_view(&self, view: impl Into) -> &Self { method with_view (line 174) | pub fn with_view(self, view: impl Into) -> Self { method view (line 180) | pub fn view(&self) -> Mat4 { function camera_position_sanity (line 192) | fn camera_position_sanity() { FILE: crates/renderling/src/camera/shader.rs type CameraDescriptor (line 14) | pub struct CameraDescriptor { method new (line 26) | pub fn new(projection: Mat4, view: Mat4) -> Self { method default_perspective (line 30) | pub fn default_perspective(width: f32, height: f32) -> Self { method default_ortho2d (line 35) | pub fn default_ortho2d(width: f32, height: f32) -> Self { method projection (line 40) | pub fn projection(&self) -> Mat4 { method set_projection_and_view (line 54) | pub fn set_projection_and_view(&mut self, projection: Mat4, view: Mat4) { method with_projection_and_view (line 82) | pub fn with_projection_and_view(mut self, projection: Mat4, view: Mat4... method set_projection (line 87) | pub fn set_projection(&mut self, projection: Mat4) { method with_projection (line 91) | pub fn with_projection(mut self, projection: Mat4) -> Self { method view (line 96) | pub fn view(&self) -> Mat4 { method set_view (line 100) | pub fn set_view(&mut self, view: Mat4) { method with_view (line 104) | pub fn with_view(mut self, view: Mat4) -> Self { method position (line 109) | pub fn position(&self) -> Vec3 { method frustum (line 113) | pub fn frustum(&self) -> Frustum { method view_projection (line 117) | pub fn view_projection(&self) -> Mat4 { method near_plane (line 121) | pub fn near_plane(&self) -> Vec4 { method far_plane (line 125) | pub fn far_plane(&self) -> Vec4 { method z_near (line 130) | pub fn z_near(&self) -> f32 { method z_far (line 134) | pub fn z_far(&self) -> f32 { method depth (line 138) | pub fn depth(&self) -> f32 { method forward (line 144) | pub fn forward(&self) -> Vec3 { method frustum_near_point (line 148) | pub fn frustum_near_point(&self) -> Vec3 { method frustum_far_point (line 152) | pub fn frustum_far_point(&self) -> Vec3 { FILE: crates/renderling/src/color.rs function linear_xfer_u8 (line 14) | pub fn linear_xfer_u8(c: &mut u8) { function opto_xfer_u8 (line 25) | pub fn opto_xfer_u8(c: &mut u8) { function linear_xfer_u16 (line 36) | pub fn linear_xfer_u16(c: &mut u16) { function linear_xfer_f16 (line 52) | pub fn linear_xfer_f16(c: &mut u16) { function u16_to_u8 (line 58) | pub fn u16_to_u8(c: u16) -> u8 { function f32_to_u8 (line 62) | pub fn f32_to_u8(c: f32) -> u8 { function u8_to_f32 (line 66) | pub fn u8_to_f32(c: u8) -> f32 { function css_srgb_color_to_linear (line 74) | pub fn css_srgb_color_to_linear(r: u8, g: u8, b: u8) -> Vec4 { function linear_xfer_f32 (line 91) | pub fn linear_xfer_f32(c: &mut f32) { function linear_xfer_vec4 (line 101) | pub fn linear_xfer_vec4(v: &mut Vec4) { function rgb_hex_color (line 114) | pub fn rgb_hex_color(hex: u32) -> Vec4 { function can_rgb_hex_color (line 126) | fn can_rgb_hex_color() { FILE: crates/renderling/src/compositor.rs function compositor_vertex (line 14) | pub fn compositor_vertex( function compositor_fragment (line 29) | pub fn compositor_fragment( FILE: crates/renderling/src/compositor/cpu.rs type Compositor (line 15) | pub struct Compositor { method new (line 23) | pub fn new(device: &wgpu::Device, format: wgpu::TextureFormat) -> Self { method composite (line 111) | pub fn composite( FILE: crates/renderling/src/context.rs type RenderTargetInner (line 23) | pub(crate) enum RenderTargetInner { type RenderTarget (line 37) | pub struct RenderTarget(pub(crate) RenderTargetInner); method from (line 41) | fn from(value: wgpu::Texture) -> Self { method resize (line 51) | pub fn resize(&mut self, width: u32, height: u32, device: &wgpu::Devic... method format (line 84) | pub fn format(&self) -> wgpu::TextureFormat { method is_headless (line 92) | pub fn is_headless(&self) -> bool { method as_texture (line 100) | pub fn as_texture(&self) -> Option<&wgpu::Texture> { method get_size (line 108) | pub fn get_size(&self) -> UVec2 { type ContextError (line 125) | pub enum ContextError { type FrameTextureView (line 143) | pub struct FrameTextureView { type Target (line 149) | type Target = wgpu::TextureView; method deref (line 151) | fn deref(&self) -> &Self::Target { type FrameSurface (line 158) | pub(crate) enum FrameSurface { type Frame (line 166) | pub struct Frame { method texture (line 173) | pub fn texture(&self) -> &wgpu::Texture { method view (line 181) | pub fn view(&self) -> wgpu::TextureView { method copy_to_buffer (line 192) | pub fn copy_to_buffer(&self, width: u32, height: u32) -> CopiedTexture... method get_size (line 235) | pub fn get_size(&self) -> UVec2 { method read_image (line 249) | pub async fn read_image(&self) -> Result Result Result &WgpuRuntime { method new (line 331) | pub fn new( method try_new_headless (line 371) | pub async fn try_new_headless( method try_new_with_surface (line 385) | pub async fn try_new_with_surface( method from_winit_window (line 403) | pub async fn from_winit_window( method headless (line 420) | pub async fn headless(width: u32, height: u32) -> Self { method get_size (line 433) | pub fn get_size(&self) -> UVec2 { method set_size (line 438) | pub fn set_size(&mut self, size: UVec2) { method create_texture (line 444) | pub fn create_texture

( method texture_from_wgpu_tex (line 464) | pub fn texture_from_wgpu_tex( method runtime (line 473) | pub fn runtime(&self) -> &WgpuRuntime { method get_device (line 478) | pub fn get_device(&self) -> &wgpu::Device { method get_queue (line 483) | pub fn get_queue(&self) -> &wgpu::Queue { method get_adapter (line 488) | pub fn get_adapter(&self) -> &wgpu::Adapter { method get_adapter_owned (line 493) | pub fn get_adapter_owned(&self) -> Arc { method get_render_target (line 498) | pub fn get_render_target(&self) -> &RenderTarget { method get_next_frame (line 513) | pub fn get_next_frame(&self) -> Result { method set_default_atlas_texture_size (line 533) | pub fn set_default_atlas_texture_size(&self, size: impl Into) -... method with_default_atlas_texture_size (line 556) | pub fn with_default_atlas_texture_size(self, size: impl Into) -... method set_shadow_mapping_atlas_texture_size (line 566) | pub fn set_shadow_mapping_atlas_texture_size(&self, size: impl Into Self { method get_use_direct_draw (line 619) | pub fn get_use_direct_draw(&self) -> bool { method new_stage (line 628) | pub fn new_stage(&self) -> Stage { FILE: crates/renderling/src/convolution.rs function radical_inverse_vdc (line 22) | fn radical_inverse_vdc(mut bits: u32) -> f32 { function hammersley (line 31) | fn hammersley(i: u32, n: u32) -> Vec2 { function importance_sample_ggx (line 35) | fn importance_sample_ggx(xi: Vec2, n: Vec3, roughness: f32) -> Vec3 { function geometry_schlick_ggx (line 58) | fn geometry_schlick_ggx(n_dot_v: f32, roughness: f32) -> f32 { function geometry_smith (line 72) | fn geometry_smith(normal: Vec3, view_dir: Vec3, light_dir: Vec3, roughne... constant SAMPLE_COUNT (line 81) | const SAMPLE_COUNT: u32 = 1024; function integrate_brdf (line 83) | pub fn integrate_brdf(mut n_dot_v: f32, roughness: f32) -> Vec2 { function integrate_brdf_doesnt_work (line 119) | pub fn integrate_brdf_doesnt_work(mut n_dot_v: f32, roughness: f32) -> V... type VertexPrefilterEnvironmentCubemapIds (line 160) | pub struct VertexPrefilterEnvironmentCubemapIds { function prefilter_environment_cubemap_vertex (line 168) | pub fn prefilter_environment_cubemap_vertex( function prefilter_environment_cubemap_fragment (line 188) | pub fn prefilter_environment_cubemap_fragment( function calc_lod_old (line 228) | pub fn calc_lod_old(n: Vec3, v: Vec3, h: Vec3, roughness: f32) -> f32 { function calc_lod (line 242) | pub fn calc_lod(n_dot_l: f32) -> f32 { function generate_mipmap_vertex (line 250) | pub fn generate_mipmap_vertex( function generate_mipmap_fragment (line 262) | pub fn generate_mipmap_fragment( type Vert (line 273) | struct Vert { constant BRDF_VERTS (line 279) | const BRDF_VERTS: [Vert; 6] = { function brdf_lut_convolution_vertex (line 302) | pub fn brdf_lut_convolution_vertex( function brdf_lut_convolution_fragment (line 314) | pub fn brdf_lut_convolution_fragment(in_uv: glam::Vec2, out_color: &mut ... function integrate_brdf_sanity (line 324) | fn integrate_brdf_sanity() { FILE: crates/renderling/src/cubemap.rs function cubemap_right (line 22) | fn cubemap_right() { function cubemap_face_index (line 37) | fn cubemap_face_index() { FILE: crates/renderling/src/cubemap/cpu.rs function cpu_sample_cubemap (line 14) | pub fn cpu_sample_cubemap(cubemap: &[image::DynamicImage; 6], coord: Vec... type SceneCubemap (line 41) | pub struct SceneCubemap { method new (line 49) | pub fn new( method run (line 88) | pub fn run(&self, stage: &Stage) { type EquirectangularImageToCubemapBlitter (line 148) | pub struct EquirectangularImageToCubemapBlitter(pub wgpu::RenderPipeline); method create_bindgroup_layout (line 151) | pub fn create_bindgroup_layout(device: &wgpu::Device) -> wgpu::BindGro... method create_bindgroup (line 185) | pub fn create_bindgroup( method new (line 214) | pub fn new(device: &wgpu::Device, format: wgpu::TextureFormat) -> Self { function hand_rolled_cubemap_sampling (line 283) | fn hand_rolled_cubemap_sampling() { FILE: crates/renderling/src/cubemap/shader.rs function cubemap_sampling_test_vertex (line 12) | pub fn cubemap_sampling_test_vertex( function cubemap_sampling_test_fragment (line 25) | pub fn cubemap_sampling_test_fragment( type CubemapFaceDirection (line 39) | pub struct CubemapFaceDirection { constant X (line 49) | pub const X: Self = Self { constant NEG_X (line 54) | pub const NEG_X: Self = Self { constant Y (line 60) | pub const Y: Self = Self { constant NEG_Y (line 65) | pub const NEG_Y: Self = Self { constant Z (line 71) | pub const Z: Self = Self { constant NEG_Z (line 76) | pub const NEG_Z: Self = Self { constant FACES (line 82) | pub const FACES: [Self; 6] = [ method right (line 91) | pub fn right(&self) -> Vec3 { method view (line 96) | pub fn view(&self) -> Mat4 { type CubemapDescriptor (line 101) | pub struct CubemapDescriptor { method get_face_index_and_uv (line 109) | pub fn get_face_index_and_uv(coord: Vec3) -> (usize, Vec2) { method sample (line 136) | pub fn sample(&self, coord: Vec3, slab: &[u32], atlas: &A, sampl... function cubemap_right (line 159) | fn cubemap_right() { function cubemap_face_index (line 174) | fn cubemap_face_index() { FILE: crates/renderling/src/cull/cpu.rs type CullingError (line 17) | pub enum CullingError { method from (line 35) | fn from(source: SlabAllocatorError) -> Self { type ComputeCulling (line 41) | pub struct ComputeCulling { constant LABEL (line 55) | const LABEL: Option<&'static str> = Some("compute-culling"); method new_bindgroup (line 57) | fn new_bindgroup( method new (line 90) | pub fn new( method runtime (line 171) | fn runtime(&self) -> &WgpuRuntime { method run (line 175) | pub fn run(&mut self, indirect_draw_count: u32, depth_texture: &Textur... type DepthPyramid (line 218) | pub struct DepthPyramid { constant LABEL (line 226) | const LABEL: &str = "depth-pyramid"; method allocate (line 228) | fn allocate( method new (line 251) | pub fn new(runtime: impl AsRef, size: UVec2) -> Self { method resize (line 264) | pub fn resize(&mut self, size: UVec2) { method size (line 284) | pub fn size(&self) -> UVec2 { method read_images (line 288) | pub async fn read_images(&self) -> Result, Culli... type ComputeCopyDepth (line 319) | struct ComputeCopyDepth { constant LABEL (line 328) | const LABEL: Option<&'static str> = Some("compute-occlusion-copy-depth... method create_bindgroup_layout (line 330) | fn create_bindgroup_layout(device: &wgpu::Device, sample_count: u32) -... method create_pipeline (line 371) | fn create_pipeline( method create_bindgroup (line 402) | fn create_bindgroup( method new (line 426) | pub fn new(depth_pyramid: &DepthPyramid, depth_texture: &Texture) -> S... method run (line 447) | pub fn run(&mut self, pyramid: &mut DepthPyramid, depth_texture: &Text... type ComputeDownsampleDepth (line 509) | struct ComputeDownsampleDepth { constant LABEL (line 517) | const LABEL: Option<&'static str> = Some("compute-occlusion-downsample... method create_bindgroup_layout (line 519) | fn create_bindgroup_layout(device: &wgpu::Device) -> wgpu::BindGroupLa... method create_pipeline (line 538) | fn create_pipeline( method create_bindgroup (line 559) | fn create_bindgroup( method new (line 576) | pub fn new(pyramid: &DepthPyramid) -> Self { method run (line 590) | pub fn run(&mut self, pyramid: &DepthPyramid) { type ComputeDepthPyramid (line 634) | pub struct ComputeDepthPyramid { constant _LABEL (line 641) | const _LABEL: Option<&'static str> = Some("compute-depth-pyramid"); method new (line 643) | pub fn new(runtime: impl AsRef, depth_texture: &Texture) ... method run (line 657) | pub fn run(&mut self, depth_texture: &Texture) { function occlusion_culling_sanity (line 690) | fn occlusion_culling_sanity() { function depth_pyramid_descriptor_sanity (line 739) | fn depth_pyramid_descriptor_sanity() { function occlusion_culling_debugging (line 785) | fn occlusion_culling_debugging() { FILE: crates/renderling/src/cull/shader.rs function compute_culling (line 17) | pub fn compute_culling( type DepthPyramidDescriptor (line 122) | pub struct DepthPyramidDescriptor { method should_skip_invocation (line 138) | fn should_skip_invocation(&self, global_invocation: UVec3) -> bool { method size_at (line 144) | pub fn size_at(&self, mip_level: u32) -> UVec2 { method id_of_depth (line 149) | pub fn id_of_depth(&self, mip_level: u32, coord: UVec2, slab: &[u32]) ... type DepthImage2d (line 157) | pub type DepthImage2d = Image!(2D, type=f32, sampled, depth); type DepthImage2dMultisampled (line 158) | pub type DepthImage2dMultisampled = Image!(2D, type=f32, sampled, depth,... function compute_copy_depth_to_pyramid (line 165) | pub fn compute_copy_depth_to_pyramid( function compute_copy_depth_to_pyramid_multisampled (line 187) | pub fn compute_copy_depth_to_pyramid_multisampled( function compute_downsample_depth_pyramid (line 215) | pub fn compute_downsample_depth_pyramid( FILE: crates/renderling/src/debug.rs function debug_overlay_vertex (line 18) | pub fn debug_overlay_vertex( function debug_overlay_fragment (line 29) | pub fn debug_overlay_fragment( FILE: crates/renderling/src/debug/cpu.rs type DebugOverlay (line 6) | pub struct DebugOverlay { constant LABEL (line 13) | const LABEL: Option<&'static str> = Some("debug-overlay"); method create_bindgroup_layout (line 15) | fn create_bindgroup_layout(device: &wgpu::Device) -> wgpu::BindGroupLa... method create_pipeline_layout (line 45) | fn create_pipeline_layout( method create_pipeline (line 56) | fn create_pipeline( method create_bindgroup (line 99) | pub fn create_bindgroup( method new (line 123) | pub fn new(device: &wgpu::Device, format: wgpu::TextureFormat) -> Self { method render (line 132) | pub fn render( FILE: crates/renderling/src/draw.rs type DrawIndirectArgs (line 18) | pub struct DrawIndirectArgs { FILE: crates/renderling/src/draw/cpu.rs type IndirectDraws (line 21) | pub struct IndirectDraws { method new (line 28) | fn new( method slab_allocator (line 48) | pub(crate) fn slab_allocator(&self) -> &SlabAllocator { method invalidate (line 52) | fn invalidate(&mut self) { method read_hzb_images (line 63) | pub async fn read_hzb_images(&self) -> Result, C... method from (line 73) | fn from(id: Id) -> Self { type DrawingStrategy (line 93) | pub(crate) struct DrawingStrategy { method as_indirect (line 98) | pub(crate) fn as_indirect(&self) -> Option<&IndirectDraws> { type DrawCalls (line 105) | pub struct DrawCalls { method new (line 120) | pub fn new( method drawing_strategy (line 152) | pub(crate) fn drawing_strategy(&self) -> &DrawingStrategy { method get_compute_culling_available (line 157) | pub fn get_compute_culling_available(&self) -> bool { method add_primitive (line 167) | pub fn add_primitive(&mut self, renderlet: &Primitive) -> usize { method remove_primitive (line 180) | pub fn remove_primitive(&mut self, renderlet: &Primitive) -> usize { method sort_primitives (line 192) | pub fn sort_primitives(&mut self, f: impl Fn(&Primitive, &Primitive) -... method draw_count (line 201) | pub fn draw_count(&self) -> usize { method pre_draw (line 208) | pub fn pre_draw( method draw_direct (line 257) | pub fn draw_direct(&self, render_pass: &mut wgpu::RenderPass) { method draw (line 275) | pub fn draw(&self, render_pass: &mut wgpu::RenderPass) { FILE: crates/renderling/src/geometry.rs type MorphTarget (line 20) | pub struct MorphTarget { type Vertex (line 30) | pub struct Vertex { method with_position (line 59) | pub fn with_position(mut self, p: impl Into) -> Self { method with_color (line 64) | pub fn with_color(mut self, c: impl Into) -> Self { method with_uv0 (line 69) | pub fn with_uv0(mut self, uv: impl Into) -> Self { method with_uv1 (line 74) | pub fn with_uv1(mut self, uv: impl Into) -> Self { method with_normal (line 79) | pub fn with_normal(mut self, n: impl Into) -> Self { method with_tangent (line 84) | pub fn with_tangent(mut self, t: impl Into) -> Self { method generate_normal (line 89) | pub fn generate_normal(a: Vec3, b: Vec3, c: Vec3) -> Vec3 { method generate_tangent (line 95) | pub fn generate_tangent(a: Vec3, a_uv: Vec2, b: Vec3, b_uv: Vec2, c: V... method cube_mesh (line 123) | pub fn cube_mesh() -> [Vertex; 36] { method default (line 44) | fn default() -> Self { FILE: crates/renderling/src/geometry/cpu.rs type Vertices (line 38) | pub struct Vertices { method new (line 89) | pub(crate) fn new( method into_gpu_only (line 102) | pub fn into_gpu_only(self) -> Vertices { method get_vertex (line 109) | pub fn get_vertex(&self, index: usize) -> Option { method get_vec (line 114) | pub fn get_vec(&self) -> Vec { method modify_vertex (line 119) | pub fn modify_vertex( method clone (line 47) | fn clone(&self) -> Self { function fmt (line 58) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { function from (line 66) | fn from(value: Vertices) -> Self { function from (line 72) | fn from(value: &Vertices) -> Self { function from (line 78) | fn from(value: &Vertices) -> Self { function array (line 133) | pub fn array(&self) -> Array { function set_vertex (line 141) | pub fn set_vertex(&self, index: usize, value: &Vertex) { type Indices (line 149) | pub struct Indices { method new (line 210) | pub fn new(geometry: &Geometry, indices: impl IntoIterator... method into_gpu_only (line 217) | pub fn into_gpu_only(self) -> Indices { function fmt (line 157) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method clone (line 169) | fn clone(&self) -> Self { function from (line 177) | fn from(value: Indices) -> Self { function from (line 183) | fn from(value: &Indices) -> Self { function from (line 189) | fn from(value: &Indices) -> Self { function array (line 199) | pub fn array(&self) -> Array { type MorphTargets (line 226) | pub struct MorphTargets { method from (line 233) | fn from(value: &MorphTargets) -> Self { method fmt (line 239) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method new (line 248) | pub(crate) fn new( method array (line 263) | pub fn array(&self) -> Array> { type MorphTargetWeights (line 270) | pub struct MorphTargetWeights { method from (line 275) | fn from(value: &MorphTargetWeights) -> Self { method new (line 281) | pub(crate) fn new( method array (line 292) | pub fn array(&self) -> Array { method get_item (line 297) | pub fn get_item(&self, index: usize) -> Option { method set_item (line 302) | pub fn set_item(&self, index: usize, weight: f32) { type Geometry (line 309) | pub struct Geometry { method as_ref (line 322) | fn as_ref(&self) -> &WgpuRuntime { method as_ref (line 328) | fn as_ref(&self) -> &SlabAllocator { method new (line 334) | pub fn new(runtime: impl AsRef, resolution: UVec2, atlas_... method runtime (line 359) | pub fn runtime(&self) -> &WgpuRuntime { method slab_allocator (line 363) | pub fn slab_allocator(&self) -> &SlabAllocator { method descriptor (line 367) | pub fn descriptor(&self) -> &Hybrid { method default_vertices (line 372) | pub fn default_vertices(&self) -> &Vertices { method commit (line 377) | pub fn commit(&self) -> SlabBuffer { method new_camera (line 384) | pub fn new_camera(&self) -> Camera { method use_camera (line 393) | pub fn use_camera(&self, camera: &Camera) { method new_transform (line 402) | pub fn new_transform(&self) -> Transform { method new_vertices (line 407) | pub fn new_vertices(&self, vertices: impl IntoIterator)... method new_indices (line 412) | pub fn new_indices(&self, indices: impl IntoIterator) -> I... method new_morph_targets (line 417) | pub fn new_morph_targets( method new_morph_target_weights (line 425) | pub fn new_morph_target_weights( method new_matrices (line 433) | pub fn new_matrices(&self, data: impl IntoIterator) -> Hy... method new_skin (line 437) | pub fn new_skin( type Skin (line 451) | pub struct Skin { method from (line 464) | fn from(value: &Skin) -> Self { method fmt (line 470) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method new (line 482) | pub fn new( method id (line 510) | pub fn id(&self) -> Id { method descriptor (line 515) | pub fn descriptor(&self) -> SkinDescriptor { type SkinJoint (line 528) | pub struct SkinJoint(pub(crate) Transform); method from (line 531) | fn from(transform: Transform) -> Self { method from (line 537) | fn from(transform: &Transform) -> Self { method from (line 543) | fn from(value: NestedTransform) -> Self { method from (line 549) | fn from(value: &NestedTransform) -> Self { FILE: crates/renderling/src/geometry/shader.rs type SkinDescriptor (line 13) | pub struct SkinDescriptor { method get_joint_matrix (line 24) | pub fn get_joint_matrix(&self, i: usize, vertex: Vertex, slab: &[u32])... method get_skinning_matrix (line 35) | pub fn get_skinning_matrix(&self, vertex: Vertex, slab: &[u32]) -> Mat4 { type GeometryDescriptor (line 58) | pub struct GeometryDescriptor { method default (line 70) | fn default() -> Self { FILE: crates/renderling/src/gltf.rs type StageGltfError (line 36) | pub enum StageGltfError { method from (line 107) | fn from(source: AtlasError) -> Self { method from (line 113) | fn from(transform: gltf::scene::Transform) -> Self { function from_gltf_light_kind (line 123) | pub fn from_gltf_light_kind(kind: gltf::khr_lights_punctual::Kind) -> Li... function gltf_light_intensity_units (line 131) | pub fn gltf_light_intensity_units(kind: gltf::khr_lights_punctual::Kind)... method from_gltf (line 140) | fn from_gltf(mode: gltf::texture::WrappingMode) -> TextureAddressMode { function get_vertex_count (line 149) | pub fn get_vertex_count(primitive: &gltf::Primitive<'_>) -> u32 { method preprocess_images (line 165) | pub fn preprocess_images( method from_gltf (line 211) | pub fn from_gltf( type GltfPrimitive (line 287) | pub struct GltfPrimitive { method from_gltf (line 312) | pub fn from_gltf( method into_gpu_only (line 560) | pub fn into_gpu_only(self) -> GltfPrimitive { function fmt (line 300) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type GltfMesh (line 578) | pub struct GltfMesh { method from_gltf (line 599) | fn from_gltf(stage: &Stage, buffer_data: &[gltf::buffer::Data], mesh: ... method into_gpu_only (line 613) | pub fn into_gpu_only(self) -> GltfMesh { function fmt (line 590) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type GltfCamera (line 630) | pub struct GltfCamera { method as_ref (line 638) | fn as_ref(&self) -> &Camera { method new (line 644) | fn new(stage: &Stage, gltf_camera: gltf::Camera<'_>, transform: &Neste... type GltfNode (line 690) | pub struct GltfNode { method global_transform (line 714) | pub fn global_transform(&self) -> TransformDescriptor { type GltfSkin (line 720) | pub struct GltfSkin { method from_gltf (line 733) | pub fn from_gltf( type GltfDocument (line 793) | pub struct GltfDocument { method from_gltf (line 812) | pub fn from_gltf( method into_gpu_only (line 1193) | pub fn into_gpu_only(self) -> GltfDocument { function renderlets_iter (line 1236) | pub fn renderlets_iter(&self) -> impl Iterator { function collect_nodes_recursive (line 1240) | fn collect_nodes_recursive<'a>(&'a self, node_index: usize, nodes: &mut ... function root_nodes_in_scene (line 1257) | pub fn root_nodes_in_scene(&self, scene_index: usize) -> impl Iterator impl Itera... function bounding_volume (line 1290) | pub fn bounding_volume(&self) -> Option { function get_vertex_count_primitive_sanity (line 1317) | fn get_vertex_count_primitive_sanity() { function stage_gltf_simple_meshes (line 1337) | fn stage_gltf_simple_meshes() { function minimal_mesh (line 1362) | fn minimal_mesh() { function gltf_images (line 1391) | fn gltf_images() { function simple_texture (line 1443) | fn simple_texture() { function normal_mapping_brick_sphere (line 1473) | fn normal_mapping_brick_sphere() { function rigged_fox (line 1491) | fn rigged_fox() { function camera_position_sanity (line 1573) | fn camera_position_sanity() { FILE: crates/renderling/src/gltf/anime.rs type InterpolationError (line 8) | pub enum InterpolationError { type Interpolation (line 32) | pub enum Interpolation { method fmt (line 39) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 49) | fn from(value: gltf::animation::Interpolation) -> Self { method is_cubic_spline (line 59) | fn is_cubic_spline(&self) -> bool { type Keyframe (line 65) | pub struct Keyframe(pub f32); type TweenProperty (line 68) | pub enum TweenProperty { method as_translation (line 76) | fn as_translation(&self) -> Option<&Vec3> { method as_rotation (line 83) | fn as_rotation(&self) -> Option<&Quat> { method as_scale (line 90) | fn as_scale(&self) -> Option<&Vec3> { method as_morph_target_weights (line 97) | fn as_morph_target_weights(&self) -> Option<&Vec> { method description (line 104) | pub fn description(&self) -> &'static str { type TweenProperties (line 116) | pub enum TweenProperties { method get (line 124) | pub fn get(&self, index: usize) -> Option { method get_cubic (line 141) | pub fn get_cubic(&self, index: usize) -> Option<[TweenProperty; 3]> { method description (line 192) | pub fn description(&self) -> &'static str { type Tween (line 203) | pub struct Tween { method interpolate (line 221) | pub fn interpolate(&self, time: f32) -> Result, ... method interpolate_wrap (line 237) | pub fn interpolate_wrap(&self, time: f32) -> Result Result,... method interpolate_cubic (line 280) | fn interpolate_cubic(&self, time: f32) -> Result... method interpolate_linear (line 404) | fn interpolate_linear(&self, time: f32) -> Result f32 { method get_first_keyframe_property (line 471) | pub fn get_first_keyframe_property(&self) -> Option { method get_last_keyframe_property (line 504) | pub fn get_last_keyframe_property(&self) -> Option { type AnimationNode (line 545) | pub struct AnimationNode { function from (line 551) | fn from(node: &GltfNode) -> Self { type AnimationError (line 563) | pub enum AnimationError { type Animation (line 572) | pub struct Animation { method from_gltf (line 579) | pub fn from_gltf( method length_in_seconds (line 642) | pub fn length_in_seconds(&self) -> f32 { method get_properties_at_time (line 650) | pub fn get_properties_at_time( method into_animator (line 669) | pub fn into_animator( method target_node_indices (line 676) | pub fn target_node_indices(&self) -> impl Iterator + '_ { type Animator (line 689) | pub struct Animator { method new (line 701) | pub fn new( method progress (line 716) | pub fn progress(&mut self, dt_seconds: f32) -> Result<(), Interpolatio... function gltf_simple_animation (line 773) | fn gltf_simple_animation() { FILE: crates/renderling/src/internal/cpu.rs function adapter (line 12) | pub async fn adapter( function device (line 45) | pub async fn device( function new_instance (line 80) | pub fn new_instance(backends: Option) -> wgpu::Instance { function new_windowed_adapter_device_queue (line 105) | pub async fn new_windowed_adapter_device_queue( function new_headless_device_queue_and_target (line 152) | pub async fn new_headless_device_queue_and_target( FILE: crates/renderling/src/lib.rs function capture_gpu_frame (line 258) | pub fn capture_gpu_frame( type BlockOnFuture (line 314) | pub trait BlockOnFuture { method block (line 318) | fn block(self) -> Self::Output; type Output (line 323) | type Output = ::Output; method block (line 325) | fn block(self) -> Self::Output { function init_logging (line 347) | fn init_logging() { function capture_gpu_frame (line 353) | pub fn capture_gpu_frame( function make_two_directional_light_setup (line 362) | pub fn make_two_directional_light_setup(stage: &Stage) -> (AnalyticalLig... function sanity_transmute (line 377) | fn sanity_transmute() { function right_tri_vertices (line 394) | pub fn right_tri_vertices() -> Vec { function cmy_triangle_sanity (line 410) | fn cmy_triangle_sanity() { function cmy_triangle_backface (line 449) | fn cmy_triangle_backface() { function cmy_triangle_update_transform (line 479) | fn cmy_triangle_update_transform() { function pyramid_points (line 510) | fn pyramid_points() -> [Vec3; 5] { function pyramid_indices (line 519) | fn pyramid_indices() -> [u16; 18] { function cmy_gpu_vertex (line 526) | fn cmy_gpu_vertex(p: Vec3) -> Vertex { function gpu_cube_vertices (line 535) | pub fn gpu_cube_vertices() -> Vec { function cmy_cube_sanity (line 544) | fn cmy_cube_sanity() { function cmy_cube_indices (line 570) | fn cmy_cube_indices() { function cmy_cube_visible (line 606) | fn cmy_cube_visible() { function cmy_cube_remesh (line 667) | fn cmy_cube_remesh() { function gpu_uv_unit_cube (line 710) | fn gpu_uv_unit_cube() -> Vec { function unlit_textured_cube_material (line 759) | fn unlit_textured_cube_material() { function multi_node_scene (line 815) | fn multi_node_scene() { function scene_cube_directional (line 877) | fn scene_cube_directional() { function square_scale_norm_check (line 935) | fn square_scale_norm_check() { function scene_parent_sanity (line 966) | fn scene_parent_sanity() { function camera_position_from_view_matrix (line 1045) | fn camera_position_from_view_matrix() { function can_resize_context_and_stage (line 1053) | fn can_resize_context_and_stage() { function can_direct_draw_cube (line 1094) | fn can_direct_draw_cube() { FILE: crates/renderling/src/light.rs function position_direction_sanity (line 113) | fn position_direction_sanity() { function clip_space_bounds_sanity (line 155) | fn clip_space_bounds_sanity() { function finding_orthogonal_vectors_sanity (line 179) | fn finding_orthogonal_vectors_sanity() { function next_light_sanity (line 204) | fn next_light_sanity() { function frag_coord_to_tile_index (line 253) | fn frag_coord_to_tile_index() { FILE: crates/renderling/src/light/cpu.rs type LightingError (line 33) | pub enum LightingError { method from (line 42) | fn from(source: AtlasError) -> Self { type IsLight (line 48) | pub trait IsLight: Clone { method style (line 50) | fn style(&self) -> LightStyle; method light_space_transforms (line 52) | fn light_space_transforms( method style (line 77) | fn style(&self) -> LightStyle { method light_space_transforms (line 81) | fn light_space_transforms( method style (line 189) | fn style(&self) -> LightStyle { method light_space_transforms (line 193) | fn light_space_transforms( method style (line 304) | fn style(&self) -> LightStyle { method light_space_transforms (line 308) | fn light_space_transforms( method style (line 508) | fn style(&self) -> LightStyle { method light_space_transforms (line 516) | fn light_space_transforms( method style (line 583) | fn style(&self) -> LightStyle { method light_space_transforms (line 587) | fn light_space_transforms( type DirectionalLight (line 72) | pub struct DirectionalLight { method id (line 99) | pub fn id(&self) -> Id { method descriptor (line 104) | pub fn descriptor(&self) -> DirectionalLightDescriptor { function set_direction (line 114) | pub fn set_direction(&self, direction: Vec3) -> &Self { function with_direction (line 120) | pub fn with_direction(self, direction: Vec3) -> Self { function modify_direction (line 126) | pub fn modify_direction(&self, f: impl FnOnce(&mut Vec3) -> ... function direction (line 131) | pub fn direction(&self) -> Vec3 { function set_color (line 136) | pub fn set_color(&self, color: Vec4) -> &Self { function with_color (line 142) | pub fn with_color(self, color: Vec4) -> Self { function modify_color (line 148) | pub fn modify_color(&self, f: impl FnOnce(&mut Vec4) -> T) -... function color (line 153) | pub fn color(&self) -> Vec4 { function set_intensity (line 158) | pub fn set_intensity(&self, intensity: Lux) -> &Self { function with_intensity (line 164) | pub fn with_intensity(self, intensity: Lux) -> Self { function modify_intensity (line 170) | pub fn modify_intensity(&self, f: impl FnOnce(&mut Lux) -> T... function intensity (line 175) | pub fn intensity(&self) -> Lux { type PointLight (line 184) | pub struct PointLight { method id (line 213) | pub fn id(&self) -> Id { method descriptor (line 218) | pub fn descriptor(&self) -> PointLightDescriptor { function set_position (line 229) | pub fn set_position(&self, position: Vec3) -> &Self { function with_position (line 235) | pub fn with_position(self, position: Vec3) -> Self { function modify_position (line 241) | pub fn modify_position(&self, f: impl FnOnce(&mut Vec3) -> T... function position (line 246) | pub fn position(&self) -> Vec3 { function set_color (line 251) | pub fn set_color(&self, color: Vec4) -> &Self { function with_color (line 257) | pub fn with_color(self, color: Vec4) -> Self { function modify_color (line 263) | pub fn modify_color(&self, f: impl FnOnce(&mut Vec4) -> T) -... function color (line 268) | pub fn color(&self) -> Vec4 { function set_intensity (line 273) | pub fn set_intensity(&self, intensity: Candela) -> &Self { function with_intensity (line 279) | pub fn with_intensity(self, intensity: Candela) -> Self { function modify_intensity (line 285) | pub fn modify_intensity(&self, f: impl FnOnce(&mut Candela) ... function intensity (line 290) | pub fn intensity(&self) -> Candela { type SpotLight (line 299) | pub struct SpotLight { method id (line 330) | pub fn id(&self) -> Id { method descriptor (line 335) | pub fn descriptor(&self) -> SpotLightDescriptor { function set_position (line 346) | pub fn set_position(&self, position: Vec3) -> &Self { function with_position (line 352) | pub fn with_position(self, position: Vec3) -> Self { function modify_position (line 358) | pub fn modify_position(&self, f: impl FnOnce(&mut Vec3) -> T... function position (line 363) | pub fn position(&self) -> Vec3 { function set_direction (line 368) | pub fn set_direction(&self, direction: Vec3) -> &Self { function with_direction (line 374) | pub fn with_direction(self, direction: Vec3) -> Self { function modify_direction (line 380) | pub fn modify_direction(&self, f: impl FnOnce(&mut Vec3) -> ... function direction (line 385) | pub fn direction(&self) -> Vec3 { function set_inner_cutoff (line 390) | pub fn set_inner_cutoff(&self, inner_cutoff: f32) -> &Self { function with_inner_cutoff (line 398) | pub fn with_inner_cutoff(self, inner_cutoff: f32) -> Self { function modify_inner_cutoff (line 404) | pub fn modify_inner_cutoff(&self, f: impl FnOnce(&mut f32) -... function inner_cutoff (line 409) | pub fn inner_cutoff(&self) -> f32 { function set_outer_cutoff (line 414) | pub fn set_outer_cutoff(&self, outer_cutoff: f32) -> &Self { function with_outer_cutoff (line 422) | pub fn with_outer_cutoff(self, outer_cutoff: f32) -> Self { function modify_outer_cutoff (line 428) | pub fn modify_outer_cutoff(&self, f: impl FnOnce(&mut f32) -... function outer_cutoff (line 433) | pub fn outer_cutoff(&self) -> f32 { function set_color (line 438) | pub fn set_color(&self, color: Vec4) -> &Self { function with_color (line 444) | pub fn with_color(self, color: Vec4) -> Self { function modify_color (line 450) | pub fn modify_color(&self, f: impl FnOnce(&mut Vec4) -> T) -... function color (line 455) | pub fn color(&self) -> Vec4 { function set_intensity (line 460) | pub fn set_intensity(&self, intensity: Candela) -> &Self { function with_intensity (line 466) | pub fn with_intensity(self, intensity: Candela) -> Self { function modify_intensity (line 472) | pub fn modify_intensity(&self, f: impl FnOnce(&mut Candela) ... function intensity (line 477) | pub fn intensity(&self) -> Candela { type Light (line 483) | pub enum Light { method from (line 490) | fn from(light: DirectionalLight) -> Self { method from (line 496) | fn from(light: PointLight) -> Self { method from (line 502) | fn from(light: SpotLight) -> Self { type AnalyticalLight (line 549) | pub struct AnalyticalLight { method as_directional (line 609) | pub fn as_directional(&self) -> Option<&DirectionalLight> { method as_point (line 618) | pub fn as_point(&self) -> Option<&PointLight> { method as_spot (line 627) | pub fn as_spot(&self) -> Option<&SpotLight> { function fmt (line 568) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { function id (line 637) | pub fn id(&self) -> Id { function descriptor (line 642) | pub fn descriptor(&self) -> LightDescriptor { function link_node_transform (line 647) | pub fn link_node_transform(&self, transform: &NestedTransform) { function inner (line 655) | pub fn inner(&self) -> &T { function transform (line 668) | pub fn transform(&self) -> &Transform { function linked_node_transform (line 678) | pub fn linked_node_transform(&self) -> Option { function into_generic (line 690) | pub fn into_generic(self) -> AnalyticalLight type Lighting (line 712) | pub struct Lighting { method create_shadow_map_atlas (line 767) | fn create_shadow_map_atlas( method new (line 784) | pub fn new(atlas_size: wgpu::Extent3d, geometry: &Geometry) -> Self { method slab_allocator (line 813) | pub fn slab_allocator(&self) -> &SlabAllocator { method add_light (line 827) | pub fn add_light(&self, bundle: &AnalyticalLight) method remove_light (line 855) | pub fn remove_light(&self, bundle: &AnalyticalLight) { method lights (line 876) | pub fn lights(&self) -> Vec { method new_directional_light (line 886) | pub fn new_directional_light(&self) -> AnalyticalLight AnalyticalLight { method new_spot_light (line 934) | pub fn new_spot_light(&self) -> AnalyticalLight { method set_ambient_color (line 961) | pub fn set_ambient_color(&self, color: Vec4) { method ambient_color (line 966) | pub fn ambient_color(&self) -> Vec4 { method new_shadow_map (line 972) | pub fn new_shadow_map( method commit (line 994) | pub fn commit(&self) -> SlabBuffer { type LightingBindGroupLayoutEntries (line 726) | pub struct LightingBindGroupLayoutEntries { method new (line 733) | pub fn new(starting_binding: u32) -> Self { FILE: crates/renderling/src/light/cpu/test.rs function spot_one_calc (line 26) | fn spot_one_calc() { function spot_one_frame (line 86) | fn spot_one_frame() { function spot_lights (line 116) | fn spot_lights() { function light_tiling_light_bounds (line 149) | fn light_tiling_light_bounds() { function gen_vec3 (line 223) | fn gen_vec3(prng: &mut GpuRng) -> Vec3 { type GeneratedLight (line 230) | struct GeneratedLight { function gen_light (line 236) | fn gen_light(stage: &Stage, prng: &mut GpuRng, bounding_boxes: &[Boundin... function size (line 292) | fn size() -> UVec2 { function make_camera (line 299) | fn make_camera(stage: &Stage) -> Camera { function clear_tiles_sanity (line 317) | fn clear_tiles_sanity() { function min_max_depth_sanity (line 390) | fn min_max_depth_sanity() { function light_bins_sanity (line 443) | fn light_bins_sanity() { function light_bins_point (line 516) | fn light_bins_point() { function tiling_e2e_sanity_with (line 572) | fn tiling_e2e_sanity_with( function tiling_e2e_sanity (line 728) | fn tiling_e2e_sanity() { function snapshot (line 760) | fn snapshot(ctx: &crate::context::Context, stage: &Stage, path: &str, sa... function ambient_light (line 778) | fn ambient_light() { constant MAX_LIGHTS (line 834) | const MAX_LIGHTS: usize = 2usize.pow(10); type LightTilingStatsRun (line 848) | pub struct LightTilingStatsRun { method avg_frame_time (line 854) | fn avg_frame_time(&self, with_tiling: bool) -> f32 { type LightTilingStats (line 871) | pub struct LightTilingStats { function plot (line 875) | pub fn plot(stats: LightTilingStats, filename: &str) { function pedestal (line 986) | fn pedestal() { FILE: crates/renderling/src/light/shader.rs type LightingDescriptor (line 40) | pub struct LightingDescriptor { type ShadowMapDescriptor (line 66) | pub struct ShadowMapDescriptor { method default (line 84) | fn default() -> Self { type ShadowMappingVertexInfo (line 99) | pub struct ShadowMappingVertexInfo { function shadow_mapping_vertex (line 125) | pub fn shadow_mapping_vertex( function shadow_mapping_fragment (line 176) | pub fn shadow_mapping_fragment(clip_pos: Vec4, frag_color: &mut Vec4) { type SpotLightCalculation (line 186) | pub struct SpotLightCalculation { method new (line 232) | pub fn new( type SpotLightDescriptor (line 286) | pub struct SpotLightDescriptor { method shadow_mapping_projection_and_view (line 318) | pub fn shadow_mapping_projection_and_view( method default (line 298) | fn default() -> Self { type Candela (line 347) | pub struct Candela(pub f32); method fmt (line 350) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { constant COMMON_WAX_CANDLE (line 361) | pub const COMMON_WAX_CANDLE: Self = Candela(1.0); type Lux (line 374) | pub struct Lux(pub f32); method fmt (line 377) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { constant OUTDOOR_TWILIGHT (line 384) | pub const OUTDOOR_TWILIGHT: Self = Lux(1.0); constant OUTDOOR_STREET_LIGHT_MIN (line 385) | pub const OUTDOOR_STREET_LIGHT_MIN: Self = Lux(5.0); constant OUTDOOR_SUNSET (line 386) | pub const OUTDOOR_SUNSET: Self = Lux(10.0); constant INDOOR_LOUNGE (line 387) | pub const INDOOR_LOUNGE: Self = Lux(50.0); constant INDOOR_HALLWAY (line 388) | pub const INDOOR_HALLWAY: Self = Lux(80.0); constant OUTDOOR_OVERCAST_LOW (line 389) | pub const OUTDOOR_OVERCAST_LOW: Self = Lux(100.0); constant INDOOR_OFFICE_LOW (line 390) | pub const INDOOR_OFFICE_LOW: Self = Lux(320.0); constant OUTDOOR_SUNRISE_OR_SUNSET (line 391) | pub const OUTDOOR_SUNRISE_OR_SUNSET: Self = Lux(400.0); constant INDOOR_OFFICE_HIGH (line 392) | pub const INDOOR_OFFICE_HIGH: Self = Lux(500.0); constant OUTDOOR_OVERCAST_HIGH (line 393) | pub const OUTDOOR_OVERCAST_HIGH: Self = Lux(1000.0); constant OUTDOOR_FOXS_WEDDING (line 394) | pub const OUTDOOR_FOXS_WEDDING: Self = Lux(3000.0); constant OUTDOOR_FULL_DAYLIGHT_LOW (line 395) | pub const OUTDOOR_FULL_DAYLIGHT_LOW: Self = Lux(10_000.0); constant OUTDOOR_FULL_DAYLIGHT_HIGH (line 396) | pub const OUTDOOR_FULL_DAYLIGHT_HIGH: Self = Lux(25_000.0); constant OUTDOOR_DIRECT_SUNLIGHT_LOW (line 397) | pub const OUTDOOR_DIRECT_SUNLIGHT_LOW: Self = Lux(32_000.0); constant OUTDOOR_DIRECT_SUNLIGHT_HIGH (line 398) | pub const OUTDOOR_DIRECT_SUNLIGHT_HIGH: Self = Lux(130_000.0); type DirectionalLightDescriptor (line 403) | pub struct DirectionalLightDescriptor { method shadow_mapping_projection_and_view (line 425) | pub fn shadow_mapping_projection_and_view( method default (line 411) | fn default() -> Self { type PointLightDescriptor (line 456) | pub struct PointLightDescriptor { method shadow_mapping_view_matrix (line 479) | pub fn shadow_mapping_view_matrix( method shadow_mapping_projection_matrix (line 490) | pub fn shadow_mapping_projection_matrix(z_near: f32, z_far: f32) -> Ma... method shadow_mapping_projection_and_view_matrices (line 494) | pub fn shadow_mapping_projection_and_view_matrices( method default (line 466) | fn default() -> Self { function radius_of_illumination (line 522) | pub fn radius_of_illumination(intensity_candelas: f32, minimum_illuminan... type LightStyle (line 528) | pub enum LightStyle { method fmt (line 535) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { constant SLAB_SIZE (line 545) | const SLAB_SIZE: usize = { 1 }; method read_slab (line 547) | fn read_slab(index: usize, slab: &[u32]) -> Self { method write_slab (line 557) | fn write_slab(&self, index: usize, slab: &mut [u32]) -> usize { type LightDescriptor (line 567) | pub struct LightDescriptor { method from (line 597) | fn from(id: Id) -> Self { method from (line 608) | fn from(id: Id) -> Self { method from (line 619) | fn from(id: Id) -> Self { method into_directional_id (line 630) | pub fn into_directional_id(self) -> Id { method into_spot_id (line 634) | pub fn into_spot_id(self) -> Id { method into_point_id (line 638) | pub fn into_point_id(self) -> Id { method default (line 586) | fn default() -> Self { type ShadowCalculation (line 646) | pub struct ShadowCalculation { method new (line 660) | pub fn new( method get_atlas_texture_at (line 689) | fn get_atlas_texture_at(&self, light_slab: &[u32], index: usize) -> At... method get_frag_pos_in_light_space (line 695) | fn get_frag_pos_in_light_space(&self, light_slab: &[u32], index: usize... method run_directional_or_spot (line 705) | pub fn run_directional_or_spot( constant POINT_SAMPLE_OFFSET_DIRECTIONS (line 782) | pub const POINT_SAMPLE_OFFSET_DIRECTIONS: [Vec3; 21] = [ method run_point (line 809) | pub fn run_point( function light_tiling_depth_pre_pass (line 877) | pub fn light_tiling_depth_pre_pass( type DepthImage2d (line 903) | pub type DepthImage2d = Image!(2D, type=f32, sampled, depth); type DepthImage2dMultisampled (line 905) | pub type DepthImage2dMultisampled = Image!(2D, type=f32, sampled, depth,... type LightTile (line 910) | pub struct LightTile { method fmt (line 924) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { type LightTilingDescriptor (line 937) | pub struct LightTilingDescriptor { method tile_grid_size (line 963) | pub fn tile_grid_size(&self) -> UVec2 { method tile_coord_for_fragment (line 968) | pub fn tile_coord_for_fragment(&self, frag_coord: Vec2) -> UVec2 { method tile_index_for_fragment (line 973) | pub fn tile_index_for_fragment(&self, frag_coord: Vec2) -> usize { method default (line 951) | fn default() -> Self { function quantize_depth_f32_to_u32 (line 981) | pub fn quantize_depth_f32_to_u32(depth: f32) -> u32 { function dequantize_depth_u32_to_f32 (line 986) | pub fn dequantize_depth_u32_to_f32(depth: u32) -> f32 { type NextLightIndex (line 992) | pub(crate) struct NextLightIndex { method new (line 1014) | pub fn new( method next_index (line 1027) | pub fn next_index(&self) -> usize { type Item (line 1000) | type Item = Id>; method next (line 1002) | fn next(&mut self) -> Option { type LightTilingInvocation (line 1037) | struct LightTilingInvocation { method new (line 1043) | fn new(global_id: UVec3, descriptor: LightTilingDescriptor) -> Self { method frag_pos (line 1053) | fn frag_pos(&self) -> UVec2 { method tile_grid_size (line 1058) | fn tile_grid_size(&self) -> UVec2 { method tile_coord (line 1065) | fn tile_coord(&self) -> UVec2 { method tile_index (line 1070) | fn tile_index(&self) -> usize { method tile_ndc_midpoint (line 1077) | fn tile_ndc_midpoint(&self) -> Vec2 { method compute_min_and_max_depth (line 1087) | fn compute_min_and_max_depth( method should_invoke (line 1126) | fn should_invoke(&self) -> bool { method clear_tile (line 1135) | fn clear_tile(&self, lighting_slab: &mut [u32]) { method compute_light_lists (line 1156) | fn compute_light_lists(&self, geometry_slab: &[u32], lighting_slab: &m... function light_tiling_clear_tiles (line 1272) | pub fn light_tiling_clear_tiles( function light_tiling_compute_tile_min_and_max_depth (line 1287) | pub fn light_tiling_compute_tile_min_and_max_depth( function light_tiling_compute_tile_min_and_max_depth_multisampled (line 1303) | pub fn light_tiling_compute_tile_min_and_max_depth_multisampled( function light_tiling_bin_lights (line 1316) | pub fn light_tiling_bin_lights( FILE: crates/renderling/src/light/shadow_map.rs type ShadowMap (line 35) | pub struct ShadowMap { constant LABEL (line 57) | const LABEL: Option<&str> = Some("shadow-map"); method create_update_bindgroup_layout (line 59) | pub fn create_update_bindgroup_layout(device: &wgpu::Device) -> wgpu::... method create_update_pipeline (line 87) | pub fn create_update_pipeline( method create_update_bindgroup (line 131) | fn create_update_bindgroup( method descriptor_id (line 158) | pub fn descriptor_id(&self) -> Id { method descriptor_lock (line 165) | pub fn descriptor_lock(&self) -> HybridWriteGuard<'_, ShadowMapDescrip... method new (line 171) | pub fn new( method update (line 268) | pub fn update<'a>( function shadow_mapping_just_cuboid (line 401) | fn shadow_mapping_just_cuboid() { function shadow_mapping_just_cuboid_red_and_blue (line 456) | fn shadow_mapping_just_cuboid_red_and_blue() { function shadow_mapping_sanity (line 509) | fn shadow_mapping_sanity() { function shadow_mapping_spot_lights (line 597) | fn shadow_mapping_spot_lights() { function shadow_mapping_point_lights (line 663) | fn shadow_mapping_point_lights() { FILE: crates/renderling/src/light/tiling.rs type LightTiling (line 43) | pub struct LightTiling { method new (line 512) | pub fn new( constant LABEL (line 62) | const LABEL: Option<&'static str> = Some("light-tiling"); function create_bindgroup_layout (line 65) | fn create_bindgroup_layout(device: &wgpu::Device, multisampled: bool) ->... function create_clear_tiles_pipeline (line 106) | fn create_clear_tiles_pipeline( function create_compute_min_max_depth_pipeline (line 123) | fn create_compute_min_max_depth_pipeline( function create_compute_bins_pipeline (line 140) | fn create_compute_bins_pipeline( function create_layouts (line 158) | fn create_layouts( function prepare (line 171) | pub(crate) fn prepare(&self, lighting: &Lighting, depth_texture_size: UV... function clear_tiles (line 180) | pub(crate) fn clear_tiles( constant WORKGROUP_SIZE (line 202) | const WORKGROUP_SIZE: UVec3 = UVec3::new(16, 16, 1); function compute_min_max_depth (line 204) | pub(crate) fn compute_min_max_depth( function compute_bins (line 223) | pub(crate) fn compute_bins( function get_bindgroup (line 244) | pub fn get_bindgroup( function set_minimum_illuminance (line 288) | pub fn set_minimum_illuminance(&self, minimum_illuminance_lux: f32) { function run (line 295) | pub fn run(&self, stage: &Stage) { function tiles (line 323) | pub fn tiles(&self) -> &Ct::Container { function read_tiles (line 329) | pub(crate) async fn read_tiles(&self, lighting: &Lighting) -> Vec Self { function new_hybrid (line 443) | pub(crate) fn new_hybrid( FILE: crates/renderling/src/linkage.rs type ShaderLinkage (line 60) | pub struct ShaderLinkage { function validate_shaders (line 73) | fn validate_shaders() { FILE: crates/renderling/src/linkage/atlas_blit_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "atlas::shader::atlas_blit_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "atlasshaderatlas_blit_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/atlas_blit_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "atlas::shader::atlas_blit_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "atlasshaderatlas_blit_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/bloom_downsample_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "bloom::shader::bloom_downsample_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "bloomshaderbloom_downsample_fragment"; function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 35) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/bloom_mix_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "bloom::shader::bloom_mix_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "bloomshaderbloom_mix_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/bloom_upsample_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "bloom::shader::bloom_upsample_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "bloomshaderbloom_upsample_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/bloom_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "bloom::shader::bloom_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "bloomshaderbloom_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/brdf_lut_convolution_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "convolution::shader::brdf_lut_convolution... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "convolutionshaderbrdf_lut_convolution_fra... function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 38) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/brdf_lut_convolution_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "convolution::shader::brdf_lut_convolution... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "convolutionshaderbrdf_lut_convolution_ver... function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 35) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/compositor_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "compositor::compositor_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "compositorcompositor_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/compositor_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "compositor::compositor_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "compositorcompositor_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/compute_copy_depth_to_pyramid.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "cull::shader::compute_copy_depth_to_pyram... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "cullshadercompute_copy_depth_to_pyramid"; function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 38) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/compute_copy_depth_to_pyramid_multisampled.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "cull::shader::compute_copy_depth_to_pyram... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 12) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 25) | pub const ENTRY_POINT: &str = "cullshadercompute_copy_depth_to_pyramid_m... function descriptor (line 26) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 31) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 42) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/compute_culling.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "cull::shader::compute_culling"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "cullshadercompute_culling"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/compute_downsample_depth_pyramid.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "cull::shader::compute_downsample_depth_py... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "cullshadercompute_downsample_depth_pyramid"; function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 38) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/cubemap_sampling_test_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "cubemap::shader::cubemap_sampling_test_fr... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "cubemapshadercubemap_sampling_test_fragme... function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 38) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/cubemap_sampling_test_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "cubemap::shader::cubemap_sampling_test_ve... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "cubemapshadercubemap_sampling_test_vertex"; function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 38) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/debug_overlay_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "debug::shader::debug_overlay_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "debugshaderdebug_overlay_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/debug_overlay_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "debug::shader::debug_overlay_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "debugshaderdebug_overlay_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/di_convolution_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "pbr::ibl::shader::di_convolution_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "pbriblshaderdi_convolution_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/generate_mipmap_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "convolution::shader::generate_mipmap_frag... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "convolutionshadergenerate_mipmap_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/generate_mipmap_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "convolution::shader::generate_mipmap_vert... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "convolutionshadergenerate_mipmap_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/implicit_isosceles_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "tutorial::implicit_isosceles_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "tutorialimplicit_isosceles_vertex"; function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 35) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/light_tiling_bin_lights.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "light::shader::light_tiling_bin_lights"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "lightshaderlight_tiling_bin_lights"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/light_tiling_clear_tiles.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "light::shader::light_tiling_clear_tiles"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "lightshaderlight_tiling_clear_tiles"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/light_tiling_compute_tile_min_and_max_depth.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "light::shader::light_tiling_compute_tile_... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 12) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 25) | pub const ENTRY_POINT: &str = "lightshaderlight_tiling_compute_tile_min_... function descriptor (line 26) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 31) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 42) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/light_tiling_compute_tile_min_and_max_depth_multisampled.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = function descriptor (line 8) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 14) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 27) | pub const ENTRY_POINT: &str = function descriptor (line 29) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 35) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 46) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/light_tiling_depth_pre_pass.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "light::shader::light_tiling_depth_pre_pass"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "lightshaderlight_tiling_depth_pre_pass"; function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 35) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/passthru_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "tutorial::passthru_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "tutorialpassthru_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/prefilter_environment_cubemap_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "convolution::shader::prefilter_environmen... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 12) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 25) | pub const ENTRY_POINT: &str = "convolutionshaderprefilter_environment_cu... function descriptor (line 26) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 31) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 42) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/prefilter_environment_cubemap_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "convolution::shader::prefilter_environmen... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 12) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 25) | pub const ENTRY_POINT: &str = "convolutionshaderprefilter_environment_cu... function descriptor (line 26) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 31) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 42) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/primitive_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "primitive::shader::primitive_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "primitiveshaderprimitive_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/primitive_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "primitive::shader::primitive_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "primitiveshaderprimitive_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/shadow_mapping_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "light::shader::shadow_mapping_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "lightshadershadow_mapping_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/shadow_mapping_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "light::shader::shadow_mapping_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "lightshadershadow_mapping_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/skybox_cubemap_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "skybox::shader::skybox_cubemap_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "skyboxshaderskybox_cubemap_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/skybox_cubemap_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "skybox::shader::skybox_cubemap_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "skyboxshaderskybox_cubemap_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/skybox_equirectangular_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "skybox::shader::skybox_equirectangular_fr... function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "skyboxshaderskybox_equirectangular_fragme... function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 38) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/skybox_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "skybox::shader::skybox_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "skyboxshaderskybox_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/slabbed_renderlet.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "tutorial::slabbed_renderlet"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "tutorialslabbed_renderlet"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/slabbed_vertices.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "tutorial::slabbed_vertices"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "tutorialslabbed_vertices"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/slabbed_vertices_no_instance.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "tutorial::slabbed_vertices_no_instance"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 23) | pub const ENTRY_POINT: &str = "tutorialslabbed_vertices_no_instance"; function descriptor (line 24) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 27) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 38) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/tonemapping_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "tonemapping::tonemapping_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "tonemappingtonemapping_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/tonemapping_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "tonemapping::tonemapping_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "tonemappingtonemapping_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/ui_fragment.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "ui_slab::shader::ui_fragment"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "ui_slabshaderui_fragment"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/linkage/ui_vertex.rs constant ENTRY_POINT (line 6) | pub const ENTRY_POINT: &str = "ui_slab::shader::ui_vertex"; function descriptor (line 7) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 10) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { constant ENTRY_POINT (line 20) | pub const ENTRY_POINT: &str = "ui_slabshaderui_vertex"; function descriptor (line 21) | pub fn descriptor() -> wgpu::ShaderModuleDescriptor<'static> { function linkage (line 24) | pub fn linkage(device: &wgpu::Device) -> super::ShaderLinkage { function linkage (line 32) | pub fn linkage(device: &wgpu::Device) -> ShaderLinkage { FILE: crates/renderling/src/material.rs type MaterialDescriptor (line 19) | pub struct MaterialDescriptor { method default (line 43) | fn default() -> Self { FILE: crates/renderling/src/material/cpu.rs type Materials (line 21) | pub struct Materials { method as_ref (line 28) | fn as_ref(&self) -> &WgpuRuntime { method new (line 41) | pub fn new(runtime: impl AsRef, atlas_size: wgpu::Extent3... method runtime (line 60) | pub fn runtime(&self) -> &WgpuRuntime { method slab_allocator (line 65) | pub fn slab_allocator(&self) -> &SlabAllocator { method atlas (line 70) | pub fn atlas(&self) -> &Atlas { method default_material (line 75) | pub fn default_material(&self) -> &Material { method commit (line 83) | pub fn commit(&self) -> (bool, SlabBuffer) { method new_material (line 89) | pub fn new_material(&self) -> Material { type Material (line 119) | pub struct Material { method from (line 130) | fn from(value: &Material) -> Self { method id (line 137) | pub fn id(&self) -> Id { method descriptor (line 142) | pub fn descriptor(&self) -> MaterialDescriptor { method set_emissive_factor (line 151) | pub fn set_emissive_factor(&self, param: Vec3) -> &Self { method with_emissive_factor (line 160) | pub fn with_emissive_factor(self, param: Vec3) -> Self { method set_emissive_strength_multiplier (line 169) | pub fn set_emissive_strength_multiplier(&self, param: f32) -> &Self { method with_emissive_strength_multiplier (line 179) | pub fn with_emissive_strength_multiplier(self, param: f32) -> Self { method set_albedo_factor (line 188) | pub fn set_albedo_factor(&self, param: Vec4) -> &Self { method with_albedo_factor (line 197) | pub fn with_albedo_factor(self, param: Vec4) -> Self { method set_metallic_factor (line 206) | pub fn set_metallic_factor(&self, param: f32) -> &Self { method with_metallic_factor (line 215) | pub fn with_metallic_factor(self, param: f32) -> Self { method set_roughness_factor (line 224) | pub fn set_roughness_factor(&self, param: f32) -> &Self { method with_roughness_factor (line 233) | pub fn with_roughness_factor(self, param: f32) -> Self { method set_albedo_tex_coord (line 242) | pub fn set_albedo_tex_coord(&self, param: u32) -> &Self { method with_albedo_tex_coord (line 251) | pub fn with_albedo_tex_coord(self, param: u32) -> Self { method set_metallic_roughness_tex_coord (line 260) | pub fn set_metallic_roughness_tex_coord(&self, param: u32) -> &Self { method with_metallic_roughness_tex_coord (line 270) | pub fn with_metallic_roughness_tex_coord(self, param: u32) -> Self { method set_normal_tex_coord (line 279) | pub fn set_normal_tex_coord(&self, param: u32) -> &Self { method with_normal_tex_coord (line 288) | pub fn with_normal_tex_coord(self, param: u32) -> Self { method set_ambient_occlusion_tex_coord (line 297) | pub fn set_ambient_occlusion_tex_coord(&self, param: u32) -> &Self { method with_ambient_occlusion_tex_coord (line 306) | pub fn with_ambient_occlusion_tex_coord(self, param: u32) -> Self { method set_emissive_tex_coord (line 315) | pub fn set_emissive_tex_coord(&self, param: u32) -> &Self { method with_emissive_tex_coord (line 324) | pub fn with_emissive_tex_coord(self, param: u32) -> Self { method set_has_lighting (line 333) | pub fn set_has_lighting(&self, param: bool) -> &Self { method with_has_lighting (line 342) | pub fn with_has_lighting(self, param: bool) -> Self { method set_ambient_occlusion_strength (line 351) | pub fn set_ambient_occlusion_strength(&self, param: f32) -> &Self { method with_ambient_occlusion_strength (line 360) | pub fn with_ambient_occlusion_strength(self, param: f32) -> Self { method remove_albedo_texture (line 369) | pub fn remove_albedo_texture(&self) { method set_albedo_texture (line 378) | pub fn set_albedo_texture(&self, texture: &AtlasTexture) -> &Self { method with_albedo_texture (line 386) | pub fn with_albedo_texture(self, texture: &AtlasTexture) -> Self { method remove_metallic_roughness_texture (line 397) | pub fn remove_metallic_roughness_texture(&self) { method set_metallic_roughness_texture (line 411) | pub fn set_metallic_roughness_texture(&self, texture: &AtlasTexture) -... method with_metallic_roughness_texture (line 426) | pub fn with_metallic_roughness_texture(self, texture: &AtlasTexture) -... method remove_normal_texture (line 435) | pub fn remove_normal_texture(&self) { method set_normal_texture (line 448) | pub fn set_normal_texture(&self, texture: &AtlasTexture) -> &Self { method with_normal_texture (line 463) | pub fn with_normal_texture(self, texture: &AtlasTexture) -> Self { method remove_ambient_occlusion_texture (line 472) | pub fn remove_ambient_occlusion_texture(&self) { method set_ambient_occlusion_texture (line 482) | pub fn set_ambient_occlusion_texture(&self, texture: &AtlasTexture) ->... method with_ambient_occlusion_texture (line 493) | pub fn with_ambient_occlusion_texture(self, texture: &AtlasTexture) ->... method remove_emissive_texture (line 502) | pub fn remove_emissive_texture(&self) { method set_emissive_texture (line 515) | pub fn set_emissive_texture(&self, texture: &AtlasTexture) -> &Self { method with_emissive_texture (line 527) | pub fn with_emissive_texture(self, texture: &AtlasTexture) -> Self { FILE: crates/renderling/src/math.rs type Fetch (line 17) | pub trait Fetch { method fetch (line 20) | fn fetch(&self, coords: Coords) -> Self::Output; type Output (line 24) | type Output = Vec4; function fetch (line 26) | fn fetch(&self, coords: UVec2) -> Self::Output { type Output (line 32) | type Output = Vec4; function fetch (line 34) | fn fetch(&self, coords: UVec2) -> Self::Output { type IsSampler (line 42) | pub trait IsSampler: Copy + Clone {} type Sample2d (line 48) | pub trait Sample2d { method sample_by_lod (line 51) | fn sample_by_lod(&self, sampler: Self::Sampler, uv: glam::Vec2, lod: f... type Sampler (line 55) | type Sampler = Sampler; method sample_by_lod (line 57) | fn sample_by_lod(&self, sampler: Self::Sampler, uv: glam::Vec2, lod: f... type Sampler (line 63) | type Sampler = Sampler; method sample_by_lod (line 65) | fn sample_by_lod(&self, sampler: Self::Sampler, uv: glam::Vec2, lod: f... type Sampler (line 124) | type Sampler = (); method sample_by_lod (line 126) | fn sample_by_lod(&self, _sampler: Self::Sampler, _uv: glam::Vec2, _lod... type Sampler (line 188) | type Sampler = (); method sample_by_lod (line 190) | fn sample_by_lod(&self, _sampler: Self::Sampler, uv: glam::Vec2, _lod:... type Sample2dArray (line 70) | pub trait Sample2dArray { method sample_by_lod (line 73) | fn sample_by_lod(&self, sampler: Self::Sampler, uv: glam::Vec3, lod: f... type Sampler (line 77) | type Sampler = Sampler; method sample_by_lod (line 79) | fn sample_by_lod(&self, sampler: Self::Sampler, uv: glam::Vec3, lod: f... type Sampler (line 85) | type Sampler = Sampler; method sample_by_lod (line 87) | fn sample_by_lod(&self, sampler: Self::Sampler, uv: glam::Vec3, lod: f... type Sampler (line 132) | type Sampler = (); method sample_by_lod (line 134) | fn sample_by_lod(&self, _sampler: Self::Sampler, _uv: glam::Vec3, _lod... type Sampler (line 219) | type Sampler = (); method sample_by_lod (line 222) | fn sample_by_lod(&self, _sampler: Self::Sampler, uv: glam::Vec3, _lod:... type SampleCube (line 92) | pub trait SampleCube { method sample_by_lod (line 95) | fn sample_by_lod(&self, sampler: Self::Sampler, uv: Vec3, lod: f32) ->... type Sampler (line 99) | type Sampler = Sampler; method sample_by_lod (line 101) | fn sample_by_lod(&self, sampler: Self::Sampler, uv: Vec3, lod: f32) ->... type Sampler (line 140) | type Sampler = (); method sample_by_lod (line 142) | fn sample_by_lod(&self, _sampler: Self::Sampler, _uv: Vec3, _lod: f32)... type Sampler (line 243) | type Sampler = (); method sample_by_lod (line 245) | fn sample_by_lod( type ConstTexture (line 113) | pub struct ConstTexture(Vec4); type Output (line 116) | type Output = Vec4; method fetch (line 118) | fn fetch(&self, _coords: UVec2) -> Self::Output { method new (line 148) | pub fn new(value: Vec4) -> Self { type CpuTexture2d (line 154) | pub struct CpuTexture2d { function from_image (line 160) | pub fn from_image( type Output (line 173) | type Output = Vec4; function fetch (line 175) | fn fetch(&self, coords: UVec2) -> Self::Output { type CpuTexture2dArray (line 199) | pub struct CpuTexture2dArray { function from_images (line 205) | pub fn from_images( type CpuCubemap (line 238) | pub struct CpuCubemap { function scaled_u8_to_f32 (line 256) | pub fn scaled_u8_to_f32(u: u8) -> f32 { function luma_u8_to_vec4 (line 260) | pub fn luma_u8_to_vec4(p: &image::Luma) -> Vec4 { function scaled_f32_to_u8 (line 266) | pub fn scaled_f32_to_u8(f: f32) -> u8 { function scaled_u32_to_u8 (line 271) | pub fn scaled_u32_to_u8(u: u32) -> u8 { type IsVector (line 286) | pub trait IsVector { method alt_norm_or_zero (line 291) | fn alt_norm_or_zero(&self) -> Self; method signum_or_zero (line 294) | fn signum_or_zero(&self) -> Self; method dot2 (line 298) | fn dot2(&self) -> f32; method orthonormal_vectors (line 301) | fn orthonormal_vectors(&self) -> Self::OrthogonalVectors; type OrthogonalVectors (line 305) | type OrthogonalVectors = Vec2; method alt_norm_or_zero (line 307) | fn alt_norm_or_zero(&self) -> Self { method signum_or_zero (line 315) | fn signum_or_zero(&self) -> Self { method dot2 (line 319) | fn dot2(&self) -> f32 { method orthonormal_vectors (line 323) | fn orthonormal_vectors(&self) -> Self::OrthogonalVectors { type OrthogonalVectors (line 329) | type OrthogonalVectors = [Vec3; 2]; method alt_norm_or_zero (line 331) | fn alt_norm_or_zero(&self) -> Self { method signum_or_zero (line 339) | fn signum_or_zero(&self) -> Self { method dot2 (line 347) | fn dot2(&self) -> f32 { method orthonormal_vectors (line 351) | fn orthonormal_vectors(&self) -> Self::OrthogonalVectors { function distance_to_line (line 367) | pub fn distance_to_line(p: Vec3, a: Vec3, b: Vec3) -> f32 { type IsMatrix (line 385) | pub trait IsMatrix { method to_scale_rotation_translation_or_id (line 401) | fn to_scale_rotation_translation_or_id(&self) -> (glam::Vec3, glam::Qu... method to_scale_rotation_translation_or_id (line 472) | fn to_scale_rotation_translation_or_id(&self) -> (glam::Vec3, glam::Qu... function from_rotation_axes (line 408) | fn from_rotation_axes(x_axis: glam::Vec3, y_axis: glam::Vec3, z_axis: gl... function srt_id (line 466) | const fn srt_id() -> (Vec3, Quat, Vec3) { function signum_or_zero (line 509) | pub fn signum_or_zero(n: f32) -> f32 { function step_ge (line 516) | pub fn step_ge(value: f32, edge: f32) -> f32 { function step_le (line 523) | pub fn step_le(value: f32, edge: f32) -> f32 { function smoothstep (line 527) | pub fn smoothstep(edge_in: f32, edge_out: f32, mut x: f32) -> f32 { function triangle_face_normal (line 533) | pub fn triangle_face_normal(p1: Vec3, p2: Vec3, p3: Vec3) -> Vec3 { function hex_to_vec4 (line 547) | pub fn hex_to_vec4(color: u32) -> Vec4 { constant UNIT_QUAD_CCW (line 556) | pub const UNIT_QUAD_CCW: [Vec3; 6] = { constant CLIP_QUAD_CCW (line 564) | pub const CLIP_QUAD_CCW: [Vec3; 6] = { constant CLIP_SPACE_COORD_QUAD_CCW_TL (line 572) | pub const CLIP_SPACE_COORD_QUAD_CCW_TL: Vec4 = Vec4::new(-1.0, 1.0, 0.5,... constant CLIP_SPACE_COORD_QUAD_CCW_BL (line 573) | pub const CLIP_SPACE_COORD_QUAD_CCW_BL: Vec4 = Vec4::new(-1.0, -1.0, 0.5... constant CLIP_SPACE_COORD_QUAD_CCW_TR (line 574) | pub const CLIP_SPACE_COORD_QUAD_CCW_TR: Vec4 = Vec4::new(1.0, 1.0, 0.5, ... constant CLIP_SPACE_COORD_QUAD_CCW_BR (line 575) | pub const CLIP_SPACE_COORD_QUAD_CCW_BR: Vec4 = Vec4::new(1.0, -1.0, 0.5,... constant CLIP_SPACE_COORD_QUAD_CCW (line 577) | pub const CLIP_SPACE_COORD_QUAD_CCW: [Vec4; 6] = { constant UV_COORD_QUAD_CCW (line 588) | pub const UV_COORD_QUAD_CCW: [Vec2; 6] = { constant POINTS_2D_TEX_QUAD (line 596) | pub const POINTS_2D_TEX_QUAD: [Vec2; 6] = { constant UNIT_POINTS (line 611) | pub const UNIT_POINTS: [Vec3; 8] = { constant UNIT_INDICES (line 626) | pub const UNIT_INDICES: [usize; 36] = [ function unit_cube (line 636) | pub fn unit_cube() -> Vec<(Vec3, Vec3)> { constant CUBE (line 658) | pub const CUBE: [Vec3; 36] = { function reflect (line 670) | pub fn reflect(i: Vec3, n: Vec3) -> Vec3 { function is_inside_clip_space (line 678) | pub fn is_inside_clip_space(p: Vec3) -> bool { function convex_mesh (line 682) | pub const fn convex_mesh([p0, p1, p2, p3, p4, p5, p6, p7]: [Vec3; 8]) ->... type GpuRng (line 702) | pub struct GpuRng(pub u32); method new (line 705) | pub fn new(state: u32) -> GpuRng { method gen (line 709) | pub fn gen(&mut self) -> u32 { method gen_u32 (line 725) | pub fn gen_u32(&mut self, min: u32, max: u32) -> u32 { method gen_f32 (line 731) | pub fn gen_f32(&mut self, min: f32, max: f32) -> f32 { method gen_vec3 (line 738) | pub fn gen_vec3(&mut self, min: Vec3, max: Vec3) -> Vec3 { method gen_vec2 (line 745) | pub fn gen_vec2(&mut self, min: Vec2, max: Vec2) -> Vec2 { function convert_pixel_to_ndc (line 755) | pub fn convert_pixel_to_ndc(pixel_coord: Vec2, viewport_size: UVec2) -> ... function step_sanity (line 769) | fn step_sanity() { function nan_sanity (line 777) | fn nan_sanity() { function signum_sanity (line 785) | fn signum_sanity() { FILE: crates/renderling/src/mesh.rs type Mesh (line 5) | pub struct Mesh { method new (line 12) | pub fn new( method from_vertices (line 43) | pub fn from_vertices( method draw (line 51) | pub fn draw<'a>(&'a self, render_pass: &mut wgpu::RenderPass<'a>) { method update (line 64) | pub fn update( FILE: crates/renderling/src/pbr.rs function pbr_metallic_roughness_spheres (line 29) | fn pbr_metallic_roughness_spheres() { FILE: crates/renderling/src/pbr/brdf/cpu.rs type BrdfLut (line 8) | pub struct BrdfLut { method new (line 14) | pub fn new(runtime: impl AsRef) -> Self { method texture (line 105) | pub fn texture(&self) -> &texture::Texture { function precomputed_brdf (line 115) | fn precomputed_brdf() { FILE: crates/renderling/src/pbr/brdf/shader.rs function sample_brdf (line 7) | pub fn sample_brdf, S: IsSampler>( FILE: crates/renderling/src/pbr/debug.rs type DebugChannel (line 8) | pub enum DebugChannel { FILE: crates/renderling/src/pbr/ibl/cpu.rs type Ibl (line 17) | pub struct Ibl { method new (line 28) | pub fn new(runtime: impl AsRef, skybox: &Skybox) -> Self { method is_empty (line 113) | pub fn is_empty(&self) -> bool { function create_irradiance_map (line 118) | fn create_irradiance_map( function create_prefiltered_environment_pipeline_and_bindgroup (line 155) | pub(crate) fn create_prefiltered_environment_pipeline_and_bindgroup( function create_prefiltered_environment_map (line 262) | fn create_prefiltered_environment_map( function diffuse_irradiance_convolution_bindgroup_layout (line 348) | pub fn diffuse_irradiance_convolution_bindgroup_layout( function diffuse_irradiance_convolution_bindgroup (line 384) | pub fn diffuse_irradiance_convolution_bindgroup( type DiffuseIrradianceConvolutionRenderPipeline (line 411) | pub struct DiffuseIrradianceConvolutionRenderPipeline(pub wgpu::RenderPi... method new (line 415) | pub fn new(device: &wgpu::Device, format: wgpu::TextureFormat) -> Self { function creates_valid_cubemaps (line 481) | fn creates_valid_cubemaps() { function mirror_cube_is_lit_by_environment (line 555) | fn mirror_cube_is_lit_by_environment() { FILE: crates/renderling/src/pbr/ibl/shader.rs function di_convolution_fragment (line 11) | pub fn di_convolution_fragment( FILE: crates/renderling/src/pbr/shader.rs function normal_distribution_ggx (line 27) | pub fn normal_distribution_ggx(n: Vec3, h: Vec3, roughness: f32) -> f32 { function geometry_schlick_ggx (line 39) | fn geometry_schlick_ggx(ndot_v: f32, roughness: f32) -> f32 { function geometry_smith (line 51) | fn geometry_smith(n: Vec3, v: Vec3, l: Vec3, roughness: f32) -> f32 { function fresnel_schlick (line 68) | fn fresnel_schlick( function fresnel_schlick_roughness (line 78) | fn fresnel_schlick_roughness(cos_theta: f32, f0: Vec3, roughness: f32) -... function outgoing_radiance (line 83) | pub fn outgoing_radiance( function sample_irradiance (line 133) | pub fn sample_irradiance, S: IsSampler>( function sample_specular_reflection (line 142) | pub fn sample_specular_reflection, S: IsSampl... function get_material (line 161) | pub fn get_material( function texture_color (line 180) | pub fn texture_color, S: IsSampler>( function fragment_impl (line 201) | pub fn fragment_impl( function shade_fragment (line 477) | pub fn shade_fragment( FILE: crates/renderling/src/primitive/cpu.rs type Primitive (line 22) | pub struct Primitive { method new (line 40) | pub fn new(stage: &Stage) -> Self { method set_vertices (line 77) | pub fn set_vertices(&self, vertices: impl Into>... method with_vertices (line 86) | pub fn with_vertices(self, vertices: impl Into>... method set_indices (line 95) | pub fn set_indices(&self, indices: impl Into>) -... method with_indices (line 104) | pub fn with_indices(self, indices: impl Into>) -... method remove_indices (line 110) | pub fn remove_indices(&self) -> &Self { method id (line 120) | pub fn id(&self) -> Id { method descriptor (line 125) | pub fn descriptor(&self) -> PrimitiveDescriptor { method set_bounds (line 130) | pub fn set_bounds(&self, bounds: BoundingSphere) -> &Self { method with_bounds (line 136) | pub fn with_bounds(self, bounds: BoundingSphere) -> Self { method bounds (line 144) | pub fn bounds(&self) -> BoundingSphere { method modify_bounds (line 154) | pub fn modify_bounds(&self, f: impl FnOnce(&mut BoundingSp... method set_visible (line 159) | pub fn set_visible(&self, visible: bool) -> &Self { method with_visible (line 165) | pub fn with_visible(self, visible: bool) -> Self { method visible (line 171) | pub fn visible(&self) -> bool { method modify_visible (line 181) | pub fn modify_visible(&self, f: impl FnOnce(&mut bool) -> ... method set_transform (line 193) | pub fn set_transform(&self, transform: impl Into) -> &Self { method with_transform (line 205) | pub fn with_transform(self, transform: impl Into) -> Self { method transform (line 213) | pub fn transform(&self) -> impl Deref> + '_ { method remove_transform (line 220) | pub fn remove_transform(&self) -> &Self { method set_material (line 230) | pub fn set_material(&self, material: impl Into) -> &Self { method with_material (line 238) | pub fn with_material(self, material: impl Into) -> Self { method material (line 246) | pub fn material(&self) -> impl Deref> + '_ { method remove_material (line 251) | pub fn remove_material(&self) -> &Self { method set_skin (line 261) | pub fn set_skin(&self, skin: impl Into) -> &Self { method with_skin (line 269) | pub fn with_skin(self, skin: impl Into) -> Self { method skin (line 277) | pub fn skin(&self) -> impl Deref> + '_ { method remove_skin (line 282) | pub fn remove_skin(&self) -> &Self { method set_morph_targets (line 292) | pub fn set_morph_targets( method with_morph_targets (line 309) | pub fn with_morph_targets( method morph_targets (line 322) | pub fn morph_targets( method remove_morph_targets (line 329) | pub fn remove_morph_targets(&self) -> &Self { method clone (line 61) | fn clone(&self) -> Self { FILE: crates/renderling/src/primitive/shader.rs type VertexInfo (line 31) | pub struct VertexInfo { type PrimitiveDescriptor (line 41) | pub struct PrimitiveDescriptor { method get_vertex_info (line 76) | pub fn get_vertex_info(&self, vertex_index: u32, geometry_slab: &[u32]... method get_transform (line 91) | pub fn get_transform(&self, vertex: Vertex, slab: &[u32]) -> Transform... method get_vertex (line 103) | pub fn get_vertex(&self, vertex_index: u32, slab: &[u32]) -> Vertex { method get_vertex_count (line 122) | pub fn get_vertex_count(&self) -> u32 { method default (line 56) | fn default() -> Self { type PrimitivePbrVertexInfo (line 135) | pub struct PrimitivePbrVertexInfo { function primitive_vertex (line 156) | pub fn primitive_vertex( function primitive_fragment (line 244) | pub fn primitive_fragment( function test_i8_i16_extraction (line 305) | pub fn test_i8_i16_extraction( FILE: crates/renderling/src/sdf.rs type CircleDescriptor (line 16) | pub struct CircleDescriptor { method distance (line 22) | pub fn distance(&self, point: Vec2) -> f32 { type Box (line 29) | pub struct Box { method distance (line 35) | pub fn distance(&self, point: Vec2) -> f32 { function sdf_circle_sanity (line 52) | fn sdf_circle_sanity() { function sdf_box_sanity (line 72) | fn sdf_box_sanity() { FILE: crates/renderling/src/skybox/cpu.rs type SkyboxRenderPipeline (line 16) | pub struct SkyboxRenderPipeline { method msaa_sample_count (line 22) | pub fn msaa_sample_count(&self) -> u32 { function skybox_bindgroup_layout (line 27) | fn skybox_bindgroup_layout(device: &wgpu::Device) -> wgpu::BindGroupLayo... function create_skybox_bindgroup (line 61) | pub(crate) fn create_skybox_bindgroup( function create_skybox_render_pipeline (line 87) | pub(crate) fn create_skybox_render_pipeline( type Skybox (line 160) | pub struct Skybox { method empty (line 168) | pub fn empty(runtime: impl AsRef) -> Self { method new (line 183) | pub fn new(runtime: impl AsRef, hdr_img: AtlasImage) -> S... method environment_cubemap_texture (line 247) | pub fn environment_cubemap_texture(&self) -> &texture::Texture { method hdr_texture_from_atlas_image (line 252) | pub fn hdr_texture_from_atlas_image( method create_hdr_texture (line 278) | pub fn create_hdr_texture(runtime: impl AsRef, hdr_data: ... method create_environment_map_from_hdr (line 284) | fn create_environment_map_from_hdr( method is_empty (line 326) | pub fn is_empty(&self) -> bool { function hdr_skybox_scene (line 338) | fn hdr_skybox_scene() { FILE: crates/renderling/src/skybox/shader.rs constant INV_ATAN (line 18) | const INV_ATAN: Vec2 = Vec2::new(0.1591, core::f32::consts::FRAC_1_PI); function direction_to_equirectangular_uv (line 22) | pub fn direction_to_equirectangular_uv(dir: Vec3) -> Vec2 { function skybox_vertex (line 31) | pub fn skybox_vertex( function skybox_cubemap_fragment (line 50) | pub fn skybox_cubemap_fragment( function skybox_cubemap_vertex (line 67) | pub fn skybox_cubemap_vertex( function skybox_equirectangular_fragment (line 82) | pub fn skybox_equirectangular_fragment( FILE: crates/renderling/src/stage.rs function matrix_hierarchy_sanity (line 22) | fn matrix_hierarchy_sanity() { function nested_transform_fox_rigging (line 39) | fn nested_transform_fox_rigging() { FILE: crates/renderling/src/stage/cpu.rs type StageError (line 40) | pub enum StageError { method from (line 53) | fn from(source: AtlasError) -> Self { method from (line 59) | fn from(source: LightingError) -> Self { method from (line 66) | fn from(source: crate::gltf::StageGltfError) -> Self { function create_msaa_textureview (line 71) | fn create_msaa_textureview( type StageCommitResult (line 97) | pub struct StageCommitResult { method latest_creation_time (line 105) | pub(crate) fn latest_creation_time(&self) -> usize { method should_invalidate (line 119) | pub(crate) fn should_invalidate(&self, previous_creation_time: usize) ... type PrimitiveBindGroup (line 149) | struct PrimitiveBindGroup<'a> { function create (line 168) | pub fn create(self) -> wgpu::BindGroup { type StageRendering (line 231) | pub(crate) struct StageRendering<'a> { function run (line 244) | pub fn run(self) -> (wgpu::SubmissionIndex, Option &WgpuRuntime { method as_ref (line 446) | fn as_ref(&self) -> &Geometry { method as_ref (line 452) | fn as_ref(&self) -> &Materials { method as_ref (line 458) | fn as_ref(&self) -> &Lighting { method load_gltf_document_from_path (line 466) | pub fn load_gltf_document_from_path( method load_gltf_document_from_bytes (line 479) | pub fn load_gltf_document_from_bytes( method default_vertices (line 495) | pub fn default_vertices(&self) -> &Vertices { method new_camera (line 503) | pub fn new_camera(&self) -> Camera { method use_camera (line 508) | pub fn use_camera(&self, camera: impl AsRef) { method used_camera_id (line 513) | pub fn used_camera_id(&self) -> Id { method use_camera_id (line 518) | pub fn use_camera_id(&self, camera_id: Id) { method new_transform (line 525) | pub fn new_transform(&self) -> Transform { method new_vertices (line 530) | pub fn new_vertices(&self, data: impl IntoIterator) -> ... method new_indices (line 535) | pub fn new_indices(&self, data: impl IntoIterator) -> Indi... method new_morph_targets (line 540) | pub fn new_morph_targets( method new_morph_target_weights (line 548) | pub fn new_morph_target_weights( method new_skin (line 556) | pub fn new_skin( method new_primitive (line 576) | pub fn new_primitive(&self) -> Primitive { method geometry_descriptor (line 582) | pub fn geometry_descriptor(&self) -> &Hybrid { method default_material (line 592) | pub fn default_material(&self) -> &Material { method new_material (line 599) | pub fn new_material(&self) -> Material { method set_atlas_size (line 606) | pub fn set_atlas_size(&self, size: wgpu::Extent3d) -> Result<(), Stage... method add_images (line 623) | pub fn add_images( method clear_images (line 644) | pub fn clear_images(&self) -> Result<(), StageError> { method set_images (line 657) | pub fn set_images( method new_directional_light (line 678) | pub fn new_directional_light(&self) -> AnalyticalLight AnalyticalLight { method new_spot_light (line 688) | pub fn new_spot_light(&self) -> AnalyticalLight { method add_light (line 698) | pub fn add_light(&self, bundle: &AnalyticalLight) method remove_light (line 712) | pub fn remove_light(&self, bundle: &AnalyticalLight) { method set_ambient_color (line 723) | pub fn set_ambient_color(&self, color: Vec4) -> &Self { method with_ambient_color (line 729) | pub fn with_ambient_color(self, color: Vec4) -> Self { method ambient_color (line 735) | pub fn ambient_color(&self) -> Vec4 { method new_shadow_map (line 754) | pub fn new_shadow_map( method new_light_tiling (line 778) | pub fn new_light_tiling(&self, config: LightTilingConfig) -> LightTili... method get_skybox_pipeline_and_bindgroup (line 794) | fn get_skybox_pipeline_and_bindgroup( method use_skybox (line 841) | pub fn use_skybox(&self, skybox: &Skybox) -> &Self { method remove_skybox (line 861) | pub fn remove_skybox(&self) -> Option { method new_skybox_from_path (line 885) | pub fn new_skybox_from_path( method new_skybox_from_bytes (line 896) | pub fn new_skybox_from_bytes(&self, bytes: &[u8]) -> Result Ibl { method use_ibl (line 912) | pub fn use_ibl(&self, ibl: &Ibl) -> &Self { method remove_ibl (line 921) | pub fn remove_ibl(&self) -> Option { method runtime (line 937) | pub fn runtime(&self) -> &WgpuRuntime { method device (line 941) | pub fn device(&self) -> &wgpu::Device { method queue (line 945) | pub fn queue(&self) -> &wgpu::Queue { method brdf_lut (line 952) | pub fn brdf_lut(&self) -> &BrdfLut { method used_gpu_buffer_byte_size (line 963) | pub fn used_gpu_buffer_byte_size(&self) -> usize { method hdr_texture (line 980) | pub fn hdr_texture(&self) -> impl Deref StageCommitResult { method primitive_pipeline_bindgroup_layout (line 1005) | fn primitive_pipeline_bindgroup_layout(device: &wgpu::Device) -> wgpu:... method create_primitive_pipeline (line 1113) | pub fn create_primitive_pipeline( method new (line 1176) | pub fn new(ctx: &crate::context::Context) -> Self { method set_background_color (line 1257) | pub fn set_background_color(&self, color: impl Into) { method with_background_color (line 1270) | pub fn with_background_color(self, color: impl Into) -> Self { method get_msaa_sample_count (line 1276) | pub fn get_msaa_sample_count(&self) -> u32 { method set_msaa_sample_count (line 1285) | pub fn set_msaa_sample_count(&self, multisample_count: u32) { method with_msaa_sample_count (line 1349) | pub fn with_msaa_sample_count(self, multisample_count: u32) -> Self { method set_clear_color_attachments (line 1355) | pub fn set_clear_color_attachments(&self, should_clear: bool) { method with_clear_color_attachments (line 1361) | pub fn with_clear_color_attachments(self, should_clear: bool) -> Self { method set_clear_depth_attachments (line 1367) | pub fn set_clear_depth_attachments(&self, should_clear: bool) { method with_clear_depth_attachments (line 1373) | pub fn with_clear_depth_attachments(self, should_clear: bool) -> Self { method set_debug_mode (line 1379) | pub fn set_debug_mode(&self, debug_mode: DebugChannel) { method with_debug_mode (line 1386) | pub fn with_debug_mode(self, debug_mode: DebugChannel) -> Self { method set_use_debug_overlay (line 1392) | pub fn set_use_debug_overlay(&self, use_debug_overlay: bool) { method with_debug_overlay (line 1398) | pub fn with_debug_overlay(self, use_debug_overlay: bool) -> Self { method set_use_frustum_culling (line 1406) | pub fn set_use_frustum_culling(&self, use_frustum_culling: bool) { method with_frustum_culling (line 1413) | pub fn with_frustum_culling(self, use_frustum_culling: bool) -> Self { method set_use_occlusion_culling (line 1425) | pub fn set_use_occlusion_culling(&self, use_occlusion_culling: bool) { method with_occlusion_culling (line 1432) | pub fn with_occlusion_culling(self, use_occlusion_culling: bool) -> Se... method set_has_lighting (line 1438) | pub fn set_has_lighting(&self, use_lighting: bool) { method with_lighting (line 1445) | pub fn with_lighting(self, use_lighting: bool) -> Self { method set_has_vertex_skinning (line 1451) | pub fn set_has_vertex_skinning(&self, use_skinning: bool) { method with_vertex_skinning (line 1458) | pub fn with_vertex_skinning(self, use_skinning: bool) -> Self { method get_size (line 1463) | pub fn get_size(&self) -> UVec2 { method set_size (line 1471) | pub fn set_size(&self, size: UVec2) { method with_size (line 1521) | pub fn with_size(self, size: UVec2) -> Self { method set_has_bloom (line 1527) | pub fn set_has_bloom(&self, has_bloom: bool) { method with_bloom (line 1533) | pub fn with_bloom(self, has_bloom: bool) -> Self { method set_bloom_mix_strength (line 1541) | pub fn set_bloom_mix_strength(&self, strength: f32) { method with_bloom_mix_strength (line 1545) | pub fn with_bloom_mix_strength(self, strength: f32) -> Self { method set_bloom_filter_radius (line 1553) | pub fn set_bloom_filter_radius(&self, filter_radius: f32) { method with_bloom_filter_radius (line 1560) | pub fn with_bloom_filter_radius(self, filter_radius: f32) -> Self { method add_primitive (line 1573) | pub fn add_primitive(&self, primitive: &Primitive) -> usize { method remove_primitive (line 1583) | pub fn remove_primitive(&self, primitive: &Primitive) -> usize { method sort_primitive (line 1591) | pub fn sort_primitive(&self, f: impl Fn(&Primitive, &Primitive) -> std... method get_depth_texture (line 1598) | pub fn get_depth_texture(&self) -> DepthTexture { method new_nested_transform (line 1611) | pub fn new_nested_transform(&self) -> NestedTransform { method render (line 1616) | pub fn render(&self, view: &wgpu::TextureView) { function vertex_slab_roundtrip (line 1745) | fn vertex_slab_roundtrip() { function matrix_subtraction_sanity (line 1768) | fn matrix_subtraction_sanity() { function can_global_transform_calculation (line 1774) | fn can_global_transform_calculation() { function can_msaa (line 1802) | fn can_msaa() { function stage_geometry_desc_sanity (line 1860) | fn stage_geometry_desc_sanity() { function slabbed_vertices_native (line 1875) | fn slabbed_vertices_native() { FILE: crates/renderling/src/sync.rs function atomic_i_increment (line 10) | pub fn atomic_i_increment( function atomic_u_min (line 31) | pub fn atomic_u_min( function atomic_u_max (line 54) | pub fn atomic_u_max( FILE: crates/renderling/src/texture.rs type TextureError (line 26) | pub enum TextureError { type Result (line 55) | type Result = std::result::Result; function wgpu_texture_format_channels_and_subpixel_bytes (line 57) | pub fn wgpu_texture_format_channels_and_subpixel_bytes( function wgpu_texture_format_channels_and_subpixel_bytes_todo (line 74) | pub fn wgpu_texture_format_channels_and_subpixel_bytes_todo( function get_next_texture_id (line 82) | pub(crate) fn get_next_texture_id() -> usize { type Texture (line 88) | pub struct Texture { method id (line 105) | pub fn id(&self) -> usize { method width (line 109) | pub fn width(&self) -> u32 { method height (line 113) | pub fn height(&self) -> u32 { method size (line 117) | pub fn size(&self) -> UVec2 { method new_cubemap_texture (line 122) | pub fn new_cubemap_texture( method new_with (line 213) | pub fn new_with( method new (line 292) | pub fn new( method from_image_bytes (line 317) | pub fn from_image_bytes( method from_dynamic_image (line 343) | pub fn from_dynamic_image( method from_image_buffer (line 405) | pub fn from_image_buffer

( method from_wgpu_tex (line 472) | pub fn from_wgpu_tex( constant DEPTH_FORMAT (line 502) | pub const DEPTH_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Dep... method create_depth_texture (line 504) | pub fn create_depth_texture( method create_depth_texture_for_shadow_map (line 552) | pub fn create_depth_texture_for_shadow_map( method read (line 608) | pub fn read( method read_hdr_image (line 628) | pub async fn read_hdr_image( method generate_mips (line 660) | pub fn generate_mips( constant HDR_TEXTURE_FORMAT (line 672) | pub const HDR_TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureForma... method create_hdr_texture (line 675) | pub fn create_hdr_texture( method render_cubemap (line 722) | pub(crate) fn render_cubemap( function read_depth_texture_to_image (line 810) | pub async fn read_depth_texture_to_image( function read_depth_texture_f32 (line 834) | pub async fn read_depth_texture_f32( type DepthTexture (line 851) | pub struct DepthTexture { method new (line 865) | pub fn new(runtime: impl AsRef, texture: impl Into Result> { type Target (line 857) | type Target = wgpu::Texture; method deref (line 859) | fn deref(&self) -> &Self::Target { type BufferDimensions (line 907) | pub struct BufferDimensions { method new (line 915) | pub fn new(channels: usize, subpixel_bytes: usize, width: usize, heigh... type MappedBuffer (line 933) | pub struct MappedBuffer<'a> { type Output (line 941) | type Output = Result, wgpu::BufferAsyncError>; function poll (line 943) | fn poll( type CopiedTextureBuffer (line 969) | pub struct CopiedTextureBuffer { method get_mapped_buffer (line 977) | fn get_mapped_buffer(&self) -> MappedBuffer<'_> { method pixels (line 1003) | pub async fn pixels(&self, device: &wgpu::Device) -> Result> { method convert_to_rgba (line 1010) | pub async fn convert_to_rgba(self) -> Result( method into_atlas_image (line 1059) | pub async fn into_atlas_image(self, device: &wgpu::Device) -> Result Result, texture: &wgpu::Texture) ... function generate_mipmaps (line 1262) | fn generate_mipmaps() { FILE: crates/renderling/src/texture/mips.rs constant LABEL (line 9) | const LABEL: Option<&str> = Some("mip-map-generator"); type MipMapError (line 12) | pub enum MipMapError { function create_pipeline (line 20) | fn create_pipeline( type MipMapGenerator (line 59) | pub struct MipMapGenerator { method new (line 66) | pub fn new(device: &wgpu::Device, format: wgpu::TextureFormat) -> Self { method generate (line 105) | pub fn generate( FILE: crates/renderling/src/tonemapping.rs constant GAMMA (line 16) | const GAMMA: f32 = 2.2; constant INV_GAMMA (line 17) | const INV_GAMMA: f32 = 1.0 / GAMMA; constant ACESINPUT_MAT (line 20) | const ACESINPUT_MAT: Mat3 = mat3( constant ACESOUTPUT_MAT (line 27) | const ACESOUTPUT_MAT: Mat3 = mat3( function linear_to_srgb (line 35) | pub fn linear_to_srgb(color: Vec3) -> Vec3 { function srgb_to_linear (line 41) | pub fn srgb_to_linear(srgb_in: Vec3) -> Vec3 { function srgba_to_linear (line 47) | pub fn srgba_to_linear(srgb_in: Vec4) -> Vec4 { function tone_map_aces_narkowicz (line 53) | pub fn tone_map_aces_narkowicz(color: Vec3) -> Vec3 { function rrt_and_odtfit (line 65) | fn rrt_and_odtfit(color: Vec3) -> Vec3 { function tone_map_aces_hill (line 71) | pub fn tone_map_aces_hill(mut color: Vec3) -> Vec3 { function tone_map_reinhard (line 82) | pub fn tone_map_reinhard(color: Vec3) -> Vec3 { type Tonemap (line 88) | pub struct Tonemap(u32); constant NONE (line 91) | pub const NONE: Self = Tonemap(0); constant ACES_NARKOWICZ (line 92) | pub const ACES_NARKOWICZ: Self = Tonemap(1); constant ACES_HILL (line 93) | pub const ACES_HILL: Self = Tonemap(2); constant ACES_HILL_EXPOSURE_BOOST (line 94) | pub const ACES_HILL_EXPOSURE_BOOST: Self = Tonemap(3); constant REINHARD (line 95) | pub const REINHARD: Self = Tonemap(4); type TonemapConstants (line 100) | pub struct TonemapConstants { method default (line 106) | fn default() -> Self { function tonemap (line 114) | pub fn tonemap(mut color: Vec4, slab: &[u32]) -> Vec4 { constant QUAD_2D_POINTS (line 135) | const QUAD_2D_POINTS: [(Vec2, Vec2); 6] = { function tonemapping_vertex (line 144) | pub fn tonemapping_vertex( function tonemapping_fragment (line 155) | pub fn tonemapping_fragment( FILE: crates/renderling/src/tonemapping/cpu.rs function bindgroup_layout (line 13) | pub fn bindgroup_layout(device: &wgpu::Device, label: Option<&str>) -> w... function create_bindgroup (line 50) | pub fn create_bindgroup( type Tonemapping (line 89) | pub struct Tonemapping { method new (line 98) | pub fn new( method slab_allocator (line 168) | pub(crate) fn slab_allocator(&self) -> &SlabAllocator { method set_hdr_texture (line 172) | pub fn set_hdr_texture(&self, device: &wgpu::Device, hdr_texture: &Tex... method get_tonemapping_config (line 185) | pub fn get_tonemapping_config(&self) -> TonemapConstants { method set_tonemapping_config (line 189) | pub fn set_tonemapping_config(&self, config: TonemapConstants) { method render (line 193) | pub fn render(&self, device: &wgpu::Device, queue: &wgpu::Queue, view:... FILE: crates/renderling/src/transform.rs type TransformDescriptor (line 18) | pub struct TransformDescriptor { method from (line 31) | fn from(value: Mat4) -> Self { constant IDENTITY (line 54) | pub const IDENTITY: Self = TransformDescriptor { method default (line 25) | fn default() -> Self { method from (line 42) | fn from( function transform_roundtrip (line 70) | fn transform_roundtrip() { FILE: crates/renderling/src/transform/cpu.rs type Transform (line 13) | pub struct Transform { method from (line 18) | fn from(value: &Transform) -> Self { method new (line 25) | pub(crate) fn new(slab: &SlabAllocator) -> Self { method id (line 31) | pub fn id(&self) -> Id { method descriptor (line 36) | pub fn descriptor(&self) -> TransformDescriptor { method set_descriptor (line 41) | pub fn set_descriptor(&self, descriptor: TransformDescriptor) -> &Self { method with_descriptor (line 47) | pub fn with_descriptor(self, descriptor: TransformDescriptor) -> Self { method as_mat4 (line 53) | pub fn as_mat4(&self) -> Mat4 { method translation (line 58) | pub fn translation(&self) -> Vec3 { method modify_translation (line 68) | pub fn modify_translation(&self, f: impl FnOnce(&mut Vec3)... method set_translation (line 77) | pub fn set_translation(&self, translation: impl Into) -> &Self { method with_translation (line 88) | pub fn with_translation(self, translation: impl Into) -> Self { method rotation (line 94) | pub fn rotation(&self) -> Quat { method modify_rotation (line 104) | pub fn modify_rotation(&self, f: impl FnOnce(&mut Quat) ->... method set_rotation (line 113) | pub fn set_rotation(&self, rotation: impl Into) -> &Self { method with_rotation (line 123) | pub fn with_rotation(self, rotation: impl Into) -> Self { method scale (line 129) | pub fn scale(&self) -> Vec3 { method modify_scale (line 139) | pub fn modify_scale(&self, f: impl FnOnce(&mut Vec3) -> T)... method set_scale (line 148) | pub fn set_scale(&self, scale: impl Into) -> &Self { method with_scale (line 158) | pub fn with_scale(self, scale: impl Into) -> Self { method from (line 202) | fn from(value: &NestedTransform) -> Self { method from (line 208) | fn from(value: NestedTransform) -> Self { type NestedTransform (line 171) | pub struct NestedTransform { method fmt (line 179) | fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { method new (line 215) | pub(crate) fn new(slab: &SlabAllocator) -> Self { method local_translation (line 227) | pub fn local_translation(&self) -> Vec3 { method modify_local_translation (line 240) | pub fn modify_local_translation(&self, f: impl FnOnce(&mut Vec3) ->... method set_local_translation (line 254) | pub fn set_local_translation(&self, translation: impl Into) -> &... method with_local_translation (line 268) | pub fn with_local_translation(self, translation: impl Into) -> S... method local_rotation (line 274) | pub fn local_rotation(&self) -> Quat { method modify_local_rotation (line 287) | pub fn modify_local_rotation(&self, f: impl FnOnce(&mut Quat) -> T)... method set_local_rotation (line 301) | pub fn set_local_rotation(&self, rotation: impl Into) -> &Self { method with_local_rotation (line 315) | pub fn with_local_rotation(self, rotation: impl Into) -> Self { method local_scale (line 321) | pub fn local_scale(&self) -> Vec3 { method modify_local_scale (line 334) | pub fn modify_local_scale(&self, f: impl FnOnce(&mut Vec3) -> T) ->... method set_local_scale (line 348) | pub fn set_local_scale(&self, scale: impl Into) -> &Self { method with_local_scale (line 362) | pub fn with_local_scale(self, scale: impl Into) -> Self { method global_id (line 370) | pub fn global_id(&self) -> Id { method global_descriptor (line 377) | pub fn global_descriptor(&self) -> TransformDescriptor { method local_descriptor (line 388) | pub fn local_descriptor(&self) -> TransformDescriptor { method mark_dirty (line 392) | fn mark_dirty(&self) { method hierarchy (line 404) | pub fn hierarchy(&self) -> Vec { method add_child (line 413) | pub fn add_child(&self, node: &NestedTransform) { method remove_child (line 422) | pub fn remove_child(&self, node: &NestedTransform) { method parent (line 438) | pub fn parent(&self) -> Option { FILE: crates/renderling/src/tutorial.rs function passthru_fragment (line 17) | pub fn passthru_fragment(in_color: Vec4, output: &mut Vec4) { function implicit_isosceles_vertex (line 26) | pub fn implicit_isosceles_vertex( function slabbed_vertices_no_instance (line 46) | pub fn slabbed_vertices_no_instance( function slabbed_vertices (line 65) | pub fn slabbed_vertices( function slabbed_renderlet (line 93) | pub fn slabbed_renderlet( FILE: crates/renderling/src/types.rs type GpuOnly (line 7) | pub type GpuOnly = GpuContainer; type GpuOnlyArray (line 11) | pub type GpuOnlyArray = GpuArrayContainer; type GpuCpu (line 17) | pub type GpuCpu = HybridContainer; type GpuCpuArray (line 24) | pub type GpuCpuArray = HybridArrayContainer; FILE: crates/renderling/src/ui_slab/mod.rs type UiElementType (line 20) | pub enum UiElementType { method from_u32 (line 37) | pub fn from_u32(v: u32) -> Self { type GradientType (line 53) | pub enum GradientType { method from_u32 (line 64) | pub fn from_u32(v: u32) -> Self { type GradientDescriptor (line 78) | pub struct GradientDescriptor { type UiVertex (line 100) | pub struct UiVertex { method with_position (line 110) | pub fn with_position(mut self, position: impl Into) -> Self { method with_uv (line 115) | pub fn with_uv(mut self, uv: impl Into) -> Self { method with_color (line 120) | pub fn with_color(mut self, color: impl Into) -> Self { type UiDrawCallDescriptor (line 133) | pub struct UiDrawCallDescriptor { type UiViewport (line 183) | pub struct UiViewport { FILE: crates/renderling/src/ui_slab/shader.rs function sdf_rounded_rect (line 19) | fn sdf_rounded_rect(p: Vec2, half_ext: Vec2, radii: Vec4) -> f32 { function sdf_circle (line 43) | fn sdf_circle(p: Vec2, radius: f32) -> f32 { function sdf_ellipse (line 48) | fn sdf_ellipse(p: Vec2, radii: Vec2) -> f32 { function eval_gradient (line 56) | fn eval_gradient( function ui_vertex (line 101) | pub fn ui_vertex( function ui_fragment (line 165) | pub fn ui_fragment( FILE: crates/renderling/tests/wasm.rs function can_write_system_info_artifact (line 25) | async fn can_write_system_info_artifact() { function can_create_headless_ctx (line 50) | async fn can_create_headless_ctx() { function stage_creation (line 57) | async fn stage_creation() { function image_from_bytes (line 64) | fn image_from_bytes(bytes: &[u8]) -> image::DynamicImage { function load_test_img (line 72) | async fn load_test_img(path: &str) -> image::DynamicImage { function image_to_wire (line 81) | fn image_to_wire(seen: impl Into) -> wire_types::Image { function assert_img_eq (line 98) | async fn assert_img_eq(filename: &str, seen: impl Into) { function can_load_image (line 129) | async fn can_load_image() { function can_img_diff (line 134) | async fn can_img_diff() { function can_clear_background_sanity (line 146) | async fn can_clear_background_sanity() { function implicit_isosceles_triangle (line 183) | async fn implicit_isosceles_triangle() { function slabbed_vertices_no_instance (line 297) | async fn slabbed_vertices_no_instance() { function slabbed_isosceles_triangle (line 452) | async fn slabbed_isosceles_triangle() { function can_clear_background (line 987) | async fn can_clear_background() { function right_tri_vertices (line 1008) | fn right_tri_vertices() -> Vec { function can_render_hello_triangle (line 1023) | async fn can_render_hello_triangle() { FILE: crates/sandbox/src/main.rs type Example (line 14) | struct Example { method event (line 21) | fn event(&mut self, event: winit::event::WindowEvent) -> bool { type App (line 50) | struct App { method resumed (line 55) | fn resumed(&mut self, event_loop: &winit::event_loop::ActiveEventLoop) { method window_event (line 68) | fn window_event( method about_to_wait (line 81) | fn about_to_wait(&mut self, _event_loop: &winit::event_loop::ActiveEve... function main (line 90) | fn main() { FILE: crates/wire-types/src/lib.rs type PixelType (line 3) | pub enum PixelType { type Image (line 10) | pub struct Image { type Error (line 18) | pub struct Error { method from (line 23) | fn from(description: String) -> Self { FILE: crates/xtask/src/deps.rs function has_binary (line 5) | pub async fn has_binary(name: impl AsRef) -> bool { function cargo_install (line 15) | pub async fn cargo_install(name: impl AsRef) { FILE: crates/xtask/src/main.rs type Command (line 8) | enum Command { type Manual (line 43) | pub struct Manual { method install_deps (line 62) | async fn install_deps() { method build_docs (line 71) | async fn build_docs() { method test (line 83) | async fn test() { type Cli (line 98) | struct Cli { function main (line 105) | async fn main() { FILE: crates/xtask/src/server.rs function serve (line 19) | pub async fn serve() { function accept (line 37) | async fn accept(request: Request) -> Response { function static_file_inner (line 49) | async fn static_file_inner( function static_file (line 89) | async fn static_file(Path(path): Path) -> Result Result Result<()... function save (line 156) | async fn save( function artifact_inner (line 175) | async fn artifact_inner(filename: impl AsRef, body: Bod... function artifact (line 199) | async fn artifact(Path(parts): Path>, body: Body) -> Response { function serve_docs (line 213) | pub async fn serve_docs() { function docs (line 223) | async fn docs(Path(path): Path) -> impl IntoResponse {