Struct basalt::interface::Interface [−][src]
pub struct Interface { /* fields omitted */ }
Implementations
The current scale without taking into account dpi based window scaling.
The current scale taking into account dpi based window scaling.
Set the current scale. Doesn’t account for dpi based window scaling.
Set the current scale taking into account dpi based window scaling.
Get the current MSAA level.
Set the MSAA Level.
Increase MSAA to the next step.
Decrease MSAA to the next step.
Returns a list of all bins that have a strong reference. Note keeping this list will keep all bins returned alive and prevent them from being dropped. This list should be dropped asap to prevent issues with bins being dropped.
pub fn draw<S: Send + Sync + 'static>(
&self,
cmd: AutoCommandBufferBuilder<PrimaryAutoCommandBuffer>,
target: ItfDrawTarget<S>
) -> (AutoCommandBufferBuilder<PrimaryAutoCommandBuffer>, Option<Arc<BstImageView>>)
Auto Trait Implementations
impl !RefUnwindSafe for Interface
impl !UnwindSafe for Interface
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.