TransferUsage

refresh2
cosmonaut 2024-03-08 15:29:35 -08:00
parent 029f19196a
commit 8f42783fd1
1 changed files with 7 additions and 0 deletions

View File

@ -308,6 +308,12 @@ namespace RefreshCS
IntOpaqueWhite
}
public enum TransferUsage
{
Buffer,
Texture
}
public enum TransferOptions
{
Cycle,
@ -707,6 +713,7 @@ namespace RefreshCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr Refresh_CreateTransferBuffer(
IntPtr device,
TransferUsage usage,
uint sizeInBytes
);