pub struct TileLayerGroup { /* private fields */ }Implementations§
Trait Implementations§
Source§impl LayerGroupBase for TileLayerGroup
impl LayerGroupBase for TileLayerGroup
fn base(&self) -> &LayerGroupBaseData
fn base_mut(&mut self) -> &mut LayerGroupBaseData
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Source§fn as_tile_layer_group(&self) -> Option<&TileLayerGroup>
fn as_tile_layer_group(&self) -> Option<&TileLayerGroup>
The
static_cast<TileLayerGroup&> used by visitLayerGroupDrawables
and the render layers.fn as_tile_layer_group_mut(&mut self) -> Option<&mut TileLayerGroup>
Source§fn get_drawable_count(&self) -> usize
fn get_drawable_count(&self) -> usize
Get the number of drawables contained
Source§fn clear_drawables(&mut self) -> usize
fn clear_drawables(&mut self) -> usize
Clear the drawable collection
Source§fn upload(&mut self, upload_pass: &dyn UploadPass)
fn upload(&mut self, upload_pass: &dyn UploadPass)
Called during the upload pass
Source§fn render(&mut self, parameters: &mut dyn PaintParameters)
fn render(&mut self, parameters: &mut dyn PaintParameters)
Called during each render pass
Source§fn get_uniform_buffers(&self) -> &UniformBufferArray
fn get_uniform_buffers(&self) -> &UniformBufferArray
Get the uniform buffers attached to this layer group
fn mutable_uniform_buffers(&mut self) -> &mut UniformBufferArray
fn as_layer_group(&self) -> Option<&LayerGroup>
fn as_layer_group_mut(&mut self) -> Option<&mut LayerGroup>
Source§fn pre_render(&mut self, _parameters: &mut dyn PaintParameters)
fn pre_render(&mut self, _parameters: &mut dyn PaintParameters)
Called before starting each frame
Source§fn post_render(&mut self, _parameters: &mut dyn PaintParameters)
fn post_render(&mut self, _parameters: &mut dyn PaintParameters)
Called at the end of each frame
Source§fn update_layer_index(&mut self, value: i32)
fn update_layer_index(&mut self, value: i32)
Update the layer index to a new value
fn get_id(&self) -> SimpleIdentity
fn get_enabled(&self) -> bool
fn set_enabled(&mut self, value: bool)
fn get_type(&self) -> Type
fn get_name(&self) -> &str
fn set_name(&mut self, value: String)
fn get_layer_index(&self) -> i32
fn empty(&self) -> bool
Source§fn set_observer(&mut self, observer: Option<Rc<dyn ContextObserver>>)
fn set_observer(&mut self, observer: Option<Rc<dyn ContextObserver>>)
setObserver(nullptr) restores the null observer.Auto Trait Implementations§
impl !RefUnwindSafe for TileLayerGroup
impl !Send for TileLayerGroup
impl !Sync for TileLayerGroup
impl !UnwindSafe for TileLayerGroup
impl Forget for TileLayerGroup
impl Freeze for TileLayerGroup
impl Unpin for TileLayerGroup
impl UnsafeUnpin for TileLayerGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more