Enum surfman::renderbuffers::Renderbuffers
source · pub(crate) enum Renderbuffers {
IndividualDepthStencil {
depth: c_uint,
stencil: c_uint,
},
CombinedDepthStencil(c_uint),
}
Variants§
Implementations§
source§impl Renderbuffers
impl Renderbuffers
pub(crate) fn new( gl: &Gl, size: &Size2D<i32>, attributes: &ContextAttributes, ) -> Renderbuffers
pub(crate) fn bind_to_current_framebuffer(&self, gl: &Gl)
pub(crate) fn destroy(&mut self, gl: &Gl)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Renderbuffers
impl RefUnwindSafe for Renderbuffers
impl Send for Renderbuffers
impl Sync for Renderbuffers
impl Unpin for Renderbuffers
impl UnwindSafe for Renderbuffers
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