[]
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)
Public Sub SetViewport(x As Single, y As Single, width As Single, height As Single, Optional minZ As Single = 0, Optional maxZ As Single = 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)
Public Sub SetViewport(viewport As ViewportF)
| Type | Name | Description |
|---|---|---|
| ViewportF | viewport |