Struct DxgiSharedResource
Represents a handle to a shared resource.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiSharedResource : IEquatable<DxgiSharedResource>
Properties
| Edit this page View SourceHandle
Gets a handle to a shared resource.
Declaration
public nint Handle { get; }
Property Value
Type | Description |
---|---|
nint |
Methods
| Edit this page View SourceEquals(DxgiSharedResource)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiSharedResource other)
Parameters
Type | Name | Description |
---|---|---|
DxgiSharedResource | 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 ==(DxgiSharedResource, DxgiSharedResource)
Compares two DxgiSharedResource objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiSharedResource left, DxgiSharedResource right)
Parameters
Type | Name | Description |
---|---|---|
DxgiSharedResource | left | The left DxgiSharedResource to compare. |
DxgiSharedResource | right | The right DxgiSharedResource to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiSharedResource, DxgiSharedResource)
Compares two DxgiSharedResource objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiSharedResource left, DxgiSharedResource right)
Parameters
Type | Name | Description |
---|---|---|
DxgiSharedResource | left | The left DxgiSharedResource to compare. |
DxgiSharedResource | right | The right DxgiSharedResource to compare. |
Returns
Type | Description |
---|---|
bool |