[]
Defines the viewport dimensions using float coordinates for (X, Y, Width, Height, MinDepth, MaxDepth).
public struct ViewportF : IEquatable<ViewportF>
Name | Description |
---|---|
ViewportF(RectF) | Initializes a new instance of the ViewportF struct. |
ViewportF(float, float, float, float) | Initializes a new instance of the ViewportF struct. |
ViewportF(float, float, float, float, float, float) | Initializes a new instance of the ViewportF struct. |
Name | Description |
---|---|
Height | Height dimension of the viewport. |
MaxDepth | Gets or sets the maximum depth of the clip volume. |
MinDepth | Gets or sets the minimum depth of the clip volume. |
SizeInBytes | The size of the ViewportF type, in bytes. |
Width | Width dimension of the viewport. |
X | Position of the pixel coordinate of the upper-left corner of the viewport. |
Y | Position of the pixel coordinate of the upper-left corner of the viewport. |
Name | Description |
---|---|
Bounds | Gets the size of this resource. |
Name | Description |
---|---|
Equals(ViewportF) | Determines whether the specified ViewportF is equal to this instance. |
Equals(object) | Determines whether the specified object is equal to this instance. |
EqualsRef(ref ViewportF) | Determines whether the specified ViewportF is equal to this instance. |
GetHashCode() | Returns a hash code for this instance. |
ToString() | Retrieves a string representation of this object. |
Name | Description |
---|---|
operator ==(ViewportF, ViewportF) | Determines if the specified values are equal. |
operator !=(ViewportF, ViewportF) | Determines if the specified values are not equal. |