Esempio n. 1
0
 public static extern InteropBool ResourceFactory_CreateBlendState(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     InteropBool enableBlending,
     BlendOperation blendOperation,
     IntPtr outBlendStateHandle
     );
Esempio n. 2
0
 public static extern InteropBool ResourceFactory_CreateDSState(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     InteropBool enableDepthTesting,
     DepthComparisonFunction depthComparisonFunction,
     IntPtr outDepthStencilStateHandle
     );
Esempio n. 3
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture2DMS(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     ResourceFormat format,
     IntPtr outSRVHandle
     );
Esempio n. 4
0
 public static extern InteropBool ShaderManager_LoadShader(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     [MarshalAs(InteropUtils.INTEROP_STRING_TYPE)] string shaderFilePath,
     ShaderType type,
     IntPtr outShaderPtr             // ShaderHandle*
     );
Esempio n. 5
0
 public static extern InteropBool ResourceFactory_CreateSRVToRawBuffer(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     BufferResourceHandle bufferHandle,
     uint firstElement,
     uint numElements,
     IntPtr outSRVHandle
     );
Esempio n. 6
0
 public static extern InteropBool ShaderManager_CreateInputLayout(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     ShaderHandle vertexShaderHandle,
     InputElementDesc[] inputElementDescArr,
     uint inputElementDescArrLen,
     IntPtr outInputLayoutPtr             // InputLayoutHandle*
     );
Esempio n. 7
0
 public static extern InteropBool ResourceFactory_CreateUAVToTexture2D(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture1DHandle,
     ResourceFormat format,
     uint mipIndex,
     IntPtr outUAVHandle
     );
 public static extern InteropBool WindowFactory_CreateWindow(
     IntPtr failReason,
     [MarshalAs(InteropUtils.INTEROP_STRING_TYPE)] string iconFilePath,
     DeviceHandle deviceHandle,
     UInt32 bufferCount,
     IntPtr outWindowHandle,
     IntPtr outWindowClosureFlagPtr             // InteropBool**
     );
Esempio n. 9
0
 public static extern InteropBool ResourceFactory_CreateConstantBuffer(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     uint numBytes,
     int usage,
     int cpuUsage,
     IntPtr initialDataPtr,
     IntPtr outBufferHandle
     );
Esempio n. 10
0
 public static extern InteropBool ResourceFactory_CreateRTV(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     uint mipIndex,
     ResourceFormat format,
     InteropBool isMultisampled,
     IntPtr outRTVHandle             // RenderTargetViewHandle*
     );
Esempio n. 11
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture2DMSArray(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     ResourceFormat format,
     uint firstElementIndex,
     uint numElements,
     IntPtr outSRVHandle
     );
Esempio n. 12
0
 public static extern InteropBool ResourceFactory_CreateDSV(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     uint mipIndex,
     ResourceFormat format,
     InteropBool isMultisampled,
     IntPtr outDSVHandle             // DepthStencilViewHandle*
     );
Esempio n. 13
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture1D(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture1DResourceHandle texture1DHandle,
     ResourceFormat format,
     uint firstMipIndex,
     uint numMips,
     IntPtr outSRVHandle
     );
Esempio n. 14
0
 public static extern InteropBool ResourceFactory_CreateVertexBuffer(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     uint vertexStructSizeBytes,
     uint numVertices,
     int usage,
     int cpuUsage,
     IntPtr initialDataPtr,
     IntPtr outBufferHandle
     );
Esempio n. 15
0
 public static extern InteropBool ResourceFactory_CreateUAVToTexture3D(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture3DResourceHandle texture1DHandle,
     ResourceFormat format,
     uint mipIndex,
     uint firstWCoordOffset,
     uint wCoordRange,
     IntPtr outUAVHandle
     );
Esempio n. 16
0
 public static extern InteropBool ResourceFactory_CreateUAVToRawBuffer(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     BufferResourceHandle bufferHandle,
     uint firstElement,
     uint numElements,
     InteropBool appendConsume,
     InteropBool includeCounter,
     IntPtr outUAVHandle
     );
Esempio n. 17
0
 public static extern InteropBool ResourceFactory_CreateRSState(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     int fillMode,
     int cullMode,
     InteropBool flipFaces,
     int depthBias,
     float depthBiasClamp,
     float slopeScaledDepthBias,
     InteropBool enableZClipping,
     IntPtr outRasterizerStateHandle
     );
Esempio n. 18
0
 public static extern InteropBool ResourceFactory_CreateSSO(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     TextureFilterType filterType,
     TextureWrapMode wrapMode,
     AnisotropicFilteringLevel maxAnisotropy,
     float borderColorR,
     float borderColorG,
     float borderColorB,
     float borderColorA,
     IntPtr outSamplerStateHandle
     );
Esempio n. 19
0
 public static extern InteropBool ResourceFactory_CreateBuffer(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     uint elementSizeBytes,
     uint numElements,
     int usage,
     int cpuUsage,
     PipelineBindings pipelineBindings,
     InteropBool isStructured,
     InteropBool allowRawAccess,
     IntPtr initialDataPtr,
     IntPtr outBufferHandle
     );
Esempio n. 20
0
 public static extern InteropBool ResourceFactory_LoadTexture2D(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     [MarshalAs(InteropUtils.INTEROP_STRING_TYPE)] string filePath,
     InteropBool allocateMipmaps,
     int usage,
     int cpuUsage,
     PipelineBindings pipelineBindings,
     InteropBool allowMipGeneration,
     InteropBool allowLODClamping,
     IntPtr outTexture2DHandle,   // Texture2DResourceHandle*
     IntPtr outWidth,             // uint*
     IntPtr outHeight,            // uint*
     IntPtr outFormat             // ResourceFormat*
     );
Esempio n. 21
0
 public static extern InteropBool ResourceFactory_CreateTexture1DArray(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     uint widthTx,
     uint numTextures,
     InteropBool allocateMipmaps,
     ResourceFormat format,
     int usage,
     int cpuUsage,
     PipelineBindings pipelineBindings,
     InteropBool allowMipGeneration,
     InteropBool allowLODClamping,
     IntPtr initialDataArrayPtr,             // InitialResourceDataDesc[]
     uint initialDataArrayLen,
     IntPtr outTexture1DHandle
     );
 public static extern InteropBool ContextFactory_CreateDeferredContext(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     IntPtr outContextPtr
     );
 public static extern InteropBool ContextFactory_GetImmediateContext(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     IntPtr outContextPtr
     );
 public static extern InteropBool DeviceFactory_ReleaseDevice(
     IntPtr failReason,
     DeviceHandle deviceHandle
     );