Struct rps_sys::RpsCmdRenderTargetInfo
source · #[repr(C)]pub struct RpsCmdRenderTargetInfo {
pub numRenderTargets: u32,
pub numSamples: u32,
pub depthStencilFormat: RpsFormat,
pub renderTargetFormats: [RpsFormat; 8],
}Expand description
Output resources for writing results of a graphics node.
Fields§
§numRenderTargets: u32Number of render targets used by the node.
numSamples: u32Number of MSAA samples.
depthStencilFormat: RpsFormatDepth stencil format or RPS_FORMAT_UNKNOWN if no depth buffer is bound.
renderTargetFormats: [RpsFormat; 8]Array of render target formats with one format for each of the numRenderTargets render targets.
Trait Implementations§
source§impl Clone for RpsCmdRenderTargetInfo
impl Clone for RpsCmdRenderTargetInfo
source§fn clone(&self) -> RpsCmdRenderTargetInfo
fn clone(&self) -> RpsCmdRenderTargetInfo
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