Navigation
API > API/Runtime > API/Runtime/Renderer
Describes a view rect contained within the extent of a texture. Used to derive texture coordinate transformations.
| Name | FScreenPassTextureViewport |
| Type | class |
| Header File | /Engine/Source/Runtime/Renderer/Public/ScreenPass.h |
| Include Path | #include "ScreenPass.h" |
Syntax
class FScreenPassTextureViewport
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ScreenPass.h | |||
FScreenPassTextureViewport
(
FIntRect InRect |
ScreenPass.h | ||
FScreenPassTextureViewport
(
FScreenPassTexture InTexture |
ScreenPass.h | ||
FScreenPassTextureViewport
(
FScreenPassTextureSlice InTexture |
ScreenPass.h | ||
FScreenPassTextureViewport
(
FRDGTextureRef InTexture |
ScreenPass.h | ||
FScreenPassTextureViewport
(
FIntPoint InExtent |
ScreenPass.h | ||
FScreenPassTextureViewport
(
FIntPoint InExtent, |
ScreenPass.h | ||
FScreenPassTextureViewport
(
FRDGTextureRef InTexture, |
ScreenPass.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Extent | FIntPoint | The texture extent, in pixels; defines a super-set [0, 0]x(Extent, Extent). | ScreenPass.h | |
| Rect | FIntRect | The viewport rect, in pixels; defines a sub-set within [0, 0]x(Extent, Extent). | ScreenPass.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2D GetRectToExtentRatio() |
Returns the ratio of rect size to extent along each axis. | ScreenPass.h | |
bool IsEmpty() |
Returns whether the viewport contains an empty viewport or extent. | ScreenPass.h | |
bool IsFullscreen() |
Returns whether the viewport covers the full extent of the texture. | ScreenPass.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FScreenPassTextureViewport& Other |
ScreenPass.h | ||
bool operator==
(
const FScreenPassTextureViewport& Other |
ScreenPass.h |