Struct glin::fbo::RenderBufferBuilder [−][src]
pub struct RenderBufferBuilder<'a>(_);
Implementations
impl<'a> RenderBufferBuilder<'a>
[src]
impl<'a> RenderBufferBuilder<'a>
[src]pub fn create(&self, w: u32, h: u32, internal: GLenum) -> Result<RenderBuffer>
[src]
Create a new RenderBuffer
with the specified width, height and internal format
pub fn create_multisampled(
&self,
w: u32,
h: u32,
samples: u32,
internal: GLenum
) -> Result<RenderBuffer>
[src]
&self,
w: u32,
h: u32,
samples: u32,
internal: GLenum
) -> Result<RenderBuffer>
Create a new RenderBuffer
with the specified width, height and internal format
pub unsafe fn from_allocated(
&self,
id: u32,
owned: bool,
w: u32,
h: u32
) -> RenderBuffer
[src]
&self,
id: u32,
owned: bool,
w: u32,
h: u32
) -> RenderBuffer
pub unsafe fn from_allocated_multisample(
&self,
id: u32,
owned: bool,
w: u32,
h: u32,
samples: u32
) -> RenderBuffer
[src]
&self,
id: u32,
owned: bool,
w: u32,
h: u32,
samples: u32
) -> RenderBuffer