fix: File GraphicsResourceMap.cs without references removed (#2181)

This commit is contained in:
Vaclav Elias 2024-03-12 16:18:57 +00:00 коммит произвёл GitHub
Родитель ec3a6e8b22
Коммит 7c10993890
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 0 добавлений и 30 удалений

Просмотреть файл

@ -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;
}
}