Struct MappedResource
A GPU resource mapped for CPU access. This is returned by using MapSubresource(GraphicsResource, int, MapMode, bool, int, int)
public struct MappedResource
- Inherited Members
Fields
DataBox
The data box
public readonly DataBox DataBox
Field Value
OffsetInBytes
the offset of the mapped resource since the beginning of the buffer
public readonly int OffsetInBytes
Field Value
Resource
The resource mapped.
public readonly GraphicsResource Resource
Field Value
SizeInBytes
the size of the mapped resource
public readonly int SizeInBytes
Field Value
SubResourceIndex
The subresource index.
public readonly int SubResourceIndex