Struct D3D11MappedSubResource
Provides access to subresource data.
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11MappedSubResource : IEquatable<D3D11MappedSubResource>
Constructors
|
Edit this page
View Source
D3D11MappedSubResource(nint, uint, uint)
Declaration
public D3D11MappedSubResource(nint data, uint rowPitch, uint depthPitch)
Parameters
| Type |
Name |
Description |
| nint |
data |
|
| uint |
rowPitch |
|
| uint |
depthPitch |
|
Properties
|
Edit this page
View Source
Data
Gets or sets the pointer to the data.
Declaration
public nint Data { get; set; }
Property Value
|
Edit this page
View Source
DepthPitch
Gets or sets the depth pitch, or width, or physical size (in bytes)of the data.
Declaration
public uint DepthPitch { get; set; }
Property Value
|
Edit this page
View Source
RowPitch
Gets or sets the row pitch, or width, or physical size (in bytes) of the data.
Declaration
public uint RowPitch { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3D11MappedSubResource)
Declaration
public readonly bool Equals(D3D11MappedSubResource 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 D3D11MappedSubResource NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D3D11MappedSubResource>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D3D11MappedSubResource> 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 D3D11MappedSubResource)
Declaration
public static void NativeWriteTo(nint buffer, in D3D11MappedSubResource obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D3D11MappedSubResource>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D3D11MappedSubResource> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D3D11MappedSubResource, D3D11MappedSubResource)
Declaration
public static bool operator ==(D3D11MappedSubResource left, D3D11MappedSubResource right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3D11MappedSubResource, D3D11MappedSubResource)
Declaration
public static bool operator !=(D3D11MappedSubResource left, D3D11MappedSubResource right)
Parameters
Returns
Implements