Struct pmse_render::PmseRenderSc
source · pub struct PmseRenderSc { /* private fields */ }Expand description
交换链 (swapchain) 管理
Implementations§
source§impl PmseRenderSc
impl PmseRenderSc
pub fn new(h: &PmseRenderHost, size: [u32; 2]) -> Result<Self, Box<dyn Error>>
sourcepub fn init_framebuffer(
&mut self,
rp: &Arc<RenderPass>,
) -> Result<(), Box<dyn Error>>
pub fn init_framebuffer( &mut self, rp: &Arc<RenderPass>, ) -> Result<(), Box<dyn Error>>
创建帧缓冲区
sourcepub fn framebuffer(&self) -> &Vec<Arc<Framebuffer>>
pub fn framebuffer(&self) -> &Vec<Arc<Framebuffer>>
获取帧缓冲
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PmseRenderSc
impl !RefUnwindSafe for PmseRenderSc
impl Send for PmseRenderSc
impl Sync for PmseRenderSc
impl Unpin for PmseRenderSc
impl !UnwindSafe for PmseRenderSc
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