Struct D3D11BufferExSrv
Describes the elements in a raw buffer resource to use in a shader resource view.
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11BufferExSrv : IEquatable<D3D11BufferExSrv>
Constructors
|
Edit this page
View Source
D3D11BufferExSrv(uint, uint, D3D11BufferExSrvOptions)
Declaration
public D3D11BufferExSrv(uint firstElement, uint numElements, D3D11BufferExSrvOptions options)
Parameters
Properties
|
Edit this page
View Source
FirstElement
Gets or sets the index of the first element to be accessed by the view.
Declaration
public uint FirstElement { get; set; }
Property Value
|
Edit this page
View Source
NumElements
Gets or sets the number of elements in the resource.
Declaration
public uint NumElements { get; set; }
Property Value
|
Edit this page
View Source
Options
Gets or sets the view options for the buffer.
Declaration
public D3D11BufferExSrvOptions Options { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3D11BufferExSrv)
Declaration
public readonly bool Equals(D3D11BufferExSrv 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 D3D11BufferExSrv NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D3D11BufferExSrv>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D3D11BufferExSrv> 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 D3D11BufferExSrv)
Declaration
public static void NativeWriteTo(nint buffer, in D3D11BufferExSrv obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D3D11BufferExSrv>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D3D11BufferExSrv> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D3D11BufferExSrv, D3D11BufferExSrv)
Declaration
public static bool operator ==(D3D11BufferExSrv left, D3D11BufferExSrv right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3D11BufferExSrv, D3D11BufferExSrv)
Declaration
public static bool operator !=(D3D11BufferExSrv left, D3D11BufferExSrv right)
Parameters
Returns
Implements