TransferUsage
parent
029f19196a
commit
8f42783fd1
|
@ -308,6 +308,12 @@ namespace RefreshCS
|
||||||
IntOpaqueWhite
|
IntOpaqueWhite
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum TransferUsage
|
||||||
|
{
|
||||||
|
Buffer,
|
||||||
|
Texture
|
||||||
|
}
|
||||||
|
|
||||||
public enum TransferOptions
|
public enum TransferOptions
|
||||||
{
|
{
|
||||||
Cycle,
|
Cycle,
|
||||||
|
@ -707,6 +713,7 @@ namespace RefreshCS
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern IntPtr Refresh_CreateTransferBuffer(
|
public static extern IntPtr Refresh_CreateTransferBuffer(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
|
TransferUsage usage,
|
||||||
uint sizeInBytes
|
uint sizeInBytes
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue