Added AllocationMode option to create resources
このコミットが含まれているのは:
1 親
97a2bbc69b
コミット
052e50a8d2
20ファイル変更
+140
-83
検索条件に一致するファイルはありません
@@ -0,0 +1,20 @@
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <summary>
|
||||
/// An <see langword="enum"/> that indicates a mode to use when allocating resources.
|
||||
/// </summary>
|
||||
public enum AllocationMode
|
||||
{
|
||||
/// <summary>
|
||||
/// The default allocation mode for graphics resources. Allocated buffers are not explicitly cleared when created.
|
||||
/// They can still be cleared for security reasons in some situations, but this step will be skipped whenever possible.
|
||||
/// As such, always make sure not to read directly to buffers created this way before writing data to them first.
|
||||
/// </summary>
|
||||
Default,
|
||||
|
||||
/// <summary>
|
||||
/// Clear allocated buffers when creating them.
|
||||
/// </summary>
|
||||
Clear
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする