Struct D3D11Texture2DDsv
Specifies the subresource from a 2D texture that is accessible to a depth-stencil view.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11Texture2DDsv : IEquatable<D3D11Texture2DDsv>
Properties
| Edit this page View SourceMipSlice
Gets or sets the index of the first mipmap level to use.
Declaration
public uint MipSlice { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(D3D11Texture2DDsv)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D3D11Texture2DDsv other)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture2DDsv | 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 ==(D3D11Texture2DDsv, D3D11Texture2DDsv)
Compares two D3D11Texture2DDsv objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D3D11Texture2DDsv left, D3D11Texture2DDsv right)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture2DDsv | left | The left D3D11Texture2DDsv to compare. |
D3D11Texture2DDsv | right | The right D3D11Texture2DDsv to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11Texture2DDsv, D3D11Texture2DDsv)
Compares two D3D11Texture2DDsv objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D3D11Texture2DDsv left, D3D11Texture2DDsv right)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture2DDsv | left | The left D3D11Texture2DDsv to compare. |
D3D11Texture2DDsv | right | The right D3D11Texture2DDsv to compare. |
Returns
Type | Description |
---|---|
bool |