mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-17 01:23:00 +00:00
Merge pull request #506 from tomaka/doc-fix
Small documentation fix in viewport
This commit is contained in:
commit
7918ec2033
@ -132,10 +132,11 @@ pub struct Viewport {
|
||||
|
||||
/// Minimum and maximum values of the depth.
|
||||
///
|
||||
/// The values `-1.0` to `1.0` of each vertex's Z coordinate will be mapped to this
|
||||
/// The values `0.0` to `1.0` of each vertex's Z coordinate will be mapped to this
|
||||
/// `depth_range` before being compared to the existing depth value.
|
||||
///
|
||||
/// This is equivalents to `glDepthRange` in OpenGL.
|
||||
/// This is equivalents to `glDepthRange` in OpenGL, except that OpenGL uses the Z coordinate
|
||||
/// range from `-1.0` to `1.0` instead.
|
||||
pub depth_range: Range<f32>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user