Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.MappedResource Struct Reference

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

Public Attributes

readonly GraphicsResource Resource
 The resource mapped. More...
 
readonly int SubResourceIndex
 The subresource index. More...
 
readonly DataBox DataBox
 The data box More...
 
readonly int OffsetInBytes
 the offset of the mapped resource since the beginning of the buffer More...
 
readonly int SizeInBytes
 the size of the mapped resource More...
 

Detailed Description

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

Definition at line 8 of file MappedResource.cs.

Member Data Documentation

readonly DataBox SiliconStudio.Paradox.Graphics.MappedResource.DataBox

The data box

Definition at line 55 of file MappedResource.cs.

readonly int SiliconStudio.Paradox.Graphics.MappedResource.OffsetInBytes

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

Definition at line 60 of file MappedResource.cs.

readonly GraphicsResource SiliconStudio.Paradox.Graphics.MappedResource.Resource

The resource mapped.

Definition at line 45 of file MappedResource.cs.

readonly int SiliconStudio.Paradox.Graphics.MappedResource.SizeInBytes

the size of the mapped resource

Definition at line 65 of file MappedResource.cs.

readonly int SiliconStudio.Paradox.Graphics.MappedResource.SubResourceIndex

The subresource index.

Definition at line 50 of file MappedResource.cs.


The documentation for this struct was generated from the following file: