Table of Contents

Struct MappedResource

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

A GPU resource mapped for CPU access. This is returned by using GraphicsDevice.MapSubresource

public struct MappedResource
Inherited Members

Fields

DataBox

The data box

public readonly DataBox DataBox

Field Value

DataBox

OffsetInBytes

the offset of the mapped resource since the beginning of the buffer

public readonly int OffsetInBytes

Field Value

int

Resource

The resource mapped.

public readonly GraphicsResource Resource

Field Value

GraphicsResource

SizeInBytes

the size of the mapped resource

public readonly int SizeInBytes

Field Value

int

SubResourceIndex

The subresource index.

public readonly int SubResourceIndex

Field Value

int