MappedResource Struct
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
A GPU resource mapped for CPU access. This is returned by using
public struct MappedResource
| Name | Description | |
|---|---|---|
| Fields | ||
| DataBox | The data box |
|
| OffsetInBytes | the offset of the mapped resource since the beginning of the buffer |
|
| Resource | The resource mapped. |
|
| SizeInBytes | the size of the mapped resource |
|
| SubResourceIndex | The subresource index. |
|
Fields
DataBox
The data box
public readonly DataBox DataBox
Field Value
| Type | Description |
|---|---|
| DataBox |
OffsetInBytes
the offset of the mapped resource since the beginning of the buffer
public readonly int OffsetInBytes
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Resource
The resource mapped.
public readonly GraphicsResource Resource
Field Value
| Type | Description |
|---|---|
| GraphicsResource |
SizeInBytes
the size of the mapped resource
public readonly int SizeInBytes
Field Value
| Type | Description |
|---|---|
| System.Int32 |
SubResourceIndex
The subresource index.
public readonly int SubResourceIndex
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()