[−][src]Struct fna3d::RenderTargetBinding
Offscreen rendering
Implementations
impl RenderTargetBinding
[src]
pub fn raw(&self) -> &FNA3D_RenderTargetBinding
[src]
pub fn raw_mut(&mut self) -> &mut FNA3D_RenderTargetBinding
[src]
pub fn new_2d(
type_: RenderTargetType,
level_count: u32,
multi_sample_count: u32,
texture: *mut Texture,
w: u32,
h: u32,
color_buffer: *mut Renderbuffer
) -> Self
[src]
type_: RenderTargetType,
level_count: u32,
multi_sample_count: u32,
texture: *mut Texture,
w: u32,
h: u32,
color_buffer: *mut Renderbuffer
) -> Self
pub fn new_cube(
type_: RenderTargetUsage,
level_count: u32,
multi_sample_count: u32,
texture: *mut Texture,
size: u32,
face: CubeMapFace,
color_buffer: *mut Renderbuffer
) -> Self
[src]
type_: RenderTargetUsage,
level_count: u32,
multi_sample_count: u32,
texture: *mut Texture,
size: u32,
face: CubeMapFace,
color_buffer: *mut Renderbuffer
) -> Self
Auto Trait Implementations
impl RefUnwindSafe for RenderTargetBinding
impl !Send for RenderTargetBinding
impl !Sync for RenderTargetBinding
impl Unpin for RenderTargetBinding
impl UnwindSafe for RenderTargetBinding
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,