ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / RasterizerStage Class / SetViewport Method / SetViewport(Single,Single,Single,Single,Single,Single) Method

In This Topic
    SetViewport(Single,Single,Single,Single,Single,Single) Method
    In This Topic
    Binds a single viewport to the rasterizer stage.
    Syntax
    'Declaration
     
    Public Overloads Sub SetViewport( _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal width As Single, _
       ByVal height As Single, _
       Optional ByVal minZ As Single, _
       Optional ByVal maxZ As Single _
    ) 
    public void SetViewport( 
       float x,
       float y,
       float width,
       float height,
       float minZ,
       float maxZ
    )

    Parameters

    x
    y
    width
    height
    minZ
    maxZ
    See Also