Struct DxgiMappedRect
Describes a mapped rectangle that is used to access a surface.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiMappedRect : IEquatable<DxgiMappedRect>
Properties
| Edit this page View SourceBitsPointer
Gets a pointer to the image buffer of the surface.
Declaration
public nint BitsPointer { get; }
Property Value
Type | Description |
---|---|
nint |
Pitch
Gets a value that describes the width, in bytes, of the surface.
Declaration
public int Pitch { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceEquals(DxgiMappedRect)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiMappedRect other)
Parameters
Type | Name | Description |
---|---|---|
DxgiMappedRect | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(DxgiMappedRect, DxgiMappedRect)
Compares two DxgiMappedRect objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiMappedRect left, DxgiMappedRect right)
Parameters
Type | Name | Description |
---|---|---|
DxgiMappedRect | left | The left DxgiMappedRect to compare. |
DxgiMappedRect | right | The right DxgiMappedRect to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiMappedRect, DxgiMappedRect)
Compares two DxgiMappedRect objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiMappedRect left, DxgiMappedRect right)
Parameters
Type | Name | Description |
---|---|---|
DxgiMappedRect | left | The left DxgiMappedRect to compare. |
DxgiMappedRect | right | The right DxgiMappedRect to compare. |
Returns
Type | Description |
---|---|
bool |