SYMBOL INDEX (405 symbols across 32 files) FILE: examples/minimal.rs constant PATH (line 5) | const PATH: &str = "terrains/planar"; constant TERRAIN_SIZE (line 6) | const TERRAIN_SIZE: f64 = 1000.0; constant HEIGHT (line 7) | const HEIGHT: f32 = 250.0; constant TEXTURE_SIZE (line 8) | const TEXTURE_SIZE: u32 = 512; constant LOD_COUNT (line 9) | const LOD_COUNT: u32 = 4; function main (line 11) | fn main() { function setup (line 23) | fn setup( FILE: examples/planar.rs constant PATH (line 5) | const PATH: &str = "terrains/planar"; constant TERRAIN_SIZE (line 6) | const TERRAIN_SIZE: f64 = 2000.0; constant HEIGHT (line 7) | const HEIGHT: f32 = 500.0; constant TEXTURE_SIZE (line 8) | const TEXTURE_SIZE: u32 = 512; constant LOD_COUNT (line 9) | const LOD_COUNT: u32 = 8; type TerrainMaterial (line 12) | pub struct TerrainMaterial { method fragment_shader (line 19) | fn fragment_shader() -> ShaderRef { function main (line 24) | fn main() { function setup (line 36) | fn setup( FILE: examples/preprocess_planar.rs constant PATH (line 4) | const PATH: &str = "terrains/planar"; constant TEXTURE_SIZE (line 5) | const TEXTURE_SIZE: u32 = 512; constant LOD_COUNT (line 6) | const LOD_COUNT: u32 = 4; function main (line 8) | fn main() { function setup (line 15) | fn setup(mut commands: Commands, asset_server: Res) { FILE: examples/preprocess_spherical.rs constant PATH (line 4) | const PATH: &str = "terrains/spherical"; constant TEXTURE_SIZE (line 5) | const TEXTURE_SIZE: u32 = 512; constant LOD_COUNT (line 6) | const LOD_COUNT: u32 = 5; function main (line 8) | fn main() { function setup (line 19) | fn setup(mut commands: Commands, asset_server: Res) { FILE: examples/spherical.rs constant PATH (line 4) | const PATH: &str = "terrains/spherical"; constant RADIUS (line 5) | const RADIUS: f64 = 6371000.0; constant MAJOR_AXES (line 6) | const MAJOR_AXES: f64 = 6378137.0; constant MINOR_AXES (line 7) | const MINOR_AXES: f64 = 6356752.314245; constant MIN_HEIGHT (line 8) | const MIN_HEIGHT: f32 = -12000.0; constant MAX_HEIGHT (line 9) | const MAX_HEIGHT: f32 = 9000.0; constant TEXTURE_SIZE (line 10) | const TEXTURE_SIZE: u32 = 512; constant LOD_COUNT (line 11) | const LOD_COUNT: u32 = 16; type TerrainMaterial (line 14) | pub struct TerrainMaterial { method fragment_shader (line 21) | fn fragment_shader() -> ShaderRef { function main (line 26) | fn main() { function setup (line 39) | fn setup( FILE: src/big_space.rs type GridPrecision (line 3) | pub type GridPrecision = i32; type BigSpacePlugin (line 5) | pub type BigSpacePlugin = big_space::BigSpacePlugin; type ReferenceFrame (line 6) | pub type ReferenceFrame = big_space::reference_frame::ReferenceFrame = type GridCell (line 9) | pub type GridCell = big_space::GridCell; type GridTransform (line 10) | pub type GridTransform = big_space::world_query::GridTransform = big_space::world_query::GridTransformIt... FILE: src/debug/camera.rs type DebugCameraBundle (line 9) | pub struct DebugCameraBundle { method new (line 33) | pub fn new(position: DVec3, speed: f64, frame: &ReferenceFrame) -> Self { method new (line 56) | pub fn new(position: Vec3, speed: f64) -> Self { method default (line 19) | fn default() -> Self { type DebugCameraController (line 77) | pub struct DebugCameraController { method default (line 91) | fn default() -> Self { function camera_controller (line 105) | pub fn camera_controller( FILE: src/debug/mod.rs type DebugTerrainMaterial (line 18) | pub struct DebugTerrainMaterial {} type TerrainDebugPlugin (line 23) | pub struct TerrainDebugPlugin; method build (line 26) | fn build(&self, app: &mut App) { type DebugTerrain (line 46) | pub struct DebugTerrain { method default (line 67) | fn default() -> Self { function extract_debug (line 90) | pub fn extract_debug(mut debug: ResMut, extracted_debug: E... function toggle_debug (line 94) | pub fn toggle_debug(input: Res>, mut debug: ResMut<... function update_view_parameter (line 216) | pub fn update_view_parameter( function debug_lighting (line 262) | pub(crate) fn debug_lighting(mut commands: Commands) { function debug_window (line 277) | pub fn debug_window(mut window: Query<&mut Window, With>) { type LoadingImages (line 283) | pub struct LoadingImages(Vec<(AssetId, TextureDimension, TextureF... method load_image (line 286) | pub fn load_image( function finish_loading_images (line 297) | fn finish_loading_images( FILE: src/formats/mod.rs type TC (line 9) | pub struct TC { method decode_alloc (line 14) | pub fn decode_alloc(encoded: &[u8]) -> Result { method encode_alloc (line 20) | pub fn encode_alloc(&self) -> Result> { method load_file (line 26) | pub fn load_file>(path: P) -> Result { method save_file (line 31) | pub fn save_file>(&self, path: P) -> Result<()> { FILE: src/formats/tiff.rs type TiffLoader (line 15) | pub struct TiffLoader; type Asset (line 17) | type Asset = Image; type Settings (line 18) | type Settings = (); type Error (line 19) | type Error = TextureError; method load (line 20) | async fn load<'a>( method extensions (line 59) | fn extensions(&self) -> &[&str] { FILE: src/math/coordinate.rs constant NEIGHBOURING_SIDES (line 9) | const NEIGHBOURING_SIDES: [[u32; 5]; 6] = [ type SideInfo (line 19) | enum SideInfo { constant EVEN_LIST (line 27) | const EVEN_LIST: [[SideInfo; 2]; 6] = [ constant ODD_LIST (line 35) | const ODD_LIST: [[SideInfo; 2]; 6] = [ method project_to_side (line 44) | fn project_to_side(side: u32, other_side: u32) -> [SideInfo; 2] { type Coordinate (line 58) | pub struct Coordinate { method new (line 64) | pub fn new(side: u32, uv: DVec2) -> Self { method from_world_position (line 69) | pub(crate) fn from_world_position(world_position: DVec3, model: &Terra... method world_position (line 110) | pub(crate) fn world_position(self, model: &TerrainModel, height: f32) ... method project_to_side (line 134) | pub(crate) fn project_to_side(self, side: u32, model: &TerrainModel) -... type TileCoordinate (line 156) | pub struct TileCoordinate { constant INVALID (line 169) | pub const INVALID: TileCoordinate = TileCoordinate { method new (line 176) | pub fn new(side: u32, lod: u32, x: u32, y: u32) -> Self { method count (line 180) | pub fn count(lod: u32) -> u32 { method path (line 184) | pub fn path(self, path: &str, extension: &str) -> String { method parent (line 188) | pub fn parent(self) -> Self { method children (line 197) | pub fn children(self) -> impl Iterator { method neighbours (line 208) | pub fn neighbours(self, spherical: bool) -> impl Iterator { method neighbour_coordinate (line 227) | fn neighbour_coordinate(self, neighbour_position: IVec2, spherical: bo... method fmt (line 283) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { FILE: src/math/ellipsoid.rs constant MAX_ITERATIONS (line 10) | const MAX_ITERATIONS: usize = 1074; function project_point_ellipsoid (line 12) | pub fn project_point_ellipsoid(e: DVec3, y: DVec3) -> DVec3 { function project_point_ellipse (line 65) | fn project_point_ellipse(e: DVec2, y: DVec2) -> DVec2 { function get_root_3d (line 92) | fn get_root_3d(r: DVec3, z: DVec3, g: f64) -> f64 { function get_root_2d (line 118) | fn get_root_2d(r: DVec2, z: DVec2, g: f64) -> f64 { FILE: src/math/mod.rs constant C_SQR (line 13) | const C_SQR: f64 = 0.87 * 0.87; FILE: src/math/terrain_model.rs constant SIDE_MATRICES (line 14) | const SIDE_MATRICES: [DMat3; 6] = [ type TerrainKind (line 24) | pub enum TerrainKind { type TerrainModel (line 41) | pub struct TerrainModel { method is_spherical (line 53) | pub(crate) fn is_spherical(&self) -> bool { method from_scale_rotation_translation (line 61) | fn from_scale_rotation_translation( method planar (line 84) | pub fn planar(position: DVec3, side_length: f64, min_height: f32, max_... method sphere (line 95) | pub fn sphere(position: DVec3, radius: f64, min_height: f32, max_heigh... method ellipsoid (line 106) | pub fn ellipsoid( method position_local_to_world (line 130) | pub(crate) fn position_local_to_world(&self, local_position: DVec3, he... method position_world_to_local (line 144) | pub(crate) fn position_world_to_local(&self, world_position: DVec3) ->... method surface_position (line 171) | pub(crate) fn surface_position(&self, world_position: DVec3, height: f... method side_count (line 175) | pub(crate) fn side_count(&self) -> u32 { method scale (line 183) | pub(crate) fn scale(&self) -> f64 { method transform (line 196) | pub(crate) fn transform(&self) -> Transform { method grid_transform (line 205) | pub(crate) fn grid_transform( type SideParameter (line 228) | pub(crate) struct SideParameter { type TerrainModelApproximation (line 252) | pub struct TerrainModelApproximation { method compute (line 263) | pub(crate) fn compute( function generate_terrain_model_approximation (line 363) | pub fn generate_terrain_model_approximation( FILE: src/plugin.rs type TerrainPlugin (line 32) | pub struct TerrainPlugin; method build (line 35) | fn build(&self, app: &mut App) { method finish (line 97) | fn finish(&self, app: &mut App) { FILE: src/preprocess/gpu_preprocessor.rs type ProcessingTask (line 25) | pub(crate) struct ProcessingTask { type SplitData (line 31) | pub(crate) struct SplitData { type StitchData (line 39) | struct StitchData { type DownsampleData (line 46) | struct DownsampleData { function create_split_layout (line 52) | pub(crate) fn create_split_layout(device: &RenderDevice) -> BindGroupLay... function create_stitch_layout (line 66) | pub(crate) fn create_stitch_layout(device: &RenderDevice) -> BindGroupLa... function create_downsample_layout (line 73) | pub(crate) fn create_downsample_layout(device: &RenderDevice) -> BindGro... type GpuPreprocessor (line 83) | pub(crate) struct GpuPreprocessor { method new (line 89) | pub(crate) fn new() -> Self { method initialize (line 96) | pub(crate) fn initialize( method extract (line 105) | pub(crate) fn extract( method prepare (line 120) | pub(crate) fn prepare( FILE: src/preprocess/mod.rs type TerrainPreprocessLabel (line 28) | pub struct TerrainPreprocessLabel; type TerrainPreprocessItem (line 41) | pub(crate) struct TerrainPreprocessItem { method pipelines (line 48) | fn pipelines<'a>( method is_loaded (line 59) | pub(crate) fn is_loaded(&self, pipeline_cache: &PipelineCache) -> bool { type TerrainPreprocessPipelines (line 65) | pub struct TerrainPreprocessPipelines { method from_world (line 76) | fn from_world(world: &mut World) -> Self { type Key (line 102) | type Key = TerrainPreprocessPipelineKey; method specialize (line 104) | fn specialize(&self, key: Self::Key) -> ComputePipelineDescriptor { type TerrainPreprocessNode (line 141) | pub struct TerrainPreprocessNode; method run (line 144) | fn run<'w>( function queue_terrain_preprocess (line 220) | pub(crate) fn queue_terrain_preprocess( type TerrainPreprocessPlugin (line 255) | pub struct TerrainPreprocessPlugin; method build (line 258) | fn build(&self, app: &mut App) { method finish (line 283) | fn finish(&self, app: &mut App) { FILE: src/preprocess/preprocessor.rs function reset_directory (line 18) | pub fn reset_directory(directory: &str) { type LoadingTile (line 24) | pub(crate) struct LoadingTile { type SphericalDataset (line 29) | pub struct SphericalDataset { type PreprocessDataset (line 35) | pub struct PreprocessDataset { method overlapping_tiles (line 58) | fn overlapping_tiles(&self, lod: u32) -> impl Iterator Self { type PreprocessTaskType (line 70) | pub(crate) enum PreprocessTaskType { type PreprocessTask (line 89) | pub(crate) struct PreprocessTask { method is_ready (line 95) | fn is_ready(&self, asset_server: &AssetServer, tile_atlas: &TileAtlas)... method debug (line 110) | fn debug(&self) { method barrier (line 128) | fn barrier() -> Self { method save (line 135) | fn save( method split (line 150) | fn split( method stitch (line 170) | fn stitch( method downsample (line 191) | fn downsample( type Preprocessor (line 214) | pub struct Preprocessor { method new (line 224) | pub fn new() -> Self { method split_and_downsample (line 234) | fn split_and_downsample( method stitch_and_save_layer (line 271) | fn stitch_and_save_layer( method clear_attachment (line 290) | pub fn clear_attachment(self, attachment_index: u32, tile_atlas: &mut ... method preprocess_tile (line 298) | pub fn preprocess_tile( method preprocess_spherical (line 314) | pub fn preprocess_spherical( function select_ready_tasks (line 346) | pub(crate) fn select_ready_tasks( function preprocessor_load_tile (line 401) | pub(crate) fn preprocessor_load_tile( FILE: src/render/culling_bind_group.rs function create_culling_layout (line 15) | pub(crate) fn create_culling_layout(device: &RenderDevice) -> BindGroupL... function planes (line 25) | pub fn planes(view_projection: &Mat4) -> [Vec4; 5] { type CullingUniform (line 41) | pub struct CullingUniform { method from (line 48) | fn from(view: &ExtractedView) -> Self { type CullingBindGroup (line 58) | pub struct CullingBindGroup(BindGroup); method new (line 70) | fn new(device: &RenderDevice, culling_uniform: CullingUniform) -> Self { method prepare (line 87) | pub(crate) fn prepare( type Target (line 61) | type Target = BindGroup; method deref (line 64) | fn deref(&self) -> &Self::Target { FILE: src/render/terrain_bind_group.rs function create_terrain_layout (line 23) | pub(crate) fn create_terrain_layout(device: &RenderDevice) -> BindGroupL... type AttachmentConfig (line 47) | struct AttachmentConfig { type AttachmentUniform (line 55) | struct AttachmentUniform { method new (line 60) | fn new(tile_atlas: &GpuTileAtlas) -> Self { type TerrainConfigUniform (line 77) | struct TerrainConfigUniform { method from_tile_atlas (line 85) | fn from_tile_atlas(tile_atlas: &TileAtlas) -> Self { type TerrainData (line 95) | pub struct TerrainData { method new (line 101) | fn new( method initialize (line 168) | pub(crate) fn initialize( method extract (line 185) | pub(crate) fn extract( method prepare (line 207) | pub(crate) fn prepare( type SetTerrainBindGroup (line 217) | pub struct SetTerrainBindGroup; type Param (line 220) | type Param = SRes>; type ViewQuery (line 221) | type ViewQuery = (); type ItemQuery (line 222) | type ItemQuery = (); function render (line 225) | fn render<'w>( FILE: src/render/terrain_material.rs type TerrainPipelineKey (line 35) | pub struct TerrainPipelineKey { method eq (line 46) | fn eq(&self, other: &Self) -> bool { method clone (line 55) | fn clone(&self) -> Self { method hash (line 67) | fn hash(&self, state: &mut H) { constant MSAA_MASK_BITS (line 100) | const MSAA_MASK_BITS: u32 = 0b111111; constant MSAA_SHIFT_BITS (line 101) | const MSAA_SHIFT_BITS: u32 = 32 - 6; method from_msaa_samples (line 103) | pub fn from_msaa_samples(msaa_samples: u32) -> Self { method from_debug (line 108) | pub fn from_debug(debug: &DebugTerrain) -> Self { method msaa_samples (line 163) | pub fn msaa_samples(&self) -> u32 { method polygon_mode (line 167) | pub fn polygon_mode(&self) -> PolygonMode { method shader_defs (line 174) | pub fn shader_defs(&self) -> Vec { type TerrainRenderPipeline (line 232) | pub struct TerrainRenderPipeline { method from_world (line 244) | fn from_world(world: &mut World) -> Self { type Key (line 288) | type Key = TerrainPipelineKey; method specialize (line 290) | fn specialize(&self, key: Self::Key) -> RenderPipelineDescriptor { type DrawTerrain (line 365) | pub(crate) type DrawTerrain = ( function queue_terrain (line 376) | pub(crate) fn queue_terrain( type TerrainMaterialPlugin (line 437) | pub struct TerrainMaterialPlugin(PhantomData); method default (line 440) | fn default() -> Self { method build (line 449) | fn build(&self, app: &mut App) { method finish (line 465) | fn finish(&self, app: &mut App) { FILE: src/render/terrain_view_bind_group.rs function create_prepare_indirect_layout (line 21) | pub(crate) fn create_prepare_indirect_layout(device: &RenderDevice) -> B... function create_refine_tiles_layout (line 31) | pub(crate) fn create_refine_tiles_layout(device: &RenderDevice) -> BindG... function create_terrain_view_layout (line 49) | pub(crate) fn create_terrain_view_layout(device: &RenderDevice) -> BindG... type Indirect (line 66) | pub(crate) struct Indirect { type Parameters (line 74) | struct Parameters { type TerrainViewConfigUniform (line 82) | struct TerrainViewConfigUniform { method from_tile_tree (line 99) | fn from_tile_tree(tile_tree: &TileTree) -> Self { type TerrainViewData (line 118) | pub struct TerrainViewData { method new (line 128) | fn new(device: &RenderDevice, tile_tree: &TileTree, gpu_tile_tree: &Gp... method refinement_count (line 189) | pub(super) fn refinement_count(&self) -> u32 { method initialize (line 193) | pub(crate) fn initialize( method extract (line 213) | pub(crate) fn extract( method prepare (line 238) | pub(crate) fn prepare( type SetTerrainViewBindGroup (line 249) | pub struct SetTerrainViewBindGroup; type Param (line 252) | type Param = SRes>; type ViewQuery (line 253) | type ViewQuery = Entity; type ItemQuery (line 254) | type ItemQuery = (); function render (line 257) | fn render<'w>( type DrawTerrainCommand (line 274) | pub(crate) struct DrawTerrainCommand; type Param (line 277) | type Param = SRes>; type ViewQuery (line 278) | type ViewQuery = Entity; type ItemQuery (line 279) | type ItemQuery = (); method render (line 282) | fn render<'w>( FILE: src/render/tiling_prepass.rs type TilingPrepassLabel (line 26) | pub struct TilingPrepassLabel; method from_debug (line 45) | pub fn from_debug(debug: &DebugTerrain) -> Self { method shader_defs (line 61) | pub fn shader_defs(&self) -> Vec { type TilingPrepassItem (line 81) | pub(crate) struct TilingPrepassItem { method pipelines (line 89) | fn pipelines<'a>( type TilingPrepassPipelines (line 108) | pub struct TilingPrepassPipelines { method from_world (line 118) | fn from_world(world: &mut World) -> Self { type Key (line 142) | type Key = TilingPrepassPipelineKey; method specialize (line 144) | fn specialize(&self, key: Self::Key) -> ComputePipelineDescriptor { type TilingPrepassNode (line 202) | pub struct TilingPrepassNode; method run (line 205) | fn run<'w>( function queue_tiling_prepass (line 274) | pub(crate) fn queue_tiling_prepass( FILE: src/shaders/mod.rs constant DEFAULT_VERTEX_SHADER (line 4) | pub const DEFAULT_VERTEX_SHADER: &str = "embedded://bevy_terrain/shaders... constant DEFAULT_FRAGMENT_SHADER (line 5) | pub const DEFAULT_FRAGMENT_SHADER: &str = "embedded://bevy_terrain/shade... constant PREPARE_PREPASS_SHADER (line 6) | pub const PREPARE_PREPASS_SHADER: &str = constant REFINE_TILES_SHADER (line 8) | pub const REFINE_TILES_SHADER: &str = constant SPLIT_SHADER (line 10) | pub(crate) const SPLIT_SHADER: &str = "embedded://bevy_terrain/shaders/p... constant STITCH_SHADER (line 11) | pub(crate) const STITCH_SHADER: &str = "embedded://bevy_terrain/shaders/... constant DOWNSAMPLE_SHADER (line 12) | pub(crate) const DOWNSAMPLE_SHADER: &str = type InternalShaders (line 16) | pub(crate) struct InternalShaders(Vec>); method load (line 19) | pub(crate) fn load(app: &mut App, shaders: &[&'static str]) { function load_terrain_shaders (line 30) | pub(crate) fn load_terrain_shaders(app: &mut App) { function load_preprocess_shaders (line 55) | pub(crate) fn load_preprocess_shaders(app: &mut App) { FILE: src/terrain.rs type TerrainComponents (line 15) | pub struct TerrainComponents(EntityHashMap); method default (line 18) | fn default() -> Self { type TerrainConfig (line 27) | pub struct TerrainConfig { method add_attachment (line 52) | pub fn add_attachment(mut self, attachment_config: AttachmentConfig) -... method default (line 40) | fn default() -> Self { type TerrainBundle (line 62) | pub struct TerrainBundle { method new (line 75) | pub fn new( FILE: src/terrain_data/gpu_tile_atlas.rs constant COPY_BYTES_PER_ROW_ALIGNMENT (line 23) | const COPY_BYTES_PER_ROW_ALIGNMENT: u32 = 256; function align_byte_size (line 25) | fn align_byte_size(value: u32) -> u32 { function create_attachment_layout (line 30) | pub(crate) fn create_attachment_layout(device: &RenderDevice) -> BindGro... type AttachmentMeta (line 46) | pub(crate) struct AttachmentMeta { type AtlasBufferInfo (line 58) | pub(crate) struct AtlasBufferInfo { method new (line 80) | fn new(attachment: &AtlasAttachment, lod_count: u32) -> Self { method image_copy_texture (line 125) | fn image_copy_texture<'a>( method image_copy_buffer (line 142) | fn image_copy_buffer<'a>(&'a self, buffer: &'a Buffer, index: u32) -> ... method image_copy_size (line 153) | fn image_copy_size(&self, mip_level: u32) -> Extent3d { method buffer_size (line 161) | fn buffer_size(&self, slots: u32) -> u32 { method attachment_meta (line 165) | fn attachment_meta(&self) -> AttachmentMeta { type GpuAtlasAttachment (line 179) | pub(crate) struct GpuAtlasAttachment { method new (line 195) | pub(crate) fn new( method reserve_write_slot (line 276) | pub(crate) fn reserve_write_slot(&mut self, tile: AtlasTileAttachment)... method copy_tiles_to_write_section (line 285) | pub(crate) fn copy_tiles_to_write_section(&self, command_encoder: &mut... method copy_tiles_from_write_section (line 297) | pub(crate) fn copy_tiles_from_write_section(&self, command_encoder: &m... method upload_tiles (line 309) | fn upload_tiles(&mut self, queue: &RenderQueue) { method download_tiles (line 338) | pub(crate) fn download_tiles(&self, command_encoder: &mut CommandEncod... method create_download_buffers (line 349) | fn create_download_buffers(&mut self, device: &RenderDevice) { method start_downloading_tiles (line 362) | fn start_downloading_tiles(&mut self) { type GpuTileAtlas (line 420) | pub struct GpuTileAtlas { method new (line 428) | fn new(device: &RenderDevice, tile_atlas: &TileAtlas) -> Self { method initialize (line 442) | pub(crate) fn initialize( method extract (line 454) | pub(crate) fn extract( method prepare (line 480) | pub(crate) fn prepare( method cleanup (line 493) | pub(crate) fn cleanup(mut gpu_tile_atlases: ResMut Self { method initialize (line 56) | pub(crate) fn initialize( method extract (line 71) | pub(crate) fn extract( method prepare (line 84) | pub(crate) fn prepare( FILE: src/terrain_data/mod.rs constant INVALID_ATLAS_INDEX (line 33) | pub const INVALID_ATLAS_INDEX: u32 = u32::MAX; constant INVALID_LOD (line 34) | pub const INVALID_LOD: u32 = u32::MAX; type AttachmentFormat (line 38) | pub enum AttachmentFormat { method id (line 50) | pub(crate) fn id(self) -> u32 { method render_format (line 58) | pub(crate) fn render_format(self) -> TextureFormat { method processing_format (line 67) | pub(crate) fn processing_format(self) -> TextureFormat { method pixel_size (line 76) | pub(crate) fn pixel_size(self) -> u32 { type AttachmentConfig (line 88) | pub struct AttachmentConfig { method default (line 100) | fn default() -> Self { type AttachmentData (line 112) | pub(crate) enum AttachmentData { method from_bytes (line 125) | pub(crate) fn from_bytes(data: &[u8], format: AttachmentFormat) -> Self { method bytes (line 134) | pub(crate) fn bytes(&self) -> &[u8] { method generate_mipmaps (line 143) | pub(crate) fn generate_mipmaps(&mut self, texture_size: u32, mip_level... method sample (line 221) | pub(crate) fn sample(&self, uv: Vec2, size: u32) -> Vec4 { function sample_attachment (line 267) | pub fn sample_attachment( function sample_height (line 297) | pub fn sample_height( FILE: src/terrain_data/tile_atlas.rs type Rgb8Image (line 23) | pub type Rgb8Image = ImageBuffer, Vec>; type Rgba8Image (line 24) | pub type Rgba8Image = ImageBuffer, Vec>; type R16Image (line 25) | pub type R16Image = ImageBuffer, Vec>; type Rg16Image (line 26) | pub type Rg16Image = ImageBuffer, Vec>; constant STORE_PNG (line 28) | const STORE_PNG: bool = false; type AtlasTile (line 31) | pub struct AtlasTile { method new (line 38) | pub fn new(tile_coordinate: TileCoordinate, atlas_index: u32) -> Self { method attachment (line 44) | pub fn attachment(self, attachment_index: u32) -> AtlasTileAttachment { method from (line 54) | fn from(tile: AtlasTileAttachment) -> Self { type AtlasTileAttachment (line 63) | pub struct AtlasTileAttachment { type AtlasTileAttachmentWithData (line 70) | pub(crate) struct AtlasTileAttachmentWithData { method start_saving (line 77) | pub(crate) fn start_saving(self, path: String) -> Task... method update (line 195) | fn update(&mut self, atlas_state: &mut TileAtlasState) { method load (line 226) | fn load(&mut self, tile: AtlasTileAttachment) { method save (line 238) | fn save(&mut self, tile: AtlasTileAttachment) { method sample (line 249) | fn sample(&self, lookup: TileLookup) -> Vec4 { type LoadingState (line 265) | enum LoadingState { type TileState (line 273) | struct TileState { type TileAtlasState (line 282) | pub(crate) struct TileAtlasState { method new (line 302) | fn new( method update (line 327) | fn update(&mut self, attachments: &mut [AtlasAttachment]) { method loaded_tile_attachment (line 347) | fn loaded_tile_attachment(&mut self, tile: AtlasTileAttachment) { method saved_tile_attachment (line 361) | fn saved_tile_attachment(&mut self, _tile: AtlasTileAttachment) { method downloaded_tile_attachment (line 365) | fn downloaded_tile_attachment(&mut self, _tile: AtlasTileAttachment) { method get_tile (line 369) | fn get_tile(&mut self, tile_coordinate: TileCoordinate) -> AtlasTile { method allocate_tile (line 383) | fn allocate_tile(&mut self) -> u32 { method get_or_allocate_tile (line 391) | fn get_or_allocate_tile(&mut self, tile_coordinate: TileCoordinate) ->... method request_tile (line 418) | fn request_tile(&mut self, tile_coordinate: TileCoordinate) { method release_tile (line 459) | fn release_tile(&mut self, tile_coordinate: TileCoordinate) { method get_best_tile (line 477) | fn get_best_tile(&self, tile_coordinate: TileCoordinate) -> TileTreeEn... type TileAtlas (line 519) | pub struct TileAtlas { method new (line 531) | pub fn new(config: &TerrainConfig) -> Self { method get_tile (line 553) | pub fn get_tile(&mut self, tile_coordinate: TileCoordinate) -> AtlasTi... method get_or_allocate_tile (line 557) | pub fn get_or_allocate_tile(&mut self, tile_coordinate: TileCoordinate... method save (line 561) | pub fn save(&mut self, tile: AtlasTileAttachment) { method get_best_tile (line 565) | pub(super) fn get_best_tile(&self, tile_coordinate: TileCoordinate) ->... method sample_attachment (line 569) | pub(super) fn sample_attachment(&self, tile_lookup: TileLookup, attach... method update (line 574) | pub(crate) fn update( method save_tile_config (line 605) | pub(crate) fn save_tile_config(&self) { method load_tile_config (line 616) | pub(crate) fn load_tile_config(path: &str) -> HashSet { FILE: src/terrain_data/tile_tree.rs type RequestState (line 20) | enum RequestState { type TileState (line 28) | struct TileState { method default (line 36) | fn default() -> Self { type TileTreeEntry (line 51) | pub(super) struct TileTreeEntry { method default (line 59) | fn default() -> Self { type TileLookup (line 69) | pub(super) struct TileLookup { constant INVALID (line 76) | pub(super) const INVALID: Self = Self { type TileTree (line 104) | pub struct TileTree { method new (line 135) | pub fn new(tile_atlas: &TileAtlas, view_config: &TerrainViewConfig) ->... method compute_tree_xy (line 175) | fn compute_tree_xy(coordinate: Coordinate, tile_count: f64) -> DVec2 { method compute_origin (line 180) | fn compute_origin(&self, coordinate: Coordinate, lod: u32) -> UVec2 { method compute_tile_distance (line 193) | fn compute_tile_distance( method compute_blend (line 223) | pub(super) fn compute_blend(&self, sample_world_position: DVec3) -> (u... method lookup_tile (line 239) | pub(super) fn lookup_tile( method update (line 268) | fn update(&mut self, view_position: DVec3, tile_atlas: &TileAtlas) { method compute_requests (line 337) | pub(crate) fn compute_requests( method adjust_to_tile_atlas (line 363) | pub(crate) fn adjust_to_tile_atlas( method approximate_height (line 376) | pub(crate) fn approximate_height( FILE: src/terrain_view.rs type TerrainViewComponents (line 7) | pub struct TerrainViewComponents(HashMap<(Entity, Entity), C>); method default (line 10) | fn default() -> Self { type TerrainViewConfig (line 19) | pub struct TerrainViewConfig { method default (line 48) | fn default() -> Self { FILE: src/util.rs function inverse_mix (line 8) | pub(crate) fn inverse_mix(a: f32, b: f32, value: f32) -> f32 { type CollectArray (line 12) | pub trait CollectArray: Iterator { method collect_array (line 13) | fn collect_array(self) -> [Self::Item; T] type Scratch (line 23) | enum Scratch { method new (line 30) | fn new(usage: BufferUsages) -> Self { method write (line 40) | fn write(&mut self, value: &T) { method contents (line 48) | fn contents(&self) -> &[u8] { type StaticBuffer (line 57) | pub struct StaticBuffer { function empty_sized (line 65) | pub fn empty_sized<'a>( function update_bytes (line 86) | pub fn update_bytes(&self, queue: &RenderQueue, bytes: &[u8]) { function empty (line 92) | pub fn empty<'a>( function create (line 114) | pub fn create<'a>( function value (line 137) | pub fn value(&self) -> &T { function set_value (line 141) | pub fn set_value(&mut self, value: T) { function update (line 145) | pub fn update(&mut self, queue: &RenderQueue) { type Target (line 155) | type Target = Buffer; method deref (line 158) | fn deref(&self) -> &Self::Target { function into_binding (line 165) | fn into_binding(self) -> BindingResource<'a> {