Struct D3D11Texture1DSrv
Specifies the subresource from a 1D texture to use in a shader resource view.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11Texture1DSrv : IEquatable<D3D11Texture1DSrv>
Properties
| Edit this page View SourceMipLevels
Gets or sets the maximum number of mipmap levels for the view of the texture.
Declaration
public uint MipLevels { get; set; }
Property Value
Type | Description |
---|---|
uint |
MostDetailedMip
Gets or sets the index of the most detailed mipmap level to use.
Declaration
public uint MostDetailedMip { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(D3D11Texture1DSrv)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D3D11Texture1DSrv other)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture1DSrv | 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 ==(D3D11Texture1DSrv, D3D11Texture1DSrv)
Compares two D3D11Texture1DSrv objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D3D11Texture1DSrv left, D3D11Texture1DSrv right)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture1DSrv | left | The left D3D11Texture1DSrv to compare. |
D3D11Texture1DSrv | right | The right D3D11Texture1DSrv to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11Texture1DSrv, D3D11Texture1DSrv)
Compares two D3D11Texture1DSrv objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D3D11Texture1DSrv left, D3D11Texture1DSrv right)
Parameters
Type | Name | Description |
---|---|---|
D3D11Texture1DSrv | left | The left D3D11Texture1DSrv to compare. |
D3D11Texture1DSrv | right | The right D3D11Texture1DSrv to compare. |
Returns
Type | Description |
---|---|
bool |