MCPcopy Create free account

hub / github.com/brandonpollack23/sarekt / functions

Functions225 in github.com/brandonpollack23/sarekt

↓ 120 callersMethodbuild
(self)
src/renderer/drawable_object.rs:130
↓ 18 callersMethodrecreate_swapchain
Recreates teh swapchain using the new parameters and returns the old swapchain and images/views. Unsafe because of FFI use and the returned swapchain
src/renderer/vulkan/vulkan_renderer/render_targets.rs:123
↓ 15 callersMethodload_buffer
( &mut self, buffer_type: BufferType, buffer: &[BufElem], )
src/renderer/vulkan/vulkan_renderer/mod.rs:913
↓ 12 callersMethodformat
(&self)
src/image_data.rs:78
↓ 10 callersMethoddraw
TODO(issue#1) MULTITHREADING maybe need put everything that may need to be recreated in a cell? TODO(issue#6) UNIFORMS do push_constant uniform buffer
src/renderer/vulkan/vulkan_renderer/mod.rs:1071
↓ 10 callersMethodimage
(self)
src/renderer/vulkan/vulkan_buffer_image_functions.rs:1037
↓ 10 callersMethodload_uniform_buffer
( &mut self, buffer: UniformBufElem, )
src/renderer/vulkan/vulkan_renderer/mod.rs:958
↓ 10 callersMethoduniform_buffer
( mut self, uniform_buffer: &'c UniformBufferHandle<R::BL, DescriptorLayoutStruct>, )
src/renderer/drawable_object.rs:152
↓ 10 callersMethodvertex_buffer
( mut self, vertex_buffer: &'a BufferImageHandle<R::BL>, )
src/renderer/drawable_object.rs:140
↓ 9 callersMethodframe
TODO(issue#9) OFFSCREEN handle off screen rendering.
src/renderer/vulkan/vulkan_renderer/mod.rs:841
↓ 9 callersMethodindex_buffer
(mut self, index_buffer: &'b BufferImageHandle<R::BL>)
src/renderer/drawable_object.rs:147
↓ 9 callersMethodset_rendering_enabled
(&mut self, enabled: bool)
src/renderer/vulkan/vulkan_renderer/mod.rs:836
↓ 7 callersMethodtexture_image
(mut self, texture_image: &'d BufferImageHandle<R::BL>)
src/renderer/drawable_object.rs:159
↓ 6 callersMethodset_uniform
TODO(issue#6) BUFFERS BACKLOG for UniformBufferHandle/DataHandle can specify push_constant type and switch on that in update uniform. TODO(issue#7) PE
src/renderer/drawable_object.rs:100
↓ 5 callersMethodload_image_with_staging_initialization
Same as `load_buffer_with_staging` but loads an r8b8g8a8 image instead.
src/renderer/buffers_and_images.rs:281
↓ 4 callersMethodbuffer
(self)
src/renderer/vulkan/vulkan_buffer_image_functions.rs:1030
↓ 4 callersMethoddestroy_buffer
Destroy a buffer and free the memory associated with it from the backend/GPU.
src/renderer/buffers_and_images.rs:269
↓ 3 callersMethodcreate_image_view
vk::ImageAspectFlags specify what kind of attachment this image can be used for (COLOR, DEPTH, etc).
src/renderer/vulkan/vulkan_buffer_image_functions.rs:602
↓ 3 callersMethoddelete_buffer_or_image
(&self, handle: ResourceWithMemory)
src/renderer/vulkan/vulkan_buffer_image_functions.rs:994
↓ 3 callersMethoddimensions
(&self)
src/image_data.rs:63
↓ 3 callersMethodis_complete
TODO(issue#9) OFFSCREEN is_complete_for_offscreen also that doesn't need presentation.
src/renderer/vulkan/queues.rs:12
↓ 3 callersMethodsetup_next_main_command_buffer
Sets up the command buffers for recording. The command buffers are written to by the [Drawer](trait.Drawer.html) draw commands.
src/renderer/vulkan/vulkan_renderer/mod.rs:440
↓ 3 callersFunctionupdate_uniforms
( renderer: &VulkanRenderer, rect: &DrawableObject<VulkanRenderer, DefaultForwardShaderLayout>, position:
examples/07_depth_buffer_test.rs:248
↓ 2 callersMethodas_vec
Returns all the queue indices as an array for easily handing over to Vulkan. Returns None if not complete
src/renderer/vulkan/queues.rs:20
↓ 2 callersFunctionassert_no_warnings_or_errors_in_debug_user_data
(debug_user_data: &Pin<Arc<DebugUserData>>)
src/renderer/vulkan/vulkan_renderer/mod.rs:1175
↓ 2 callersMethodcleanup
Cleans up all vulkan resources, unsafe because it should only be called when these resources are no longer needed.
src/renderer/vulkan/vulkan_renderer/pipelines.rs:247
↓ 2 callersMethodcleanup_swapchain
Cleans up all resources dependent on the swapchain and the swapchain itself. ImageViews Render Passes Graphics Pipelines Framebuffers Command Buffers.
src/renderer/vulkan/vulkan_renderer/mod.rs:355
↓ 2 callersMethodclear
()
src/image_data.rs:105
↓ 2 callersMethodcreate_cpu_accessible_buffer
For creating a cpu accessible buffer for any usage (more generic than staging buffer). Set usage flags as you see fit (or don't...).
src/renderer/vulkan/vulkan_buffer_image_functions.rs:121
↓ 2 callersMethodcreate_gpu_image
Creates a buffer with TRANSFER_DST and appropriate image type flags flipped.
src/renderer/vulkan/vulkan_buffer_image_functions.rs:179
↓ 2 callersMethodcreate_staging_buffer
Creates a CPU visible staging buffer that has the TRANSFER_SRC usage bit flipped.
src/renderer/vulkan/vulkan_buffer_image_functions.rs:110
↓ 2 callersMethoddelete_shader
(&self, shader: vk::ShaderModule)
src/renderer/vulkan/vulkan_shader_functions.rs:33
↓ 2 callersMethoddestroy_image
Same as `destroy_buffer` but for images.
src/renderer/buffers_and_images.rs:356
↓ 2 callersMethodget_buffer
Retrieves the buffer associated with the handle to be bound etc.
src/renderer/buffers_and_images.rs:368
↓ 2 callersMethodget_image_available_sem
Returns semaphore associated with swapchain image availability, with bounds checking.
src/renderer/vulkan/vulkan_renderer/draw_synchronization.rs:80
↓ 2 callersMethodget_shader
Retrieve a loaded shader to be used in pipeline construction, etc.
src/renderer/shaders.rs:161
↓ 2 callersMethodget_u32_version
Get Major Minor Patch in a single u32.
src/renderer/config.rs:78
↓ 2 callersMethodinsert_layout_transition_barrier
TODO(issue#18) IMAGE MIPMAPPING levels as params Returns the source and destination queue family indices.
src/renderer/vulkan/vulkan_buffer_image_functions.rs:683
↓ 2 callersMethodinto_bytes
(self)
src/image_data.rs:44
↓ 2 callersFunctionmain_loop_window_event
Handles all winit window specific events.
examples/10_msaa.rs:236
↓ 2 callersMethodrun
(&mut self)
examples/00_base_code.rs:10
↓ 2 callersMethodtransfer_staging_to_gpu_buffer_or_image
TODO(issue#30) IMAGES support pre-generated mip levels.
src/renderer/vulkan/vulkan_buffer_image_functions.rs:209
↓ 2 callersFunctionusage_flags_from_buffer_type
(buffer_type: BufferType)
src/renderer/vulkan/vulkan_buffer_image_functions.rs:1076
↓ 2 callersMethodwait_for_acquire_fence
Waits for the image and its associated objects to be ready to be written to.
src/renderer/vulkan/vulkan_renderer/draw_synchronization.rs:56
↓ 1 callersMethodaccept_image_transfer_and_generate_mipmaps
Accepts ownership of the image and generates the requested number of mip levels using a blit.
src/renderer/vulkan/vulkan_buffer_image_functions.rs:334
↓ 1 callersMethodacquire_next_image
Gets the next image in the swapchain to draw to and associates the given semaphore and fence with it.
src/renderer/vulkan/vulkan_renderer/render_targets.rs:70
↓ 1 callersMethodcleanup_descriptor_set_layouts
Must be called during renderer's drop.
src/renderer/vulkan/vulkan_renderer/pipelines.rs:235
↓ 1 callersMethodcleanup_render_targets
Useful during swapchain recreation, but the specific render targets and swapchain to delete are specified, since the current ones are always contained
src/renderer/vulkan/vulkan_renderer/render_targets.rs:163
↓ 1 callersMethodcreate_default_texture
================================================================================ Null object setup methods ===========================================
src/renderer/vulkan/vulkan_renderer/mod.rs:806
↓ 1 callersMethodcreate_gpu_buffer
Create a buffer with TRANSFER_DST and appropriate buffer type flags flipped.
src/renderer/vulkan/vulkan_buffer_image_functions.rs:151
↓ 1 callersMethodcreate_sampler
( &self, magnification_filter: MagnificationMinificationFilter, minification_filter: MagnificationMini
src/renderer/vulkan/vulkan_buffer_image_functions.rs:627
↓ 1 callersMethodcreate_uninitialized_image
Returns the handle to buffer or image and the backend buffer or image and memory.
src/renderer/buffers_and_images.rs:320
↓ 1 callersMethoddestroy_all
(&self)
src/renderer/vulkan/vulkan_renderer/draw_synchronization.rs:178
↓ 1 callersMethoddestroy_all_images_and_buffers
Does what it says on the tin, but for all the buffers. See destroy_buffers.
src/renderer/buffers_and_images.rs:399
↓ 1 callersMethoddestroy_all_shaders
Destroys all the shaders. Unsafe because any outstanding handles will not result in errors when they drop, so they must be forgotten.
src/renderer/shaders.rs:147
↓ 1 callersMethoddestroy_shader
Using the handle, destroy the shader from the backend.
src/renderer/shaders.rs:134
↓ 1 callersMethoddo_recreate_swapchain
When the target dimensions or requirements change, we must recreate a bunch of stuff to remain compatible and continue rendering to the new surface.
src/renderer/vulkan/vulkan_renderer/mod.rs:249
↓ 1 callersMethoddraw_vertices_cmd
================================================================================ Draw Helper Methods =================================================
src/renderer/vulkan/vulkan_renderer/mod.rs:648
↓ 1 callersMethodensure_image_resources_ready
Ensures that the image is not currently in flight, so the command buffers for it are safe to write to (they are in the ready state). Returns the fram
src/renderer/vulkan/vulkan_renderer/draw_synchronization.rs:100
↓ 1 callersMethodextent_is_equal_to
Checks if the width and height given differ from the render target extent.
src/renderer/vulkan/vulkan_renderer/render_targets.rs:115
↓ 1 callersMethodgenerate_mipmaps_shader_ro_optimal
Use blitting to create mipmap textures. Returns the source and destination queue family indices.
src/renderer/vulkan/vulkan_buffer_image_functions.rs:437
↓ 1 callersMethodget_acquire_fence
Returns fence used for image acquisition for swapchain.
src/renderer/vulkan/vulkan_renderer/draw_synchronization.rs:50
↓ 1 callersMethodget_buffer
( &self, handle: &BufferImageHandle<VulkanBufferImageFunctions>, )
src/renderer/vulkan/vulkan_renderer/mod.rs:943
↓ 1 callersMethodget_current_pipeline
Gets the currently active pipeline (just the base pipeline for now).
src/renderer/vulkan/vulkan_renderer/pipelines.rs:117
↓ 1 callersMethodget_debug_user_data
(&self)
src/renderer/vulkan/vulkan_renderer/vulkan_core.rs:94
↓ 1 callersMethodget_error_counts
(&self)
src/renderer/vulkan/vulkan_renderer/debug_utils_ext.rs:131
↓ 1 callersMethodget_framebuffer
Returns the framebuffer of the given (swapchain) index.
src/renderer/vulkan/vulkan_renderer/pipelines.rs:139
↓ 1 callersMethodget_image
Same as `get_buffer` but for images.
src/renderer/buffers_and_images.rs:383
↓ 1 callersMethodget_image_fence
Returns fence associated with swapchain image, with bounds checking.
src/renderer/vulkan/vulkan_renderer/draw_synchronization.rs:71
↓ 1 callersFunctionget_mip_levels
(dimensions: (u32, u32))
examples/09_mip_levels.rs:410
↓ 1 callersFunctionget_mip_levels
(dimensions: (u32, u32))
examples/10_msaa.rs:424
↓ 1 callersMethodget_pipeline_descriptor_layouts
Returns the descriptor layouts of the current pipeline (just base for now).
src/renderer/vulkan/vulkan_renderer/pipelines.rs:128
↓ 1 callersMethodget_pipeline_layout
Returns the current pipeline layout (just base for now).
src/renderer/vulkan/vulkan_renderer/pipelines.rs:122
↓ 1 callersMethodget_render_finished_semaphore
Returns semaphore associated with swapchain image render output to COLOR attachment, with bounds checking.
src/renderer/vulkan/vulkan_renderer/draw_synchronization.rs:89
↓ 1 callersMethodget_render_target_format
(&self)
src/renderer/vulkan/vulkan_renderer/render_targets.rs:110
↓ 1 callersMethodget_uniform_buffer
( &self, handle: &UniformBufferHandle<VulkanBufferImageFunctions, UniformBufElem>, )
src/renderer/vulkan/vulkan_renderer/mod.rs:980
↓ 1 callersMethodincrement_frame_count
================================================================================ Renderer Utility Methods ============================================
src/renderer/vulkan/vulkan_renderer/mod.rs:825
↓ 1 callersMethodinto_rgba8
(self)
src/image_data.rs:59
↓ 1 callersFunctionload_glb_model
Returns (vertices, vertex_indicies, texture_coordinate indices)
examples/08_model_loading.rs:363
↓ 1 callersFunctionload_glb_model
Returns (vertices, vertex_indicies, texture_coordinate indices)
examples/09_mip_levels.rs:370
↓ 1 callersFunctionload_glb_model
Returns (vertices, vertex_indicies, texture_coordinate indices)
examples/10_msaa.rs:384
↓ 1 callersFunctionload_obj_models
For now only use the first object in the obj file. Returns (vertices, vertex_indicies, texture_coordinate indices)
examples/08_model_loading.rs:283
↓ 1 callersFunctionload_obj_models
For now only use the first object in the obj file. Returns (vertices, vertex_indicies, texture_coordinate indices)
examples/09_mip_levels.rs:290
↓ 1 callersFunctionload_obj_models
For now only use the first object in the obj file. Returns (vertices, vertex_indicies, texture_coordinate indices)
examples/10_msaa.rs:304
↓ 1 callersFunctionmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/04_loading_indexed_vertices.rs:44
↓ 1 callersFunctionmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/08_model_loading.rs:40
↓ 1 callersFunctionmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/05_uniform_buffers.rs:44
↓ 1 callersFunctionmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/07_depth_buffer_test.rs:48
↓ 1 callersFunctionmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/06_textures.rs:48
↓ 1 callersFunctionmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/09_mip_levels.rs:42
↓ 1 callersFunctionmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/10_msaa.rs:44
↓ 1 callersFunctionmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/03_loading_vertices.rs:42
↓ 1 callersMethodmain_loop
Takes full control of the executing thread and runs the event loop for it.
examples/02_basic_loop.rs:49
↓ 1 callersFunctionmain_loop_window_event
Handles all winit window specific events.
examples/04_loading_indexed_vertices.rs:134
↓ 1 callersFunctionmain_loop_window_event
Handles all winit window specific events.
examples/08_model_loading.rs:215
↓ 1 callersFunctionmain_loop_window_event
Handles all winit window specific events.
examples/05_uniform_buffers.rs:160
↓ 1 callersFunctionmain_loop_window_event
Handles all winit window specific events.
examples/07_depth_buffer_test.rs:272
↓ 1 callersFunctionmain_loop_window_event
Handles all winit window specific events.
examples/06_textures.rs:208
↓ 1 callersFunctionmain_loop_window_event
Handles all winit window specific events.
examples/09_mip_levels.rs:222
↓ 1 callersFunctionmain_loop_window_event
Handles all winit window specific events.
examples/03_loading_vertices.rs:126
next →1–100 of 225, ranked by callers