Struct DxgiMappedRect
Describes a mapped rectangle that is used to access a surface.
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiMappedRect : IEquatable<DxgiMappedRect>
Properties
|
Edit this page
View Source
BitsPointer
Gets a pointer to the image buffer of the surface.
Declaration
public readonly nint BitsPointer { get; }
Property Value
|
Edit this page
View Source
Pitch
Gets a value that describes the width, in bytes, of the surface.
Declaration
public readonly int Pitch { get; }
Property Value
Methods
|
Edit this page
View Source
Equals(DxgiMappedRect)
Declaration
public readonly bool Equals(DxgiMappedRect 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 DxgiMappedRect NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiMappedRect>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiMappedRect> 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 DxgiMappedRect)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiMappedRect obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiMappedRect>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiMappedRect> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(DxgiMappedRect, DxgiMappedRect)
Declaration
public static bool operator ==(DxgiMappedRect left, DxgiMappedRect right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiMappedRect, DxgiMappedRect)
Declaration
public static bool operator !=(DxgiMappedRect left, DxgiMappedRect right)
Parameters
Returns
Implements