pub(crate) fn new(cb: ColorBuffer, db: DepthBuffer, size: (u32, u32)) -> Self {
        Target {
            color_bufs: vec![cb],
            depth_buf: Some(db),
            size: size,
        }
    }
/// Creates a new `Target` from a single color buffer and depth buffer pair.
Creates a new `Target` from a single color buffer and depth buffer pair.
Creates a new ` Target ` from a single color buffer and depth buffer pair .
pub(crate) fn new(cb: ColorBuffer, db: DepthBuffer, size: (u32, u32)) -> Self {
        Target {
            color_bufs: vec![cb],
            depth_buf: Some(db),
            size: size,
        }
    }
pub ( crate ) fn new ( cb : ColorBuffer , db : DepthBuffer , size : ( u32 , u32 ) ) -> Self { Target { color_bufs : vec ! [ cb ] , depth_buf : Some ( db ) , size : size , } }
Creates a new `Target` from a single color buffer and depth buffer pair.
Creates a new ` Target ` from a single color buffer and depth buffer pair .
cb
ColorBuffer
db
DepthBuffer
size
(u32, u32)
cb
ColorBuffer
db
DepthBuffer
size
(u32, u32)