-
- All Known Implementing Classes:
VulkanViewport
@Immutable public interface VulkanViewportType
Structure specifying a viewport.- See Also:
- "VkViewport"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
height()
float
maxDepth()
float
minDepth()
float
width()
float
x()
float
y()
-
-
-
Method Detail
-
x
@Parameter float x()
- Returns:
- the viewport’s upper left corner
-
y
@Parameter float y()
- Returns:
- the viewport’s upper left corner
-
width
@Parameter float width()
- Returns:
- the viewport’s width
-
height
@Parameter float height()
- Returns:
- the viewport’s height
-
minDepth
@Parameter float minDepth()
- Returns:
- the viewport’s depth range (minimum)
-
maxDepth
@Parameter float maxDepth()
- Returns:
- the viewport’s depth range (maximum)
-
-