Struct rps_sys::RpsCmdViewportInfo
source · #[repr(C)]pub struct RpsCmdViewportInfo {
pub defaultRenderArea: RpsRect,
pub numViewports: u32,
pub numScissorRects: u32,
pub pViewports: *const RpsViewport,
pub pScissorRects: *const RpsRect,
}Expand description
@brief Screen regions to render to.
@ingroup RpsRenderGraphCommandRecording
Fields§
§defaultRenderArea: RpsRect< Default render area of the node. Usually deduced from the bound render
numViewports: u32< Number of viewports used by the node.
numScissorRects: u32< Number of scissor rectangles used by the node.
pViewports: *const RpsViewport< Pointer to an array of
pScissorRects: *const RpsRect< Pointer to an array of
Trait Implementations§
source§impl Clone for RpsCmdViewportInfo
impl Clone for RpsCmdViewportInfo
source§fn clone(&self) -> RpsCmdViewportInfo
fn clone(&self) -> RpsCmdViewportInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more