pub struct RenderBuffer {
pub texture_id: u32,
pub width: u32,
pub height: u32,
pub has_stencil_buffer: bool,
pub has_depth_buffer: bool,
}Expand description
RenderBuffer description. (See GpuDriver::create_render_buffer).
Fields§
§texture_id: u32The backing texture id for this render buffer.
width: u32The width of the backing texture.
height: u32The height of the backing texture.
has_stencil_buffer: boolDoes the backing texture contain stencil buffer. (currently unused always false).
has_depth_buffer: boolDoes the backing texture contain depth buffer. (currently unused always false).
Trait Implementations§
Source§impl Debug for RenderBuffer
impl Debug for RenderBuffer
Source§impl From<ULRenderBuffer> for RenderBuffer
impl From<ULRenderBuffer> for RenderBuffer
Source§fn from(rb: ULRenderBuffer) -> Self
fn from(rb: ULRenderBuffer) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RenderBuffer
impl RefUnwindSafe for RenderBuffer
impl Send for RenderBuffer
impl Sync for RenderBuffer
impl Unpin for RenderBuffer
impl UnwindSafe for RenderBuffer
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