[]
Binds a single viewport to the rasterizer stage.
public void SetViewport(float x, float y, float width, float height, float minZ = 0, float maxZ = 1)
| Type | Name | Description |
|---|---|---|
| float | x | |
| float | y | |
| float | width | |
| float | height | |
| float | minZ | |
| float | maxZ |
Binds a single viewport to the rasterizer stage.
public void SetViewport(ViewportF viewport)
| Type | Name | Description |
|---|---|---|
| ViewportF | viewport |