Struct D3D11Texture1DSrv
Specifies the subresource from a 1D texture to use in a shader resource view.
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11Texture1DSrv : IEquatable<D3D11Texture1DSrv>
Constructors
|
Edit this page
View Source
D3D11Texture1DSrv(uint, uint)
Declaration
public D3D11Texture1DSrv(uint mostDetailedMip, uint mipLevels)
Parameters
| Type |
Name |
Description |
| uint |
mostDetailedMip |
|
| uint |
mipLevels |
|
Properties
|
Edit this page
View Source
MipLevels
Gets or sets the maximum number of mipmap levels for the view of the texture.
Declaration
public uint MipLevels { get; set; }
Property Value
|
Edit this page
View Source
MostDetailedMip
Gets or sets the index of the most detailed mipmap level to use.
Declaration
public uint MostDetailedMip { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3D11Texture1DSrv)
Declaration
public readonly bool Equals(D3D11Texture1DSrv 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 D3D11Texture1DSrv NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D3D11Texture1DSrv>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D3D11Texture1DSrv> 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 D3D11Texture1DSrv)
Declaration
public static void NativeWriteTo(nint buffer, in D3D11Texture1DSrv obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D3D11Texture1DSrv>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D3D11Texture1DSrv> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D3D11Texture1DSrv, D3D11Texture1DSrv)
Declaration
public static bool operator ==(D3D11Texture1DSrv left, D3D11Texture1DSrv right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3D11Texture1DSrv, D3D11Texture1DSrv)
Declaration
public static bool operator !=(D3D11Texture1DSrv left, D3D11Texture1DSrv right)
Parameters
Returns
Implements