Improve DefaultThreadGroupSizes XML docs
このコミットが含まれているのは:
1 親
a3a0b5e953
コミット
74f60d03a5
1ファイル変更
+47
-13
@@ -12,7 +12,11 @@ public enum DefaultThreadGroupSizes
|
||||
/// Indicates a shader dispatch only along the X axis.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This applies to using <see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, in T)"/> or <see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, in T)"/>.
|
||||
/// This applies to using:
|
||||
/// <list type="bullet">
|
||||
/// <item><see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, in T)"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, in T)"/>.</item>
|
||||
/// </list>
|
||||
/// </remarks>
|
||||
X = 1 << 0,
|
||||
|
||||
@@ -20,8 +24,13 @@ public enum DefaultThreadGroupSizes
|
||||
/// Indicates a shader dispatch only along the Y axis.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This applies to using <see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/> or <see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>,
|
||||
/// but only as long as the input dispatch size on both the X and Z axes is <c>1</c>. Using any other combination will not be able to leverage the precompiled shader bytecode.
|
||||
/// This applies to using:
|
||||
/// <list type="bullet">
|
||||
/// <item><see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>.</item>
|
||||
/// </list>
|
||||
/// But only as long as the input dispatch size on both the X and Z axes is <c>1</c>.
|
||||
/// Using any other combination will not be able to leverage the precompiled shader bytecode.
|
||||
/// </remarks>
|
||||
Y = 1 << 1,
|
||||
|
||||
@@ -29,8 +38,13 @@ public enum DefaultThreadGroupSizes
|
||||
/// Indicates a shader dispatch only along the Z axis.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This applies to using <see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/> or <see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>,
|
||||
/// but only as long as the input dispatch size on both the X and Y axes is <c>1</c>. Using any other combination will not be able to leverage the precompiled shader bytecode.
|
||||
/// This applies to using:
|
||||
/// <list type="bullet">
|
||||
/// <item><see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>.</item>
|
||||
/// </list>
|
||||
/// But only as long as the input dispatch size on both the X and Y axes is <c>1</c>.
|
||||
/// Using any other combination will not be able to leverage the precompiled shader bytecode.
|
||||
/// </remarks>
|
||||
Z = 1 << 2,
|
||||
|
||||
@@ -38,9 +52,15 @@ public enum DefaultThreadGroupSizes
|
||||
/// Indicates a shader dispatch along the X and Y axes.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This applies to using <see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, in T)"/>, <see cref="GraphicsDeviceExtensions.ForEach{T, TPixel}(GraphicsDevice, IReadWriteNormalizedTexture2D{TPixel})"/>,
|
||||
/// <see cref="GraphicsDeviceExtensions.ForEach{T, TPixel}(GraphicsDevice, IReadWriteNormalizedTexture2D{TPixel}, in T)"/>, <see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, in T)"/>,
|
||||
/// <see cref="ComputeContextExtensions.ForEach{T, TPixel}(ref readonly ComputeContext, IReadWriteNormalizedTexture2D{TPixel})"/> or <see cref="ComputeContextExtensions.ForEach{T, TPixel}(ref readonly ComputeContext, IReadWriteNormalizedTexture2D{TPixel}, in T)"/>.
|
||||
/// This applies to using:
|
||||
/// <list type="bullet">
|
||||
/// <item><see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, in T)"/>.</item>
|
||||
/// <item><see cref="GraphicsDeviceExtensions.ForEach{T, TPixel}(GraphicsDevice, IReadWriteNormalizedTexture2D{TPixel})"/>.</item>
|
||||
/// <item><see cref="GraphicsDeviceExtensions.ForEach{T, TPixel}(GraphicsDevice, IReadWriteNormalizedTexture2D{TPixel}, in T)"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, in T)"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.ForEach{T, TPixel}(ref readonly ComputeContext, IReadWriteNormalizedTexture2D{TPixel})"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.ForEach{T, TPixel}(ref readonly ComputeContext, IReadWriteNormalizedTexture2D{TPixel}, in T)"/>..</item>
|
||||
/// </list>
|
||||
/// </remarks>
|
||||
XY = X | Y,
|
||||
|
||||
@@ -48,8 +68,13 @@ public enum DefaultThreadGroupSizes
|
||||
/// Indicates a shader dispatch along the X and Z axes.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This applies to using <see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/> or <see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>,
|
||||
/// but only as long as the input dispatch size on the Y axis <c>1</c>. Using any other combination will not be able to leverage the precompiled shader bytecode.
|
||||
/// This applies to using:
|
||||
/// <list type="bullet">
|
||||
/// <item><see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>.</item>
|
||||
/// </list>
|
||||
/// But only as long as the input dispatch size on the Y axis <c>1</c>.
|
||||
/// Using any other combination will not be able to leverage the precompiled shader bytecode.
|
||||
/// </remarks>
|
||||
XZ = X | Z,
|
||||
|
||||
@@ -57,8 +82,13 @@ public enum DefaultThreadGroupSizes
|
||||
/// Indicates a shader dispatch along the Y and Z axes.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This applies to using <see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/> or <see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>,
|
||||
/// but only as long as the input dispatch size on the X axis <c>1</c>. Using any other combination will not be able to leverage the precompiled shader bytecode.
|
||||
/// This applies to using:
|
||||
/// <list type="bullet">
|
||||
/// <item><see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>.</item>
|
||||
/// </list>
|
||||
/// But only as long as the input dispatch size on the X axis <c>1</c>.
|
||||
/// Using any other combination will not be able to leverage the precompiled shader bytecode.
|
||||
/// </remarks>
|
||||
YZ = Y | Z,
|
||||
|
||||
@@ -66,7 +96,11 @@ public enum DefaultThreadGroupSizes
|
||||
/// Indicates a shader dispatch along the X, Y and Z axes.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This applies to using <see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/> or <see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>.
|
||||
/// This applies to using:
|
||||
/// <list type="bullet">
|
||||
/// <item><see cref="GraphicsDeviceExtensions.For{T}(GraphicsDevice, int, int, int, in T)"/>.</item>
|
||||
/// <item><see cref="ComputeContextExtensions.For{T}(ref readonly ComputeContext, int, int, int, in T)"/>.</item>
|
||||
/// </list>
|
||||
/// </remarks>
|
||||
XYZ = X | Y | Z
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする