Skip to main content

IFramebufferPlatformSurface

Trait IFramebufferPlatformSurface 

Source
pub trait IFramebufferPlatformSurface: IPlatformRenderSurface {
    // Required method
    fn create_framebuffer_render_target(
        &self,
    ) -> Rc<dyn IFramebufferRenderTarget>;
}
Expand description

A surface that is rendered to through a locked framebuffer.

Required Methods§

Source

fn create_framebuffer_render_target(&self) -> Rc<dyn IFramebufferRenderTarget>

Creates the framebuffer render target of the surface.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§