Reorder type modifiers
このコミットが含まれているのは:
1 親
ce1097e7d9
コミット
7a7f6be038
12ファイル変更
+12
-12
検索条件に一致するファイルはありません
@@ -11,7 +11,7 @@ namespace ComputeSharp.SwapChain.Backend;
|
||||
/// <summary>
|
||||
/// A helper class to manage the creation and execution of Win32 applications.
|
||||
/// </summary>
|
||||
internal unsafe static class Win32ApplicationRunner
|
||||
internal static unsafe class Win32ApplicationRunner
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether or not a resize operation is in progress.
|
||||
|
||||
@@ -26,7 +26,7 @@ public static class D2D1EffectRegistrationData
|
||||
/// <summary>
|
||||
/// The containing type for deserialized version 1 registration blobs.
|
||||
/// </summary>
|
||||
public unsafe readonly struct V1
|
||||
public readonly unsafe struct V1
|
||||
{
|
||||
/// <summary>
|
||||
/// The blob id for V1 registration data.
|
||||
|
||||
@@ -3,7 +3,7 @@ namespace ComputeSharp.D2D1.Interop;
|
||||
/// <summary>
|
||||
/// A model representing a property binding for an effect.
|
||||
/// </summary>
|
||||
public unsafe readonly struct D2D1PropertyBinding
|
||||
public readonly unsafe struct D2D1PropertyBinding
|
||||
{
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="D2D1PropertyBinding"/> instance with the specified parameters.
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ partial struct PixelShaderEffect
|
||||
/// <summary>
|
||||
/// The implementation for <see cref="ID2D1DrawTransform"/>.
|
||||
/// </summary>
|
||||
private unsafe static class ID2D1DrawTransformMethods
|
||||
private static unsafe class ID2D1DrawTransformMethods
|
||||
{
|
||||
#if !NET6_0_OR_GREATER
|
||||
/// <inheritdoc cref="GetInputCount"/>
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ partial struct D2D1ResourceTextureManagerImpl
|
||||
/// <summary>
|
||||
/// The implementation for <c>ID2D1ResourceTextureManagerInternal</c>.
|
||||
/// </summary>
|
||||
private unsafe static class ID2D1ResourceTextureManagerInternalMethods
|
||||
private static unsafe class ID2D1ResourceTextureManagerInternalMethods
|
||||
{
|
||||
#if !NET6_0_OR_GREATER
|
||||
/// <inheritdoc cref="Initialize"/>
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace ComputeSharp.Resources;
|
||||
/// A <see langword="class"/> representing a typed buffer stored on GPU memory.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the buffer.</typeparam>
|
||||
public unsafe abstract class Buffer<T> : NativeObject, IGraphicsResource
|
||||
public abstract unsafe class Buffer<T> : NativeObject, IGraphicsResource
|
||||
where T : unmanaged
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace ComputeSharp.Resources;
|
||||
/// A <see langword="class"/> representing a typed 1D texture stored on GPU memory.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
public unsafe abstract class Texture1D<T> : NativeObject, IGraphicsResource, GraphicsResourceHelper.IGraphicsResource
|
||||
public abstract unsafe class Texture1D<T> : NativeObject, IGraphicsResource, GraphicsResourceHelper.IGraphicsResource
|
||||
where T : unmanaged
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace ComputeSharp.Resources;
|
||||
/// A <see langword="class"/> representing a typed 2D texture stored on GPU memory.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
public unsafe abstract class Texture2D<T> : NativeObject, IGraphicsResource, GraphicsResourceHelper.IGraphicsResource
|
||||
public abstract unsafe class Texture2D<T> : NativeObject, IGraphicsResource, GraphicsResourceHelper.IGraphicsResource
|
||||
where T : unmanaged
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace ComputeSharp.Resources;
|
||||
/// A <see langword="class"/> representing a typed 3D texture stored on GPU memory.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
public unsafe abstract class Texture3D<T> : NativeObject, IGraphicsResource, GraphicsResourceHelper.IGraphicsResource
|
||||
public abstract unsafe class Texture3D<T> : NativeObject, IGraphicsResource, GraphicsResourceHelper.IGraphicsResource
|
||||
where T : unmanaged
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace ComputeSharp.Resources;
|
||||
/// A <see langword="class"/> representing a typed 1D texture stored on on CPU memory, that can be used to transfer data to/from the GPU.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
public unsafe abstract class TransferTexture1D<T> : NativeObject, IGraphicsResource, IMemoryOwner<T>
|
||||
public abstract unsafe class TransferTexture1D<T> : NativeObject, IGraphicsResource, IMemoryOwner<T>
|
||||
where T : unmanaged
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace ComputeSharp.Resources;
|
||||
/// A <see langword="class"/> representing a typed 2D texture stored on on CPU memory, that can be used to transfer data to/from the GPU.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
public unsafe abstract class TransferTexture2D<T> : NativeObject, IGraphicsResource
|
||||
public abstract unsafe class TransferTexture2D<T> : NativeObject, IGraphicsResource
|
||||
where T : unmanaged
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace ComputeSharp.Resources;
|
||||
/// A <see langword="class"/> representing a typed 3D texture stored on on CPU memory, that can be used to transfer data to/from the GPU.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of items stored on the texture.</typeparam>
|
||||
public unsafe abstract class TransferTexture3D<T> : NativeObject, IGraphicsResource
|
||||
public abstract unsafe class TransferTexture3D<T> : NativeObject, IGraphicsResource
|
||||
where T : unmanaged
|
||||
{
|
||||
#if NET6_0_OR_GREATER
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする