Table of Contents

Struct GraphicsResourceMap

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Structured returned by GraphicsDeviceContext.Map.

public struct GraphicsResourceMap
Inherited Members

Fields

DataPointer

Pointer to the data of the GraphicsResource being mapped into the CPU memory.

public IntPtr DataPointer

Field Value

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

int

RowPitch

The row pitch, or width, or physical size (in bytes) of the data.

public int RowPitch

Field Value

int