UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FViewportBounds Struct Reference

#include <RHI.h>

Public Member Functions

 FViewportBounds ()
 
 FViewportBounds (float InTopLeftX, float InTopLeftY, float InWidth, float InHeight, float InMinDepth=0.0f, float InMaxDepth=1.0f)
 

Public Attributes

float TopLeftX
 
float TopLeftY
 
float Width
 
float Height
 
float MinDepth
 
float MaxDepth
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FViewportBounds() [1/2]

FViewportBounds::FViewportBounds ( )
inline

◆ FViewportBounds() [2/2]

FViewportBounds::FViewportBounds ( float  InTopLeftX,
float  InTopLeftY,
float  InWidth,
float  InHeight,
float  InMinDepth = 0.0f,
float  InMaxDepth = 1.0f 
)
inline

Member Data Documentation

◆ Height

float FViewportBounds::Height

◆ MaxDepth

float FViewportBounds::MaxDepth

◆ MinDepth

float FViewportBounds::MinDepth

◆ TopLeftX

float FViewportBounds::TopLeftX

◆ TopLeftY

float FViewportBounds::TopLeftY

◆ Width

float FViewportBounds::Width

The documentation for this struct was generated from the following file: