GraphicsResourceMap Struct
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Structured returned by
public struct GraphicsResourceMap
Name | Description | |
---|---|---|
Fields | ||
DataPointer | Pointer to the data of the GraphicsResource being mapped into the CPU memory. |
|
DepthPitch | The depth pitch, or width, or physical size (in bytes)of the data. |
|
RowPitch | The row pitch, or width, or physical size (in bytes) of the data. |
Fields
DataPointer
Pointer to the data of the GraphicsResource being mapped into the CPU memory.
public IntPtr DataPointer
Field Value
Type | Description |
---|---|
System.IntPtr |
Remarks
If GraphicsProfile is set to low, data are aligned to 4 bytes else alignment is 16 bytes.
DepthPitch
The depth pitch, or width, or physical size (in bytes)of the data.
public int DepthPitch
Field Value
Type | Description |
---|---|
System.Int32 |
RowPitch
The row pitch, or width, or physical size (in bytes) of the data.
public int RowPitch
Field Value
Type | Description |
---|---|
System.Int32 |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()