FViewportBounds

Viewport bounds structure to set multiple view ports for the geometry shader (needs to be 1:1 to the D3D11 structure)

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHI.h

Include

#include "RHI.h"

Syntax

struct FViewportBounds

Remarks

Viewport bounds structure to set multiple view ports for the geometry shader (needs to be 1:1 to the D3D11 structure)

Variables

Name Description

Public variable

float

 

Height

Public variable

float

 

MaxDepth

Public variable

float

 

MinDepth

Public variable

float

 

TopLeftX

Public variable

float

 

TopLeftY

Public variable

float

 

Width

Constructors

Name Description

Public function

FViewportBounds()

Public function

FViewportBounds

(
    float InTopLeftX,
    float InTopLeftY,
    float InWidth,
    float InHeight,
    float InMinDepth,
    float InMaxDepth
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss