[−][src]Struct glium::framebuffer::EmptyFrameBuffer
A framebuffer with no attachment at all.
Note that this is only supported on recent hardware.
Implementations
impl<'a> EmptyFrameBuffer
[src][−]
pub fn is_supported<C: ?Sized>(context: &C) -> bool where
C: CapabilitiesSource,
[src][−]
C: CapabilitiesSource,
Returns true if empty framebuffers are supported by the backend.
pub fn is_layered_supported<C: ?Sized>(context: &C) -> bool where
C: CapabilitiesSource,
[src][−]
C: CapabilitiesSource,
Returns true if layered empty framebuffers are supported by the backend.
pub fn get_max_supported_width<C: ?Sized>(context: &C) -> Option<u32> where
C: CapabilitiesSource,
[src][−]
C: CapabilitiesSource,
Returns the maximum width of empty framebuffers that the backend supports, or None
if
empty framebuffers are not supported.
pub fn get_max_supported_height<C: ?Sized>(context: &C) -> Option<u32> where
C: CapabilitiesSource,
[src][−]
C: CapabilitiesSource,
Returns the maximum height of empty framebuffers that the backend supports, or None
if
empty framebuffers are not supported.
pub fn get_max_supported_samples<C: ?Sized>(context: &C) -> Option<u32> where
C: CapabilitiesSource,
[src][−]
C: CapabilitiesSource,
Returns the maximum number of samples of empty framebuffers that the backend supports,
or None
if empty framebuffers are not supported.
pub fn get_max_supported_layers<C: ?Sized>(context: &C) -> Option<u32> where
C: CapabilitiesSource,
[src][−]
C: CapabilitiesSource,
Returns the maximum number of layers of empty framebuffers that the backend supports,
or None
if layered empty framebuffers are not supported.
pub fn new<F: ?Sized>(
facade: &F,
width: u32,
height: u32,
layers: Option<u32>,
samples: Option<u32>,
fixed_samples: bool
) -> Result<EmptyFrameBuffer, ValidationError> where
F: Facade,
[src][−]
facade: &F,
width: u32,
height: u32,
layers: Option<u32>,
samples: Option<u32>,
fixed_samples: bool
) -> Result<EmptyFrameBuffer, ValidationError> where
F: Facade,
Trait Implementations
impl Surface for EmptyFrameBuffer
[src][+]
Auto Trait Implementations
impl !RefUnwindSafe for EmptyFrameBuffer
impl !Send for EmptyFrameBuffer
impl !Sync for EmptyFrameBuffer
impl Unpin for EmptyFrameBuffer
impl !UnwindSafe for EmptyFrameBuffer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,