Struct oxygengine_ha_renderer::pipeline::render_queue::RenderQueue
source · pub struct RenderQueue {
pub persistent: bool,
/* private fields */
}
Fields§
§persistent: bool
Implementations§
source§impl RenderQueue
impl RenderQueue
pub fn new(size: RenderQueueSize, persistent: bool) -> Self
pub fn size(&self) -> RenderQueueSize
pub fn auto_recorder( &mut self, initial_group: Option<usize> ) -> RenderQueueAutoRecorder<'_>
pub fn record( &mut self, group: usize, order: usize, command: RenderCommand ) -> Result<(), RenderQueueError>
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn commands(&self) -> &[(GroupOrder, RenderCommand)]
pub fn iter(&self) -> impl Iterator<Item = &RenderCommand>
pub fn move_into(&mut self, other: &mut Self) -> Result<(), RenderQueueError>
pub fn clone_into(&self, other: &mut Self) -> Result<(), RenderQueueError>
pub fn remap_groups<F>(&mut self, f: F)where F: FnMut(usize) -> usize,
pub fn sort_by_group_order(&mut self, stable: bool)
pub fn clear(&mut self)
pub fn execute( &mut self, context: &Context, resources: &RenderStageResources<'_>, stats: &mut RenderStats, height: usize ) -> Result<(), RenderQueueError>
Trait Implementations§
source§impl Clone for RenderQueue
impl Clone for RenderQueue
source§fn clone(&self) -> RenderQueue
fn clone(&self) -> RenderQueue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RenderQueue
impl Debug for RenderQueue
source§impl Default for RenderQueue
impl Default for RenderQueue
source§impl<'de> Deserialize<'de> for RenderQueue
impl<'de> Deserialize<'de> for RenderQueue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RenderQueue
impl Send for RenderQueue
impl Sync for RenderQueue
impl Unpin for RenderQueue
impl UnwindSafe for RenderQueue
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more