Enum rin::gl::fbo::ColorAttachment [−][src]
pub enum ColorAttachment { TextureLevel(Texture, i32), RenderBuffer(RenderBuffer), CubeMapLevel(CubeMap, i32), CubeMapFaceLevel(CubeMap, u32, i32), }
Represents a color attachment for an Fbo
Can be a texture, a render buffer or a cubemap
Variants
RenderBuffer(RenderBuffer)
Implementations
impl ColorAttachment
[src]
impl ColorAttachment
[src]Trait Implementations
impl<'a> BorrowColorAttach for &'a ColorAttachment
[src]
impl<'a> BorrowColorAttach for &'a ColorAttachment
[src]type ColorAttach = ColorAttachment
pub fn borrow_color_attachment(&self) -> &ColorAttachment
[src]
impl ColorAttach for ColorAttachment
[src]
impl ColorAttach for ColorAttachment
[src]Auto Trait Implementations
impl !RefUnwindSafe for ColorAttachment
impl !Send for ColorAttachment
impl !Sync for ColorAttachment
impl Unpin for ColorAttachment
impl !UnwindSafe for ColorAttachment
Blanket Implementations
impl<C> BorrowColorAttach for C where
C: ColorAttach,
[src]
impl<C> BorrowColorAttach for C where
C: ColorAttach,
[src]type ColorAttach = C
pub fn borrow_color_attachment(&self) -> &<C as BorrowColorAttach>::ColorAttach
[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]