Navigation
API > API/Runtime > API/Runtime/Renderer > API/Runtime/Renderer/SHADER_PARAMETER
References
| Module | Renderer |
| Header | /Engine/Source/Runtime/Renderer/Public/ScreenPass.h |
| Include | #include "ScreenPass.h" |
Extent ScreenPosToViewportScale ViewportMin ViewportSize UVViewportMin UVViewportSize SHADER_PARAMETER
(
FVector2f,
UVViewportSizeInverse
)
Remarks
Texture viewport min / max in normalized UV coordinates, with respect to the texture extent, adjusted by a half pixel offset for bilinear filtering. Useful for clamping to avoid sampling pixels on viewport edges; e.g. clamp(UV, UVViewportBilinearMin, UVViewportBilinearMax);