Skip to main content

TileLayerGroup

Struct TileLayerGroup 

Source
pub struct TileLayerGroup { /* private fields */ }

Implementations§

Source§

impl TileLayerGroup

Source

pub fn new(layer_index: i32, initial_capacity: usize, name: String) -> Self

Trait Implementations§

Source§

impl LayerGroupBase for TileLayerGroup

Source§

fn base(&self) -> &LayerGroupBaseData

Source§

fn base_mut(&mut self) -> &mut LayerGroupBaseData

Source§

fn as_any(&self) -> &dyn Any

Source§

fn as_any_mut(&mut self) -> &mut dyn Any

Source§

fn as_tile_layer_group(&self) -> Option<&TileLayerGroup>

The static_cast<TileLayerGroup&> used by visitLayerGroupDrawables and the render layers.
Source§

fn as_tile_layer_group_mut(&mut self) -> Option<&mut TileLayerGroup>

Source§

fn get_drawable_count(&self) -> usize

Get the number of drawables contained
Source§

fn clear_drawables(&mut self) -> usize

Clear the drawable collection
Source§

fn upload(&mut self, upload_pass: &dyn UploadPass)

Called during the upload pass
Source§

fn render(&mut self, parameters: &mut dyn PaintParameters)

Called during each render pass
Source§

fn get_uniform_buffers(&self) -> &UniformBufferArray

Get the uniform buffers attached to this layer group
Source§

fn mutable_uniform_buffers(&mut self) -> &mut UniformBufferArray

Source§

fn as_layer_group(&self) -> Option<&LayerGroup>

Source§

fn as_layer_group_mut(&mut self) -> Option<&mut LayerGroup>

Source§

fn pre_render(&mut self, _parameters: &mut dyn PaintParameters)

Called before starting each frame
Source§

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)

Update the layer index to a new value
Source§

fn get_id(&self) -> SimpleIdentity

Source§

fn get_enabled(&self) -> bool

Source§

fn set_enabled(&mut self, value: bool)

Source§

fn get_type(&self) -> Type

Source§

fn get_name(&self) -> &str

Source§

fn set_name(&mut self, value: String)

Source§

fn get_layer_index(&self) -> i32

Source§

fn empty(&self) -> bool

Source§

fn set_observer(&mut self, observer: Option<Rc<dyn ContextObserver>>)

setObserver(nullptr) restores the null observer.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> AsAny for T
where T: 'static,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>