fix: File GraphicsResourceMap.cs without references removed (#2181)
This commit is contained in:
Родитель
ec3a6e8b22
Коммит
7c10993890
|
@ -1,30 +0,0 @@
|
|||
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
|
||||
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
|
||||
using System;
|
||||
|
||||
namespace Stride.Graphics
|
||||
{
|
||||
/// <summary>
|
||||
/// Structured returned by <see cref="GraphicsDeviceContext.Map"/>.
|
||||
/// </summary>
|
||||
public struct GraphicsResourceMap
|
||||
{
|
||||
/// <summary>
|
||||
/// Pointer to the data of the <see cref="GraphicsResource"/> being mapped into the CPU memory.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If <see cref="GraphicsProfile"/> is set to low, data are aligned to 4 bytes else alignment is 16 bytes.
|
||||
/// </remarks>
|
||||
public IntPtr DataPointer;
|
||||
|
||||
/// <summary>
|
||||
/// The row pitch, or width, or physical size (in bytes) of the data.
|
||||
/// </summary>
|
||||
public int RowPitch;
|
||||
|
||||
/// <summary>
|
||||
/// The depth pitch, or width, or physical size (in bytes)of the data.
|
||||
/// </summary>
|
||||
public int DepthPitch;
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче