Struct rin::postpo::dof::Dof [−][src]
pub struct Dof { /* fields omitted */ }Implementations
impl Dof[src]
impl Dof[src]pub fn new(
gl: &Renderer<'_, Screen>,
w: u32,
h: u32,
format: ColorFormat,
fullscreen_quad: Rc<SimpleVao<Vertex2DTex>>
) -> Result<Dof, Error>[src]
gl: &Renderer<'_, Screen>,
w: u32,
h: u32,
format: ColorFormat,
fullscreen_quad: Rc<SimpleVao<Vertex2DTex>>
) -> Result<Dof, Error>
pub fn process(
&self,
gl: &Renderer<'_, Screen>,
camera: &dyn CameraExt,
viewport: &Rect<i32>,
color: &Texture,
depth: DofDepth<'_>,
parameters: &DofParameters
) -> &Texture[src]
&self,
gl: &Renderer<'_, Screen>,
camera: &dyn CameraExt,
viewport: &Rect<i32>,
color: &Texture,
depth: DofDepth<'_>,
parameters: &DofParameters
) -> &Texture
Auto Trait Implementations
impl !RefUnwindSafe for Dof
impl !Send for Dof
impl !Sync for Dof
impl Unpin for Dof
impl !UnwindSafe for Dof
Blanket Implementations
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]