Ejemplo n.º 1
0
 public static extern InteropBool ResourceFactory_CreateBlendState(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     InteropBool enableBlending,
     BlendOperation blendOperation,
     IntPtr outBlendStateHandle
     );
Ejemplo n.º 2
0
 public static extern InteropBool ResourceFactory_CreateDSState(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     InteropBool enableDepthTesting,
     DepthComparisonFunction depthComparisonFunction,
     IntPtr outDepthStencilStateHandle
     );
Ejemplo n.º 3
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture2DMS(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     ResourceFormat format,
     IntPtr outSRVHandle
     );
Ejemplo 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*
     );
Ejemplo n.º 5
0
 public static extern InteropBool ResourceFactory_CreateSRVToRawBuffer(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     BufferResourceHandle bufferHandle,
     uint firstElement,
     uint numElements,
     IntPtr outSRVHandle
     );
Ejemplo n.º 6
0
 public static extern InteropBool ShaderManager_CreateInputLayout(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     ShaderHandle vertexShaderHandle,
     InputElementDesc[] inputElementDescArr,
     uint inputElementDescArrLen,
     IntPtr outInputLayoutPtr             // InputLayoutHandle*
     );
Ejemplo n.º 7
0
 public static extern InteropBool ResourceFactory_CreateUAVToTexture2D(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture1DHandle,
     ResourceFormat format,
     uint mipIndex,
     IntPtr outUAVHandle
     );
Ejemplo n.º 8
0
 public static extern InteropBool WindowFactory_CreateWindow(
     IntPtr failReason,
     [MarshalAs(InteropUtils.INTEROP_STRING_TYPE)] string iconFilePath,
     DeviceHandle deviceHandle,
     UInt32 bufferCount,
     IntPtr outWindowHandle,
     IntPtr outWindowClosureFlagPtr             // InteropBool**
     );
Ejemplo n.º 9
0
 public static extern InteropBool ResourceFactory_CreateConstantBuffer(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     uint numBytes,
     int usage,
     int cpuUsage,
     IntPtr initialDataPtr,
     IntPtr outBufferHandle
     );
Ejemplo n.º 10
0
 public static extern InteropBool ResourceFactory_CreateRTV(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     uint mipIndex,
     ResourceFormat format,
     InteropBool isMultisampled,
     IntPtr outRTVHandle             // RenderTargetViewHandle*
     );
Ejemplo n.º 11
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture2DMSArray(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     ResourceFormat format,
     uint firstElementIndex,
     uint numElements,
     IntPtr outSRVHandle
     );
Ejemplo n.º 12
0
 public static extern InteropBool ResourceFactory_CreateDSV(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture2DResourceHandle texture2DHandle,
     uint mipIndex,
     ResourceFormat format,
     InteropBool isMultisampled,
     IntPtr outDSVHandle             // DepthStencilViewHandle*
     );
Ejemplo n.º 13
0
 public static extern InteropBool ResourceFactory_CreateSRVToTexture1D(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     Texture1DResourceHandle texture1DHandle,
     ResourceFormat format,
     uint firstMipIndex,
     uint numMips,
     IntPtr outSRVHandle
     );
Ejemplo 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
     );
Ejemplo 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
     );
Ejemplo 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
     );
Ejemplo 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
     );
Ejemplo 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
     );
Ejemplo 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
     );
Ejemplo 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*
     );
Ejemplo 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
     );
Ejemplo n.º 22
0
 public static extern InteropBool ContextFactory_CreateDeferredContext(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     IntPtr outContextPtr
     );
Ejemplo n.º 23
0
 public static extern InteropBool ContextFactory_GetImmediateContext(
     IntPtr failReason,
     DeviceHandle deviceHandle,
     IntPtr outContextPtr
     );
Ejemplo n.º 24
0
 public static extern InteropBool DeviceFactory_ReleaseDevice(
     IntPtr failReason,
     DeviceHandle deviceHandle
     );