struct

WGPU::Viewport

Inherits Struct / Value / Object

A render viewport region.

See Also: RenderPass.viewport=

Constructors

new(x : UInt32, y : UInt32, width : UInt32, height : UInt32, min_depth : Float32, max_depth : Float32)
Source

Instance methods

clone
Source
copy_with(x _x = @x, y _y = @y, width _width = @width, height _height = @height, min_depth _min_depth = @min_depth, max_depth _max_depth = @max_depth)
Source
height
max_depth
min_depth
width
x
y