Enum glin::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
fn borrow_depth_attachment(&self) -> &DepthAttachment[src]
impl DepthAttach for DepthAttachment[src]
impl DepthAttach for DepthAttachment[src]