mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Remove get_ prefix from functions to better follow Rust API Guidelines
This commit is contained in:
@@ -569,7 +569,7 @@ impl RenderPass {
|
||||
/// This could be used by custom paint hooks to render images that have been added through with
|
||||
/// [`egui_extras::RetainedImage`](https://docs.rs/egui_extras/latest/egui_extras/image/struct.RetainedImage.html)
|
||||
/// or [`egui::Context::load_texture`].
|
||||
pub fn get_texture(
|
||||
pub fn texture(
|
||||
&self,
|
||||
id: &egui::TextureId,
|
||||
) -> Option<&(Option<wgpu::Texture>, wgpu::BindGroup)> {
|
||||
|
||||
Reference in New Issue
Block a user