Enum rin::gl::fbo::DepthAttachment [−][src]
pub enum DepthAttachment {
TextureLevel(Texture, i32),
RenderBuffer(RenderBuffer),
CubeMapLevel(CubeMap, i32),
CubeMapFaceLevel(CubeMap, u32, i32),
}Represents a depth attachment for an Fbo
Can be a texture, a render buffer or a cubemap
Variants
RenderBuffer(RenderBuffer)Implementations
impl DepthAttachment[src]
impl DepthAttachment[src]Trait Implementations
impl<'a> BorrowDepthAttach for &'a DepthAttachment[src]
impl<'a> BorrowDepthAttach for &'a DepthAttachment[src]type DepthAttach = DepthAttachment
pub fn borrow_depth_attachment(&self) -> &DepthAttachment[src]
impl Debug for DepthAttachment[src]
impl Debug for DepthAttachment[src]impl DepthAttach for DepthAttachment[src]
impl DepthAttach for DepthAttachment[src]Auto Trait Implementations
impl !RefUnwindSafe for DepthAttachment
impl !Send for DepthAttachment
impl !Sync for DepthAttachment
impl Unpin for DepthAttachment
impl !UnwindSafe for DepthAttachment
Blanket Implementations
impl<C> BorrowDepthAttach for C where
C: DepthAttach, [src]
impl<C> BorrowDepthAttach for C where
C: DepthAttach, [src]type DepthAttach = C
pub fn borrow_depth_attachment(&self) -> &<C as BorrowDepthAttach>::DepthAttach[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]pub fn to_subset(&self) -> Option<SS>[src]
pub fn is_in_subset(&self) -> bool[src]
pub fn to_subset_unchecked(&self) -> SS[src]
pub fn from_subset(element: &SS) -> SP[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]