Esempio n. 1
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture2DMS(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     ResourceFormat format,
     IntPtr outSRVHandle
     );
Esempio n. 2
0
 public static extern InteropBool ResourceFactory_CreateUAVToTexture2D(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture1DHandle,
     ResourceFormat format,
     uint mipIndex,
     IntPtr outUAVHandle
     );
Esempio n. 3
0
 public static extern InteropBool ResourceFactory_CreateDSV(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     uint mipIndex,
     ResourceFormat format,
     InteropBool isMultisampled,
     IntPtr outDSVHandle             // DepthStencilViewHandle*
     );
Esempio n. 4
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture2DCube(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     ResourceFormat format,
     uint firstMipIndex,
     uint numMips,
     IntPtr outSRVHandle
     );
Esempio n. 5
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture2DMSArray(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     ResourceFormat format,
     uint firstElementIndex,
     uint numElements,
     IntPtr outSRVHandle
     );
Esempio n. 6
0
 public static extern InteropBool ResourceFactory_CreateRTV(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     uint mipIndex,
     ResourceFormat format,
     InteropBool isMultisampled,
     IntPtr outRTVHandle             // RenderTargetViewHandle*
     );
Esempio n. 7
0
 public static extern InteropBool ResourceFactory_GetNumMips(
     IntPtr failReason,
     Texture2DResourceHandle texture1DHandle,
     IntPtr outNumMips             // uint*
     );
Esempio n. 8
0
 public static extern InteropBool ResourceFactory_SetTextureQualityOffset(
     IntPtr failReason,
     DeviceContextHandle deviceContextHandle,
     Texture2DResourceHandle texture2DHandle,
     uint qualityReductionLevel
     );