rename CpuBuffer to TransferBuffer
parent
ad0b168c47
commit
2e346d8401
|
@ -665,7 +665,7 @@ namespace RefreshCS
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr Refresh_CreateCpuBuffer(
|
public static extern IntPtr Refresh_CreateTransferBuffer(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
uint sizeInBytes
|
uint sizeInBytes
|
||||||
);
|
);
|
||||||
|
@ -687,13 +687,13 @@ namespace RefreshCS
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Refresh_QueueDestroyGpuBuffer(
|
public static extern void Refresh_QueueDestroyGpuBuffer(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr buffer
|
IntPtr gpuBuffer
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Refresh_QueueDestroyCpuBuffer(
|
public static extern void Refresh_QueueDestroyTransferBuffer(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr buffer
|
IntPtr transferBuffer
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
@ -769,7 +769,7 @@ namespace RefreshCS
|
||||||
public static extern void Refresh_BindIndexBuffer(
|
public static extern void Refresh_BindIndexBuffer(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr commandBuffer,
|
IntPtr commandBuffer,
|
||||||
IntPtr buffer,
|
IntPtr gpuBuffer,
|
||||||
uint offset,
|
uint offset,
|
||||||
IndexElementSize indexElementSize
|
IndexElementSize indexElementSize
|
||||||
);
|
);
|
||||||
|
@ -837,7 +837,7 @@ namespace RefreshCS
|
||||||
public static extern void Refresh_DrawPrimitivesIndirect(
|
public static extern void Refresh_DrawPrimitivesIndirect(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr commandBuffer,
|
IntPtr commandBuffer,
|
||||||
IntPtr buffer,
|
IntPtr gpuBuffer,
|
||||||
uint offsetInBytes,
|
uint offsetInBytes,
|
||||||
uint drawCount,
|
uint drawCount,
|
||||||
uint stride
|
uint stride
|
||||||
|
@ -902,13 +902,13 @@ namespace RefreshCS
|
||||||
IntPtr commandBuffer
|
IntPtr commandBuffer
|
||||||
);
|
);
|
||||||
|
|
||||||
/* CpuBuffer Set/Get */
|
/* TransferBuffer Set/Get */
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr Refresh_SetData(
|
public static extern IntPtr Refresh_SetData(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr data,
|
IntPtr data,
|
||||||
IntPtr cpuBuffer,
|
IntPtr transferBuffer,
|
||||||
in BufferCopy copyParams,
|
in BufferCopy copyParams,
|
||||||
SetDataOptions option
|
SetDataOptions option
|
||||||
);
|
);
|
||||||
|
@ -916,7 +916,7 @@ namespace RefreshCS
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Refresh_GetData(
|
public static extern void Refresh_GetData(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr cpuBuffer,
|
IntPtr transferBuffer,
|
||||||
IntPtr data,
|
IntPtr data,
|
||||||
in BufferCopy copyParams
|
in BufferCopy copyParams
|
||||||
);
|
);
|
||||||
|
@ -933,7 +933,7 @@ namespace RefreshCS
|
||||||
public static extern void Refresh_UploadToTexture(
|
public static extern void Refresh_UploadToTexture(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr commandBuffer,
|
IntPtr commandBuffer,
|
||||||
IntPtr cpuBuffer,
|
IntPtr transferBuffer,
|
||||||
in TextureSlice textureSlice,
|
in TextureSlice textureSlice,
|
||||||
in BufferImageCopy copyParams
|
in BufferImageCopy copyParams
|
||||||
);
|
);
|
||||||
|
@ -942,7 +942,7 @@ namespace RefreshCS
|
||||||
public static extern void Refresh_UploadToBuffer(
|
public static extern void Refresh_UploadToBuffer(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr commandBuffer,
|
IntPtr commandBuffer,
|
||||||
IntPtr cpuBuffer,
|
IntPtr transferBuffer,
|
||||||
IntPtr gpuBuffer,
|
IntPtr gpuBuffer,
|
||||||
in BufferCopy copyParams
|
in BufferCopy copyParams
|
||||||
);
|
);
|
||||||
|
@ -952,7 +952,7 @@ namespace RefreshCS
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr commandBuffer,
|
IntPtr commandBuffer,
|
||||||
in TextureSlice textureSlice,
|
in TextureSlice textureSlice,
|
||||||
IntPtr cpuBuffer,
|
IntPtr transferBuffer,
|
||||||
in BufferImageCopy copyParams
|
in BufferImageCopy copyParams
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -961,7 +961,7 @@ namespace RefreshCS
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr commandBuffer,
|
IntPtr commandBuffer,
|
||||||
IntPtr gpuBuffer,
|
IntPtr gpuBuffer,
|
||||||
IntPtr cpuBuffer,
|
IntPtr transferBuffer,
|
||||||
in BufferCopy copyParams
|
in BufferCopy copyParams
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue