Struct DxgiPresentParameters
Describes information about present that helps the operating system optimize presentation.
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiPresentParameters : IEquatable<DxgiPresentParameters>
Properties
|
Edit this page
View Source
DirtyRects
Gets or sets list of updated rectangles that you update in the back buffer for the presented frame. An application must update every single pixel in each rectangle that it reports to the runtime; the application cannot assume that the pixels are saved from the previous frame.
Declaration
public nint DirtyRects { get; set; }
Property Value
|
Edit this page
View Source
DirtyRectsCount
Gets or sets the number of updated rectangles that you update in the back buffer for the presented frame. The operating system uses this information to optimize presentation. You can set this member to 0 to indicate that you update the whole frame.
Declaration
public uint DirtyRectsCount { get; set; }
Property Value
|
Edit this page
View Source
Gets or sets the offset of the scrolled area that goes from the source rectangle (of previous frame) to the destination rectangle (of current frame).
Declaration
public nint ScrollOffset { get; set; }
Property Value
|
Edit this page
View Source
Gets or sets the scrolled rectangle. The scrolled rectangle is the rectangle of the previous frame from which the runtime bit-block transfers content. The runtime also uses the scrolled rectangle to optimize presentation in terminal server and indirect display scenarios.
Declaration
public nint ScrollRect { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(DxgiPresentParameters)
Declaration
public readonly bool Equals(DxgiPresentParameters other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static DxgiPresentParameters NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiPresentParameters>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiPresentParameters> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in DxgiPresentParameters)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiPresentParameters obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiPresentParameters>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiPresentParameters> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(DxgiPresentParameters, DxgiPresentParameters)
Declaration
public static bool operator ==(DxgiPresentParameters left, DxgiPresentParameters right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiPresentParameters, DxgiPresentParameters)
Declaration
public static bool operator !=(DxgiPresentParameters left, DxgiPresentParameters right)
Parameters
Returns
Implements