Struct alto::Buffer
[−]
[src]
pub struct Buffer<'d: 'c, 'c> { /* fields omitted */ }
Methods
impl<'d: 'c, 'c> Buffer<'d, 'c>
[src]
fn context(&self) -> &Context<'d>
Context from which this buffer was created.
fn as_raw(&self) -> ALuint
Raw handle as provided by OpenAL.
fn set_data<F: SampleFrame, R: AsBufferData<F>>(&mut self,
data: R,
freq: i32)
-> AltoResult<()>
data: R,
freq: i32)
-> AltoResult<()>