{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Gpu.Safe (
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GPUSupportsShaderFormats,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GPUSupportsProperties,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUDevice,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUDeviceWithProperties,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DestroyGPUDevice,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GetNumGPUDrivers,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GetGPUDriver,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GetGPUDeviceDriver,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GetGPUShaderFormats,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GetGPUDeviceProperties,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUComputePipeline,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUGraphicsPipeline,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUSampler,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUShader,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CreateGPUTransferBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SetGPUBufferName,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SetGPUTextureName,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_InsertGPUDebugLabel,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_PushGPUDebugGroup,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_PopGPUDebugGroup,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseGPUTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseGPUSampler,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseGPUBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseGPUTransferBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseGPUComputePipeline,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseGPUShader,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseGPUGraphicsPipeline,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_AcquireGPUCommandBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_PushGPUVertexUniformData,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_PushGPUFragmentUniformData,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_PushGPUComputeUniformData,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BeginGPURenderPass,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUGraphicsPipeline,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SetGPUViewport,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SetGPUScissor,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SetGPUBlendConstants,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SetGPUStencilReference,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUVertexBuffers,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUIndexBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUVertexSamplers,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUVertexStorageTextures,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUVertexStorageBuffers,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUFragmentSamplers,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUFragmentStorageTextures,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUFragmentStorageBuffers,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DrawGPUIndexedPrimitives,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DrawGPUPrimitives,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DrawGPUPrimitivesIndirect,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DrawGPUIndexedPrimitivesIndirect,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_EndGPURenderPass,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BeginGPUComputePass,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUComputePipeline,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUComputeSamplers,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUComputeStorageTextures,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BindGPUComputeStorageBuffers,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DispatchGPUCompute,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DispatchGPUComputeIndirect,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_EndGPUComputePass,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_MapGPUTransferBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_UnmapGPUTransferBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BeginGPUCopyPass,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_UploadToGPUTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_UploadToGPUBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CopyGPUTextureToTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CopyGPUBufferToBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DownloadFromGPUTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_DownloadFromGPUBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_EndGPUCopyPass,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GenerateMipmapsForGPUTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_BlitGPUTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_WindowSupportsGPUSwapchainComposition,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_WindowSupportsGPUPresentMode,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ClaimWindowForGPUDevice,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseWindowFromGPUDevice,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SetGPUSwapchainParameters,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SetGPUAllowedFramesInFlight,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GetGPUSwapchainTextureFormat,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_AcquireGPUSwapchainTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_WaitForGPUSwapchain,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_WaitAndAcquireGPUSwapchainTexture,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SubmitGPUCommandBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_SubmitGPUCommandBufferAndAcquireFence,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CancelGPUCommandBuffer,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_WaitForGPUIdle,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_WaitForGPUFences,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_QueryGPUFence,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_ReleaseGPUFence,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GPUTextureFormatTexelBlockSize,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GPUTextureSupportsFormat,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GPUTextureSupportsSampleCount,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_CalculateGPUTextureFormatSize,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GetPixelFormatFromGPUTextureFormat,
SDL3.Sys.Bindgen.Gpu.Safe.sDL_GetGPUTextureFormatFromPixelFormat,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Gpu
import SDL3.Sys.Bindgen.Pixels qualified
import SDL3.Sys.Bindgen.Properties qualified
import SDL3.Sys.Bindgen.Rect qualified
import SDL3.Sys.Bindgen.Stdinc qualified
import SDL3.Sys.Bindgen.Video qualified
$( HsBindgen.Runtime.Support.CAPI.addCSource
( HsBindgen.Runtime.Support.CAPI.unlines
[ "#define SDL_MAIN_HANDLED"
, "#define SDL_SLOW_MEMCPY"
, "#define SDL_SLOW_MEMMOVE"
, "#define SDL_SLOW_MEMSET"
, "#include <SDL3/SDL_gpu.h>"
, "_Bool hs_bindgen_aae5cc9f6839b5cc ("
, " SDL_GPUShaderFormat arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_GPUSupportsShaderFormats)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_eafef00f426d07de ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " return (SDL_GPUSupportsProperties)(arg1);"
, "}"
, "SDL_GPUDevice *hs_bindgen_e18d5500edbbd7b5 ("
, " SDL_GPUShaderFormat arg1,"
, " _Bool arg2,"
, " char const *arg3"
, ")"
, "{"
, " return (SDL_CreateGPUDevice)(arg1, arg2, arg3);"
, "}"
, "SDL_GPUDevice *hs_bindgen_79aa6b683079a4aa ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " return (SDL_CreateGPUDeviceWithProperties)(arg1);"
, "}"
, "void hs_bindgen_8880394a1e594bb0 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " (SDL_DestroyGPUDevice)(arg1);"
, "}"
, "signed int hs_bindgen_53d9edb0d1616675 (void)"
, "{"
, " return (SDL_GetNumGPUDrivers)();"
, "}"
, "char const *hs_bindgen_bde1ec04c28e032c ("
, " signed int arg1"
, ")"
, "{"
, " return (SDL_GetGPUDriver)(arg1);"
, "}"
, "char const *hs_bindgen_2e09f9d54b7e174c ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " return (SDL_GetGPUDeviceDriver)(arg1);"
, "}"
, "SDL_GPUShaderFormat hs_bindgen_0ac23e15856207d2 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " return (SDL_GetGPUShaderFormats)(arg1);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_PropertiesID hs_bindgen_24ec481b90601a40 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_GetGPUDeviceProperties)(arg1);"
, "#else"
, " (void)arg1; SDL_SetError(\"SDL_GetGPUDeviceProperties requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "SDL_GPUComputePipeline *hs_bindgen_be9942ef43a30dbb ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUComputePipelineCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUComputePipeline)(arg1, arg2);"
, "}"
, "SDL_GPUGraphicsPipeline *hs_bindgen_3a818324fc7c3f58 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUGraphicsPipelineCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUGraphicsPipeline)(arg1, arg2);"
, "}"
, "SDL_GPUSampler *hs_bindgen_604bbac908c436aa ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUSamplerCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUSampler)(arg1, arg2);"
, "}"
, "SDL_GPUShader *hs_bindgen_3b5c95e61238095a ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUShaderCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUShader)(arg1, arg2);"
, "}"
, "SDL_GPUTexture *hs_bindgen_c6685129d00ec509 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTextureCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUTexture)(arg1, arg2);"
, "}"
, "SDL_GPUBuffer *hs_bindgen_5eca6d3125b183e7 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUBufferCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUBuffer)(arg1, arg2);"
, "}"
, "SDL_GPUTransferBuffer *hs_bindgen_646007cc8d60e8f1 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTransferBufferCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUTransferBuffer)(arg1, arg2);"
, "}"
, "void hs_bindgen_35249b94fcee0ae6 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUBuffer *arg2,"
, " char const *arg3"
, ")"
, "{"
, " (SDL_SetGPUBufferName)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_21f5dad8cd3caba0 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTexture *arg2,"
, " char const *arg3"
, ")"
, "{"
, " (SDL_SetGPUTextureName)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_e540ee9c7b74b716 ("
, " SDL_GPUCommandBuffer *arg1,"
, " char const *arg2"
, ")"
, "{"
, " (SDL_InsertGPUDebugLabel)(arg1, arg2);"
, "}"
, "void hs_bindgen_6cf1d5f7ad48ca4b ("
, " SDL_GPUCommandBuffer *arg1,"
, " char const *arg2"
, ")"
, "{"
, " (SDL_PushGPUDebugGroup)(arg1, arg2);"
, "}"
, "void hs_bindgen_c82fe0d95b63b068 ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " (SDL_PopGPUDebugGroup)(arg1);"
, "}"
, "void hs_bindgen_367c147bedca1380 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTexture *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUTexture)(arg1, arg2);"
, "}"
, "void hs_bindgen_9d27e7a735191637 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUSampler *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUSampler)(arg1, arg2);"
, "}"
, "void hs_bindgen_bc73e63cd04b292b ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUBuffer *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUBuffer)(arg1, arg2);"
, "}"
, "void hs_bindgen_8e038ae5b291e93f ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTransferBuffer *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUTransferBuffer)(arg1, arg2);"
, "}"
, "void hs_bindgen_2ebc397e9dad3697 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUComputePipeline *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUComputePipeline)(arg1, arg2);"
, "}"
, "void hs_bindgen_be87d6210d892952 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUShader *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUShader)(arg1, arg2);"
, "}"
, "void hs_bindgen_c2a4e9cdd147b21b ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUGraphicsPipeline *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUGraphicsPipeline)(arg1, arg2);"
, "}"
, "SDL_GPUCommandBuffer *hs_bindgen_92149d0718fb8464 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " return (SDL_AcquireGPUCommandBuffer)(arg1);"
, "}"
, "void hs_bindgen_af2096650fa2d8d0 ("
, " SDL_GPUCommandBuffer *arg1,"
, " Uint32 arg2,"
, " void const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_PushGPUVertexUniformData)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_d777c2d66931c0d7 ("
, " SDL_GPUCommandBuffer *arg1,"
, " Uint32 arg2,"
, " void const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_PushGPUFragmentUniformData)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_c40f02ecbf0d1f10 ("
, " SDL_GPUCommandBuffer *arg1,"
, " Uint32 arg2,"
, " void const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_PushGPUComputeUniformData)(arg1, arg2, arg3, arg4);"
, "}"
, "SDL_GPURenderPass *hs_bindgen_5d064478a0820b2c ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_GPUColorTargetInfo const *arg2,"
, " Uint32 arg3,"
, " SDL_GPUDepthStencilTargetInfo const *arg4"
, ")"
, "{"
, " return (SDL_BeginGPURenderPass)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_43b6f6578491ba7f ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUGraphicsPipeline *arg2"
, ")"
, "{"
, " (SDL_BindGPUGraphicsPipeline)(arg1, arg2);"
, "}"
, "void hs_bindgen_710986e3fd99ba6a ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUViewport const *arg2"
, ")"
, "{"
, " (SDL_SetGPUViewport)(arg1, arg2);"
, "}"
, "void hs_bindgen_8e81e30e4f1e1924 ("
, " SDL_GPURenderPass *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " (SDL_SetGPUScissor)(arg1, arg2);"
, "}"
, "void hs_bindgen_f727bad8e8b1ff3e ("
, " SDL_GPURenderPass *arg1,"
, " SDL_FColor *arg2"
, ")"
, "{"
, " (SDL_SetGPUBlendConstants)(arg1, *arg2);"
, "}"
, "void hs_bindgen_4a62370048ec360b ("
, " SDL_GPURenderPass *arg1,"
, " Uint8 arg2"
, ")"
, "{"
, " (SDL_SetGPUStencilReference)(arg1, arg2);"
, "}"
, "void hs_bindgen_6471bc849523bb14 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUBufferBinding const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUVertexBuffers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_084b99eea9396d40 ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUBufferBinding const *arg2,"
, " SDL_GPUIndexElementSize arg3"
, ")"
, "{"
, " (SDL_BindGPUIndexBuffer)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_d275601b49dec50a ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTextureSamplerBinding const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUVertexSamplers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_66cc372794c2ef55 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTexture *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUVertexStorageTextures)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_d7725fcd1492d52d ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUBuffer *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUVertexStorageBuffers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_1a2c72585c211590 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTextureSamplerBinding const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUFragmentSamplers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_0714ec46b44519f0 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTexture *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUFragmentStorageTextures)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_2afe5342dbcdb8ac ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUBuffer *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUFragmentStorageBuffers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_954941bccb6ac959 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " Uint32 arg3,"
, " Uint32 arg4,"
, " Sint32 arg5,"
, " Uint32 arg6"
, ")"
, "{"
, " (SDL_DrawGPUIndexedPrimitives)(arg1, arg2, arg3, arg4, arg5, arg6);"
, "}"
, "void hs_bindgen_7e1d85570a924ed1 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " Uint32 arg3,"
, " Uint32 arg4,"
, " Uint32 arg5"
, ")"
, "{"
, " (SDL_DrawGPUPrimitives)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "void hs_bindgen_999f4bafc18ca643 ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUBuffer *arg2,"
, " Uint32 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_DrawGPUPrimitivesIndirect)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_2564f3889af73a8f ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUBuffer *arg2,"
, " Uint32 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_DrawGPUIndexedPrimitivesIndirect)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_d2de9afaf4e7a298 ("
, " SDL_GPURenderPass *arg1"
, ")"
, "{"
, " (SDL_EndGPURenderPass)(arg1);"
, "}"
, "SDL_GPUComputePass *hs_bindgen_04814702f1c40b5f ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_GPUStorageTextureReadWriteBinding const *arg2,"
, " Uint32 arg3,"
, " SDL_GPUStorageBufferReadWriteBinding const *arg4,"
, " Uint32 arg5"
, ")"
, "{"
, " return (SDL_BeginGPUComputePass)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "void hs_bindgen_b04b2c08eaccdba1 ("
, " SDL_GPUComputePass *arg1,"
, " SDL_GPUComputePipeline *arg2"
, ")"
, "{"
, " (SDL_BindGPUComputePipeline)(arg1, arg2);"
, "}"
, "void hs_bindgen_94f4eed2a54840f8 ("
, " SDL_GPUComputePass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTextureSamplerBinding const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUComputeSamplers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_f7ee457bab9d199a ("
, " SDL_GPUComputePass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTexture *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUComputeStorageTextures)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_641e269a64317ba1 ("
, " SDL_GPUComputePass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUBuffer *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUComputeStorageBuffers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_bf60fb94f2ea8730 ("
, " SDL_GPUComputePass *arg1,"
, " Uint32 arg2,"
, " Uint32 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_DispatchGPUCompute)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_0f44002961b2beb1 ("
, " SDL_GPUComputePass *arg1,"
, " SDL_GPUBuffer *arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " (SDL_DispatchGPUComputeIndirect)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_3dd5760089aac51a ("
, " SDL_GPUComputePass *arg1"
, ")"
, "{"
, " (SDL_EndGPUComputePass)(arg1);"
, "}"
, "void *hs_bindgen_4482f6067e6e107e ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTransferBuffer *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_MapGPUTransferBuffer)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_231a5479716b178e ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTransferBuffer *arg2"
, ")"
, "{"
, " (SDL_UnmapGPUTransferBuffer)(arg1, arg2);"
, "}"
, "SDL_GPUCopyPass *hs_bindgen_e6f2bf9a9fc498cb ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " return (SDL_BeginGPUCopyPass)(arg1);"
, "}"
, "void hs_bindgen_01d377001aa72f60 ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUTextureTransferInfo const *arg2,"
, " SDL_GPUTextureRegion const *arg3,"
, " _Bool arg4"
, ")"
, "{"
, " (SDL_UploadToGPUTexture)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_6e1f7474e78322ce ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUTransferBufferLocation const *arg2,"
, " SDL_GPUBufferRegion const *arg3,"
, " _Bool arg4"
, ")"
, "{"
, " (SDL_UploadToGPUBuffer)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_918f11a3023e9438 ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUTextureLocation const *arg2,"
, " SDL_GPUTextureLocation const *arg3,"
, " Uint32 arg4,"
, " Uint32 arg5,"
, " Uint32 arg6,"
, " _Bool arg7"
, ")"
, "{"
, " (SDL_CopyGPUTextureToTexture)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);"
, "}"
, "void hs_bindgen_7075b4fcc48051e5 ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUBufferLocation const *arg2,"
, " SDL_GPUBufferLocation const *arg3,"
, " Uint32 arg4,"
, " _Bool arg5"
, ")"
, "{"
, " (SDL_CopyGPUBufferToBuffer)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "void hs_bindgen_26b4b49d8544fb8f ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUTextureRegion const *arg2,"
, " SDL_GPUTextureTransferInfo const *arg3"
, ")"
, "{"
, " (SDL_DownloadFromGPUTexture)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_d9824eebc00631e9 ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUBufferRegion const *arg2,"
, " SDL_GPUTransferBufferLocation const *arg3"
, ")"
, "{"
, " (SDL_DownloadFromGPUBuffer)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_bf4e18ec8641dd60 ("
, " SDL_GPUCopyPass *arg1"
, ")"
, "{"
, " (SDL_EndGPUCopyPass)(arg1);"
, "}"
, "void hs_bindgen_fa347415d8ba2bab ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_GPUTexture *arg2"
, ")"
, "{"
, " (SDL_GenerateMipmapsForGPUTexture)(arg1, arg2);"
, "}"
, "void hs_bindgen_2cf48971e4a0bb02 ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_GPUBlitInfo const *arg2"
, ")"
, "{"
, " (SDL_BlitGPUTexture)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_7f2a5f493596626a ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUSwapchainComposition arg3"
, ")"
, "{"
, " return (SDL_WindowSupportsGPUSwapchainComposition)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_832a19beda5bc034 ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUPresentMode arg3"
, ")"
, "{"
, " return (SDL_WindowSupportsGPUPresentMode)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_5eeb91d45dc27764 ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2"
, ")"
, "{"
, " return (SDL_ClaimWindowForGPUDevice)(arg1, arg2);"
, "}"
, "void hs_bindgen_00fb11a8b5935e0f ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2"
, ")"
, "{"
, " (SDL_ReleaseWindowFromGPUDevice)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_caf081d6c5e2aa14 ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUSwapchainComposition arg3,"
, " SDL_GPUPresentMode arg4"
, ")"
, "{"
, " return (SDL_SetGPUSwapchainParameters)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_04ce0909a6c26d29 ("
, " SDL_GPUDevice *arg1,"
, " Uint32 arg2"
, ")"
, "{"
, " return (SDL_SetGPUAllowedFramesInFlight)(arg1, arg2);"
, "}"
, "SDL_GPUTextureFormat hs_bindgen_6389b81fd8780e8b ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2"
, ")"
, "{"
, " return (SDL_GetGPUSwapchainTextureFormat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_92ebdfd004d30834 ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUTexture **arg3,"
, " Uint32 *arg4,"
, " Uint32 *arg5"
, ")"
, "{"
, " return (SDL_AcquireGPUSwapchainTexture)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_819c0e296688c2c8 ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2"
, ")"
, "{"
, " return (SDL_WaitForGPUSwapchain)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_b7be4df3492ace1e ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUTexture **arg3,"
, " Uint32 *arg4,"
, " Uint32 *arg5"
, ")"
, "{"
, " return (SDL_WaitAndAcquireGPUSwapchainTexture)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_6f98a07dd7e96530 ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " return (SDL_SubmitGPUCommandBuffer)(arg1);"
, "}"
, "SDL_GPUFence *hs_bindgen_897578b42f3c05e8 ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " return (SDL_SubmitGPUCommandBufferAndAcquireFence)(arg1);"
, "}"
, "_Bool hs_bindgen_e7e00ea7d024e9e9 ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " return (SDL_CancelGPUCommandBuffer)(arg1);"
, "}"
, "_Bool hs_bindgen_afeaba8d92329a17 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " return (SDL_WaitForGPUIdle)(arg1);"
, "}"
, "_Bool hs_bindgen_c1152a4254c2282b ("
, " SDL_GPUDevice *arg1,"
, " _Bool arg2,"
, " SDL_GPUFence *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_WaitForGPUFences)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_b6027b7729f79f17 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUFence *arg2"
, ")"
, "{"
, " return (SDL_QueryGPUFence)(arg1, arg2);"
, "}"
, "void hs_bindgen_60db26ce4b928463 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUFence *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUFence)(arg1, arg2);"
, "}"
, "Uint32 hs_bindgen_10b178c2418e1b7a ("
, " SDL_GPUTextureFormat arg1"
, ")"
, "{"
, " return (SDL_GPUTextureFormatTexelBlockSize)(arg1);"
, "}"
, "_Bool hs_bindgen_e7f998463fccba5a ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTextureFormat arg2,"
, " SDL_GPUTextureType arg3,"
, " SDL_GPUTextureUsageFlags arg4"
, ")"
, "{"
, " return (SDL_GPUTextureSupportsFormat)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_de6deb1af3775431 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTextureFormat arg2,"
, " SDL_GPUSampleCount arg3"
, ")"
, "{"
, " return (SDL_GPUTextureSupportsSampleCount)(arg1, arg2, arg3);"
, "}"
, "Uint32 hs_bindgen_d9b37eb9aa5f44b5 ("
, " SDL_GPUTextureFormat arg1,"
, " Uint32 arg2,"
, " Uint32 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_CalculateGPUTextureFormatSize)(arg1, arg2, arg3, arg4);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_PixelFormat hs_bindgen_128db189d446a117 ("
, " SDL_GPUTextureFormat arg1"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_GetPixelFormatFromGPUTextureFormat)(arg1);"
, "#else"
, " (void)arg1; SDL_SetError(\"SDL_GetPixelFormatFromGPUTextureFormat requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_GPUTextureFormat hs_bindgen_af0c7c8e2642605b ("
, " SDL_PixelFormat arg1"
, ")"
, "{"
, "#if SDL_VERSION_ATLEAST(3, 4, 0)"
, " return (SDL_GetGPUTextureFormatFromPixelFormat)(arg1);"
, "#else"
, " (void)arg1; SDL_SetError(\"SDL_GetGPUTextureFormatFromPixelFormat requires SDL >= 3.4.0\"); return 0;"
, "#endif"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_aae5cc9f6839b5cc"
hs_bindgen_aae5cc9f6839b5cc_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_aae5cc9f6839b5cc
:: SDL_GPUShaderFormat
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_aae5cc9f6839b5cc :: SDL_GPUShaderFormat -> PtrConst CChar -> IO CBool
hs_bindgen_aae5cc9f6839b5cc =
\SDL_GPUShaderFormat
x0 ->
\PtrConst CChar
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> Ptr Void -> IO CBool
hs_bindgen_aae5cc9f6839b5cc_base (SDL_GPUShaderFormat -> FFIType SDL_GPUShaderFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUShaderFormat
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_GPUSupportsShaderFormats
:: SDL_GPUShaderFormat
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
sDL_GPUSupportsShaderFormats :: SDL_GPUShaderFormat -> PtrConst CChar -> IO CBool
sDL_GPUSupportsShaderFormats =
SDL_GPUShaderFormat -> PtrConst CChar -> IO CBool
hs_bindgen_aae5cc9f6839b5cc
foreign import ccall safe "hs_bindgen_eafef00f426d07de"
hs_bindgen_eafef00f426d07de_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_eafef00f426d07de
:: SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO BG.CBool
hs_bindgen_eafef00f426d07de :: SDL_PropertiesID -> IO CBool
hs_bindgen_eafef00f426d07de =
\SDL_PropertiesID
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO CBool
hs_bindgen_eafef00f426d07de_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0))
sDL_GPUSupportsProperties
:: SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO BG.CBool
sDL_GPUSupportsProperties :: SDL_PropertiesID -> IO CBool
sDL_GPUSupportsProperties =
SDL_PropertiesID -> IO CBool
hs_bindgen_eafef00f426d07de
foreign import ccall safe "hs_bindgen_e18d5500edbbd7b5"
hs_bindgen_e18d5500edbbd7b5_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.CBool
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_e18d5500edbbd7b5
:: SDL_GPUShaderFormat
-> BG.CBool
-> PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_GPUDevice)
hs_bindgen_e18d5500edbbd7b5 :: SDL_GPUShaderFormat
-> CBool -> PtrConst CChar -> IO (Ptr SDL_GPUDevice)
hs_bindgen_e18d5500edbbd7b5 =
\SDL_GPUShaderFormat
x0 ->
\CBool
x1 ->
\PtrConst CChar
x2 ->
(Ptr Void -> Ptr SDL_GPUDevice)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUDevice)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr Void -> Ptr SDL_GPUDevice
FFIType (Ptr SDL_GPUDevice) -> Ptr SDL_GPUDevice
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Word32 -> CBool -> Ptr Void -> IO (Ptr Void)
hs_bindgen_e18d5500edbbd7b5_base (SDL_GPUShaderFormat -> FFIType SDL_GPUShaderFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUShaderFormat
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x2))
sDL_CreateGPUDevice
:: SDL_GPUShaderFormat
-> BG.CBool
-> PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_GPUDevice)
sDL_CreateGPUDevice :: SDL_GPUShaderFormat
-> CBool -> PtrConst CChar -> IO (Ptr SDL_GPUDevice)
sDL_CreateGPUDevice = SDL_GPUShaderFormat
-> CBool -> PtrConst CChar -> IO (Ptr SDL_GPUDevice)
hs_bindgen_e18d5500edbbd7b5
foreign import ccall safe "hs_bindgen_79aa6b683079a4aa"
hs_bindgen_79aa6b683079a4aa_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_79aa6b683079a4aa
:: SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO (BG.Ptr SDL_GPUDevice)
hs_bindgen_79aa6b683079a4aa :: SDL_PropertiesID -> IO (Ptr SDL_GPUDevice)
hs_bindgen_79aa6b683079a4aa =
\SDL_PropertiesID
x0 ->
(Ptr Void -> Ptr SDL_GPUDevice)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUDevice)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUDevice
FFIType (Ptr SDL_GPUDevice) -> Ptr SDL_GPUDevice
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Word32 -> IO (Ptr Void)
hs_bindgen_79aa6b683079a4aa_base (SDL_PropertiesID -> FFIType SDL_PropertiesID
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PropertiesID
x0))
sDL_CreateGPUDeviceWithProperties
:: SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO (BG.Ptr SDL_GPUDevice)
sDL_CreateGPUDeviceWithProperties :: SDL_PropertiesID -> IO (Ptr SDL_GPUDevice)
sDL_CreateGPUDeviceWithProperties =
SDL_PropertiesID -> IO (Ptr SDL_GPUDevice)
hs_bindgen_79aa6b683079a4aa
foreign import ccall safe "hs_bindgen_8880394a1e594bb0"
hs_bindgen_8880394a1e594bb0_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_8880394a1e594bb0
:: BG.Ptr SDL_GPUDevice
-> IO ()
hs_bindgen_8880394a1e594bb0 :: Ptr SDL_GPUDevice -> IO ()
hs_bindgen_8880394a1e594bb0 =
\Ptr SDL_GPUDevice
x0 ->
Ptr Void -> IO ()
hs_bindgen_8880394a1e594bb0_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0)
sDL_DestroyGPUDevice
:: BG.Ptr SDL_GPUDevice
-> IO ()
sDL_DestroyGPUDevice :: Ptr SDL_GPUDevice -> IO ()
sDL_DestroyGPUDevice = Ptr SDL_GPUDevice -> IO ()
hs_bindgen_8880394a1e594bb0
foreign import ccall safe "hs_bindgen_53d9edb0d1616675"
hs_bindgen_53d9edb0d1616675_base
:: IO BG.CInt
hs_bindgen_53d9edb0d1616675 :: IO BG.CInt
hs_bindgen_53d9edb0d1616675 :: IO CInt
hs_bindgen_53d9edb0d1616675 =
(CInt -> CInt) -> IO CInt -> IO CInt
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CInt -> CInt
FFIType CInt -> CInt
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType IO CInt
hs_bindgen_53d9edb0d1616675_base
sDL_GetNumGPUDrivers :: IO BG.CInt
sDL_GetNumGPUDrivers :: IO CInt
sDL_GetNumGPUDrivers = IO CInt
hs_bindgen_53d9edb0d1616675
foreign import ccall safe "hs_bindgen_bde1ec04c28e032c"
hs_bindgen_bde1ec04c28e032c_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_bde1ec04c28e032c
:: BG.CInt
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_bde1ec04c28e032c :: CInt -> IO (PtrConst CChar)
hs_bindgen_bde1ec04c28e032c =
\CInt
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CInt -> IO (Ptr Void)
hs_bindgen_bde1ec04c28e032c_base (CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x0))
sDL_GetGPUDriver
:: BG.CInt
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGPUDriver :: CInt -> IO (PtrConst CChar)
sDL_GetGPUDriver = CInt -> IO (PtrConst CChar)
hs_bindgen_bde1ec04c28e032c
foreign import ccall safe "hs_bindgen_2e09f9d54b7e174c"
hs_bindgen_2e09f9d54b7e174c_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_2e09f9d54b7e174c
:: BG.Ptr SDL_GPUDevice
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_2e09f9d54b7e174c :: Ptr SDL_GPUDevice -> IO (PtrConst CChar)
hs_bindgen_2e09f9d54b7e174c =
\Ptr SDL_GPUDevice
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_2e09f9d54b7e174c_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0))
sDL_GetGPUDeviceDriver
:: BG.Ptr SDL_GPUDevice
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetGPUDeviceDriver :: Ptr SDL_GPUDevice -> IO (PtrConst CChar)
sDL_GetGPUDeviceDriver = Ptr SDL_GPUDevice -> IO (PtrConst CChar)
hs_bindgen_2e09f9d54b7e174c
foreign import ccall safe "hs_bindgen_0ac23e15856207d2"
hs_bindgen_0ac23e15856207d2_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_0ac23e15856207d2
:: BG.Ptr SDL_GPUDevice
-> IO SDL_GPUShaderFormat
hs_bindgen_0ac23e15856207d2 :: Ptr SDL_GPUDevice -> IO SDL_GPUShaderFormat
hs_bindgen_0ac23e15856207d2 =
\Ptr SDL_GPUDevice
x0 ->
(Word32 -> SDL_GPUShaderFormat)
-> IO Word32 -> IO SDL_GPUShaderFormat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_GPUShaderFormat
FFIType SDL_GPUShaderFormat -> SDL_GPUShaderFormat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_0ac23e15856207d2_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0))
sDL_GetGPUShaderFormats
:: BG.Ptr SDL_GPUDevice
-> IO SDL_GPUShaderFormat
sDL_GetGPUShaderFormats :: Ptr SDL_GPUDevice -> IO SDL_GPUShaderFormat
sDL_GetGPUShaderFormats = Ptr SDL_GPUDevice -> IO SDL_GPUShaderFormat
hs_bindgen_0ac23e15856207d2
foreign import ccall safe "hs_bindgen_24ec481b90601a40"
hs_bindgen_24ec481b90601a40_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_24ec481b90601a40
:: BG.Ptr SDL_GPUDevice
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_24ec481b90601a40 :: Ptr SDL_GPUDevice -> IO SDL_PropertiesID
hs_bindgen_24ec481b90601a40 =
\Ptr SDL_GPUDevice
x0 ->
(Word32 -> SDL_PropertiesID) -> IO Word32 -> IO SDL_PropertiesID
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> SDL_PropertiesID
FFIType SDL_PropertiesID -> SDL_PropertiesID
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO Word32
hs_bindgen_24ec481b90601a40_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0))
sDL_GetGPUDeviceProperties
:: BG.Ptr SDL_GPUDevice
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
sDL_GetGPUDeviceProperties :: Ptr SDL_GPUDevice -> IO SDL_PropertiesID
sDL_GetGPUDeviceProperties =
Ptr SDL_GPUDevice -> IO SDL_PropertiesID
hs_bindgen_24ec481b90601a40
foreign import ccall safe "hs_bindgen_be9942ef43a30dbb"
hs_bindgen_be9942ef43a30dbb_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_be9942ef43a30dbb
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUComputePipelineCreateInfo
-> IO (BG.Ptr SDL_GPUComputePipeline)
hs_bindgen_be9942ef43a30dbb :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUComputePipelineCreateInfo
-> IO (Ptr SDL_GPUComputePipeline)
hs_bindgen_be9942ef43a30dbb =
\Ptr SDL_GPUDevice
x0 ->
\PtrConst SDL_GPUComputePipelineCreateInfo
x1 ->
(Ptr Void -> Ptr SDL_GPUComputePipeline)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUComputePipeline)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUComputePipeline
FFIType (Ptr SDL_GPUComputePipeline) -> Ptr SDL_GPUComputePipeline
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_be9942ef43a30dbb_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (PtrConst SDL_GPUComputePipelineCreateInfo
-> FFIType (PtrConst SDL_GPUComputePipelineCreateInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUComputePipelineCreateInfo
x1))
sDL_CreateGPUComputePipeline
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUComputePipelineCreateInfo
-> IO (BG.Ptr SDL_GPUComputePipeline)
sDL_CreateGPUComputePipeline :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUComputePipelineCreateInfo
-> IO (Ptr SDL_GPUComputePipeline)
sDL_CreateGPUComputePipeline =
Ptr SDL_GPUDevice
-> PtrConst SDL_GPUComputePipelineCreateInfo
-> IO (Ptr SDL_GPUComputePipeline)
hs_bindgen_be9942ef43a30dbb
foreign import ccall safe "hs_bindgen_3a818324fc7c3f58"
hs_bindgen_3a818324fc7c3f58_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_3a818324fc7c3f58
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUGraphicsPipelineCreateInfo
-> IO (BG.Ptr SDL_GPUGraphicsPipeline)
hs_bindgen_3a818324fc7c3f58 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUGraphicsPipelineCreateInfo
-> IO (Ptr SDL_GPUGraphicsPipeline)
hs_bindgen_3a818324fc7c3f58 =
\Ptr SDL_GPUDevice
x0 ->
\PtrConst SDL_GPUGraphicsPipelineCreateInfo
x1 ->
(Ptr Void -> Ptr SDL_GPUGraphicsPipeline)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUGraphicsPipeline)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUGraphicsPipeline
FFIType (Ptr SDL_GPUGraphicsPipeline)
-> Ptr SDL_GPUGraphicsPipeline
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_3a818324fc7c3f58_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (PtrConst SDL_GPUGraphicsPipelineCreateInfo
-> FFIType (PtrConst SDL_GPUGraphicsPipelineCreateInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUGraphicsPipelineCreateInfo
x1))
sDL_CreateGPUGraphicsPipeline
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUGraphicsPipelineCreateInfo
-> IO (BG.Ptr SDL_GPUGraphicsPipeline)
sDL_CreateGPUGraphicsPipeline :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUGraphicsPipelineCreateInfo
-> IO (Ptr SDL_GPUGraphicsPipeline)
sDL_CreateGPUGraphicsPipeline =
Ptr SDL_GPUDevice
-> PtrConst SDL_GPUGraphicsPipelineCreateInfo
-> IO (Ptr SDL_GPUGraphicsPipeline)
hs_bindgen_3a818324fc7c3f58
foreign import ccall safe "hs_bindgen_604bbac908c436aa"
hs_bindgen_604bbac908c436aa_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_604bbac908c436aa
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUSamplerCreateInfo
-> IO (BG.Ptr SDL_GPUSampler)
hs_bindgen_604bbac908c436aa :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUSamplerCreateInfo -> IO (Ptr SDL_GPUSampler)
hs_bindgen_604bbac908c436aa =
\Ptr SDL_GPUDevice
x0 ->
\PtrConst SDL_GPUSamplerCreateInfo
x1 ->
(Ptr Void -> Ptr SDL_GPUSampler)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUSampler)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUSampler
FFIType (Ptr SDL_GPUSampler) -> Ptr SDL_GPUSampler
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_604bbac908c436aa_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (PtrConst SDL_GPUSamplerCreateInfo
-> FFIType (PtrConst SDL_GPUSamplerCreateInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUSamplerCreateInfo
x1))
sDL_CreateGPUSampler
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUSamplerCreateInfo
-> IO (BG.Ptr SDL_GPUSampler)
sDL_CreateGPUSampler :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUSamplerCreateInfo -> IO (Ptr SDL_GPUSampler)
sDL_CreateGPUSampler = Ptr SDL_GPUDevice
-> PtrConst SDL_GPUSamplerCreateInfo -> IO (Ptr SDL_GPUSampler)
hs_bindgen_604bbac908c436aa
foreign import ccall safe "hs_bindgen_3b5c95e61238095a"
hs_bindgen_3b5c95e61238095a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_3b5c95e61238095a
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUShaderCreateInfo
-> IO (BG.Ptr SDL_GPUShader)
hs_bindgen_3b5c95e61238095a :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUShaderCreateInfo -> IO (Ptr SDL_GPUShader)
hs_bindgen_3b5c95e61238095a =
\Ptr SDL_GPUDevice
x0 ->
\PtrConst SDL_GPUShaderCreateInfo
x1 ->
(Ptr Void -> Ptr SDL_GPUShader)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUShader)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUShader
FFIType (Ptr SDL_GPUShader) -> Ptr SDL_GPUShader
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_3b5c95e61238095a_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (PtrConst SDL_GPUShaderCreateInfo
-> FFIType (PtrConst SDL_GPUShaderCreateInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUShaderCreateInfo
x1))
sDL_CreateGPUShader
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUShaderCreateInfo
-> IO (BG.Ptr SDL_GPUShader)
sDL_CreateGPUShader :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUShaderCreateInfo -> IO (Ptr SDL_GPUShader)
sDL_CreateGPUShader = Ptr SDL_GPUDevice
-> PtrConst SDL_GPUShaderCreateInfo -> IO (Ptr SDL_GPUShader)
hs_bindgen_3b5c95e61238095a
foreign import ccall safe "hs_bindgen_c6685129d00ec509"
hs_bindgen_c6685129d00ec509_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_c6685129d00ec509
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUTextureCreateInfo
-> IO (BG.Ptr SDL_GPUTexture)
hs_bindgen_c6685129d00ec509 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUTextureCreateInfo -> IO (Ptr SDL_GPUTexture)
hs_bindgen_c6685129d00ec509 =
\Ptr SDL_GPUDevice
x0 ->
\PtrConst SDL_GPUTextureCreateInfo
x1 ->
(Ptr Void -> Ptr SDL_GPUTexture)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUTexture)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUTexture
FFIType (Ptr SDL_GPUTexture) -> Ptr SDL_GPUTexture
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_c6685129d00ec509_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (PtrConst SDL_GPUTextureCreateInfo
-> FFIType (PtrConst SDL_GPUTextureCreateInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureCreateInfo
x1))
sDL_CreateGPUTexture
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUTextureCreateInfo
-> IO (BG.Ptr SDL_GPUTexture)
sDL_CreateGPUTexture :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUTextureCreateInfo -> IO (Ptr SDL_GPUTexture)
sDL_CreateGPUTexture = Ptr SDL_GPUDevice
-> PtrConst SDL_GPUTextureCreateInfo -> IO (Ptr SDL_GPUTexture)
hs_bindgen_c6685129d00ec509
foreign import ccall safe "hs_bindgen_5eca6d3125b183e7"
hs_bindgen_5eca6d3125b183e7_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_5eca6d3125b183e7
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUBufferCreateInfo
-> IO (BG.Ptr SDL_GPUBuffer)
hs_bindgen_5eca6d3125b183e7 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUBufferCreateInfo -> IO (Ptr SDL_GPUBuffer)
hs_bindgen_5eca6d3125b183e7 =
\Ptr SDL_GPUDevice
x0 ->
\PtrConst SDL_GPUBufferCreateInfo
x1 ->
(Ptr Void -> Ptr SDL_GPUBuffer)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUBuffer)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUBuffer
FFIType (Ptr SDL_GPUBuffer) -> Ptr SDL_GPUBuffer
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_5eca6d3125b183e7_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (PtrConst SDL_GPUBufferCreateInfo
-> FFIType (PtrConst SDL_GPUBufferCreateInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUBufferCreateInfo
x1))
sDL_CreateGPUBuffer
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUBufferCreateInfo
-> IO (BG.Ptr SDL_GPUBuffer)
sDL_CreateGPUBuffer :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUBufferCreateInfo -> IO (Ptr SDL_GPUBuffer)
sDL_CreateGPUBuffer = Ptr SDL_GPUDevice
-> PtrConst SDL_GPUBufferCreateInfo -> IO (Ptr SDL_GPUBuffer)
hs_bindgen_5eca6d3125b183e7
foreign import ccall safe "hs_bindgen_646007cc8d60e8f1"
hs_bindgen_646007cc8d60e8f1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_646007cc8d60e8f1
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUTransferBufferCreateInfo
-> IO (BG.Ptr SDL_GPUTransferBuffer)
hs_bindgen_646007cc8d60e8f1 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUTransferBufferCreateInfo
-> IO (Ptr SDL_GPUTransferBuffer)
hs_bindgen_646007cc8d60e8f1 =
\Ptr SDL_GPUDevice
x0 ->
\PtrConst SDL_GPUTransferBufferCreateInfo
x1 ->
(Ptr Void -> Ptr SDL_GPUTransferBuffer)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUTransferBuffer)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUTransferBuffer
FFIType (Ptr SDL_GPUTransferBuffer) -> Ptr SDL_GPUTransferBuffer
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_646007cc8d60e8f1_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (PtrConst SDL_GPUTransferBufferCreateInfo
-> FFIType (PtrConst SDL_GPUTransferBufferCreateInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTransferBufferCreateInfo
x1))
sDL_CreateGPUTransferBuffer
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUTransferBufferCreateInfo
-> IO (BG.Ptr SDL_GPUTransferBuffer)
sDL_CreateGPUTransferBuffer :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUTransferBufferCreateInfo
-> IO (Ptr SDL_GPUTransferBuffer)
sDL_CreateGPUTransferBuffer =
Ptr SDL_GPUDevice
-> PtrConst SDL_GPUTransferBufferCreateInfo
-> IO (Ptr SDL_GPUTransferBuffer)
hs_bindgen_646007cc8d60e8f1
foreign import ccall safe "hs_bindgen_35249b94fcee0ae6"
hs_bindgen_35249b94fcee0ae6_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_35249b94fcee0ae6
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_35249b94fcee0ae6 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUBuffer -> PtrConst CChar -> IO ()
hs_bindgen_35249b94fcee0ae6 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
\PtrConst CChar
x2 ->
Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_35249b94fcee0ae6_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUBuffer -> FFIType (Ptr SDL_GPUBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUBuffer
x1) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x2)
sDL_SetGPUBufferName
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
sDL_SetGPUBufferName :: Ptr SDL_GPUDevice -> Ptr SDL_GPUBuffer -> PtrConst CChar -> IO ()
sDL_SetGPUBufferName = Ptr SDL_GPUDevice -> Ptr SDL_GPUBuffer -> PtrConst CChar -> IO ()
hs_bindgen_35249b94fcee0ae6
foreign import ccall safe "hs_bindgen_21f5dad8cd3caba0"
hs_bindgen_21f5dad8cd3caba0_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_21f5dad8cd3caba0
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTexture
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_21f5dad8cd3caba0 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTexture -> PtrConst CChar -> IO ()
hs_bindgen_21f5dad8cd3caba0 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTexture
x1 ->
\PtrConst CChar
x2 ->
Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_21f5dad8cd3caba0_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUTexture -> FFIType (Ptr SDL_GPUTexture)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUTexture
x1) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x2)
sDL_SetGPUTextureName
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTexture
-> PtrConst.PtrConst BG.CChar
-> IO ()
sDL_SetGPUTextureName :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTexture -> PtrConst CChar -> IO ()
sDL_SetGPUTextureName = Ptr SDL_GPUDevice -> Ptr SDL_GPUTexture -> PtrConst CChar -> IO ()
hs_bindgen_21f5dad8cd3caba0
foreign import ccall safe "hs_bindgen_e540ee9c7b74b716"
hs_bindgen_e540ee9c7b74b716_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_e540ee9c7b74b716
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_e540ee9c7b74b716 :: Ptr SDL_GPUCommandBuffer -> PtrConst CChar -> IO ()
hs_bindgen_e540ee9c7b74b716 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\PtrConst CChar
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_e540ee9c7b74b716_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1)
sDL_InsertGPUDebugLabel
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
sDL_InsertGPUDebugLabel :: Ptr SDL_GPUCommandBuffer -> PtrConst CChar -> IO ()
sDL_InsertGPUDebugLabel = Ptr SDL_GPUCommandBuffer -> PtrConst CChar -> IO ()
hs_bindgen_e540ee9c7b74b716
foreign import ccall safe "hs_bindgen_6cf1d5f7ad48ca4b"
hs_bindgen_6cf1d5f7ad48ca4b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_6cf1d5f7ad48ca4b
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_6cf1d5f7ad48ca4b :: Ptr SDL_GPUCommandBuffer -> PtrConst CChar -> IO ()
hs_bindgen_6cf1d5f7ad48ca4b =
\Ptr SDL_GPUCommandBuffer
x0 ->
\PtrConst CChar
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_6cf1d5f7ad48ca4b_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1)
sDL_PushGPUDebugGroup
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
sDL_PushGPUDebugGroup :: Ptr SDL_GPUCommandBuffer -> PtrConst CChar -> IO ()
sDL_PushGPUDebugGroup = Ptr SDL_GPUCommandBuffer -> PtrConst CChar -> IO ()
hs_bindgen_6cf1d5f7ad48ca4b
foreign import ccall safe "hs_bindgen_c82fe0d95b63b068"
hs_bindgen_c82fe0d95b63b068_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_c82fe0d95b63b068
:: BG.Ptr SDL_GPUCommandBuffer
-> IO ()
hs_bindgen_c82fe0d95b63b068 :: Ptr SDL_GPUCommandBuffer -> IO ()
hs_bindgen_c82fe0d95b63b068 =
\Ptr SDL_GPUCommandBuffer
x0 ->
Ptr Void -> IO ()
hs_bindgen_c82fe0d95b63b068_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0)
sDL_PopGPUDebugGroup
:: BG.Ptr SDL_GPUCommandBuffer
-> IO ()
sDL_PopGPUDebugGroup :: Ptr SDL_GPUCommandBuffer -> IO ()
sDL_PopGPUDebugGroup = Ptr SDL_GPUCommandBuffer -> IO ()
hs_bindgen_c82fe0d95b63b068
foreign import ccall safe "hs_bindgen_367c147bedca1380"
hs_bindgen_367c147bedca1380_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_367c147bedca1380
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTexture
-> IO ()
hs_bindgen_367c147bedca1380 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTexture -> IO ()
hs_bindgen_367c147bedca1380 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTexture
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_367c147bedca1380_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUTexture -> FFIType (Ptr SDL_GPUTexture)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUTexture
x1)
sDL_ReleaseGPUTexture
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTexture
-> IO ()
sDL_ReleaseGPUTexture :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTexture -> IO ()
sDL_ReleaseGPUTexture = Ptr SDL_GPUDevice -> Ptr SDL_GPUTexture -> IO ()
hs_bindgen_367c147bedca1380
foreign import ccall safe "hs_bindgen_9d27e7a735191637"
hs_bindgen_9d27e7a735191637_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_9d27e7a735191637
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUSampler
-> IO ()
hs_bindgen_9d27e7a735191637 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUSampler -> IO ()
hs_bindgen_9d27e7a735191637 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUSampler
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_9d27e7a735191637_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUSampler -> FFIType (Ptr SDL_GPUSampler)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUSampler
x1)
sDL_ReleaseGPUSampler
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUSampler
-> IO ()
sDL_ReleaseGPUSampler :: Ptr SDL_GPUDevice -> Ptr SDL_GPUSampler -> IO ()
sDL_ReleaseGPUSampler = Ptr SDL_GPUDevice -> Ptr SDL_GPUSampler -> IO ()
hs_bindgen_9d27e7a735191637
foreign import ccall safe "hs_bindgen_bc73e63cd04b292b"
hs_bindgen_bc73e63cd04b292b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_bc73e63cd04b292b
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUBuffer
-> IO ()
hs_bindgen_bc73e63cd04b292b :: Ptr SDL_GPUDevice -> Ptr SDL_GPUBuffer -> IO ()
hs_bindgen_bc73e63cd04b292b =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_bc73e63cd04b292b_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUBuffer -> FFIType (Ptr SDL_GPUBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUBuffer
x1)
sDL_ReleaseGPUBuffer
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUBuffer
-> IO ()
sDL_ReleaseGPUBuffer :: Ptr SDL_GPUDevice -> Ptr SDL_GPUBuffer -> IO ()
sDL_ReleaseGPUBuffer = Ptr SDL_GPUDevice -> Ptr SDL_GPUBuffer -> IO ()
hs_bindgen_bc73e63cd04b292b
foreign import ccall safe "hs_bindgen_8e038ae5b291e93f"
hs_bindgen_8e038ae5b291e93f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_8e038ae5b291e93f
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> IO ()
hs_bindgen_8e038ae5b291e93f :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTransferBuffer -> IO ()
hs_bindgen_8e038ae5b291e93f =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTransferBuffer
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_8e038ae5b291e93f_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUTransferBuffer -> FFIType (Ptr SDL_GPUTransferBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUTransferBuffer
x1)
sDL_ReleaseGPUTransferBuffer
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> IO ()
sDL_ReleaseGPUTransferBuffer :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTransferBuffer -> IO ()
sDL_ReleaseGPUTransferBuffer =
Ptr SDL_GPUDevice -> Ptr SDL_GPUTransferBuffer -> IO ()
hs_bindgen_8e038ae5b291e93f
foreign import ccall safe "hs_bindgen_2ebc397e9dad3697"
hs_bindgen_2ebc397e9dad3697_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_2ebc397e9dad3697
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUComputePipeline
-> IO ()
hs_bindgen_2ebc397e9dad3697 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUComputePipeline -> IO ()
hs_bindgen_2ebc397e9dad3697 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUComputePipeline
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_2ebc397e9dad3697_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUComputePipeline -> FFIType (Ptr SDL_GPUComputePipeline)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePipeline
x1)
sDL_ReleaseGPUComputePipeline
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUComputePipeline
-> IO ()
sDL_ReleaseGPUComputePipeline :: Ptr SDL_GPUDevice -> Ptr SDL_GPUComputePipeline -> IO ()
sDL_ReleaseGPUComputePipeline =
Ptr SDL_GPUDevice -> Ptr SDL_GPUComputePipeline -> IO ()
hs_bindgen_2ebc397e9dad3697
foreign import ccall safe "hs_bindgen_be87d6210d892952"
hs_bindgen_be87d6210d892952_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_be87d6210d892952
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUShader
-> IO ()
hs_bindgen_be87d6210d892952 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUShader -> IO ()
hs_bindgen_be87d6210d892952 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUShader
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_be87d6210d892952_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUShader -> FFIType (Ptr SDL_GPUShader)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUShader
x1)
sDL_ReleaseGPUShader
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUShader
-> IO ()
sDL_ReleaseGPUShader :: Ptr SDL_GPUDevice -> Ptr SDL_GPUShader -> IO ()
sDL_ReleaseGPUShader = Ptr SDL_GPUDevice -> Ptr SDL_GPUShader -> IO ()
hs_bindgen_be87d6210d892952
foreign import ccall safe "hs_bindgen_c2a4e9cdd147b21b"
hs_bindgen_c2a4e9cdd147b21b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_c2a4e9cdd147b21b
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUGraphicsPipeline
-> IO ()
hs_bindgen_c2a4e9cdd147b21b :: Ptr SDL_GPUDevice -> Ptr SDL_GPUGraphicsPipeline -> IO ()
hs_bindgen_c2a4e9cdd147b21b =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUGraphicsPipeline
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_c2a4e9cdd147b21b_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUGraphicsPipeline
-> FFIType (Ptr SDL_GPUGraphicsPipeline)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUGraphicsPipeline
x1)
sDL_ReleaseGPUGraphicsPipeline
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUGraphicsPipeline
-> IO ()
sDL_ReleaseGPUGraphicsPipeline :: Ptr SDL_GPUDevice -> Ptr SDL_GPUGraphicsPipeline -> IO ()
sDL_ReleaseGPUGraphicsPipeline =
Ptr SDL_GPUDevice -> Ptr SDL_GPUGraphicsPipeline -> IO ()
hs_bindgen_c2a4e9cdd147b21b
foreign import ccall safe "hs_bindgen_92149d0718fb8464"
hs_bindgen_92149d0718fb8464_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_92149d0718fb8464
:: BG.Ptr SDL_GPUDevice
-> IO (BG.Ptr SDL_GPUCommandBuffer)
hs_bindgen_92149d0718fb8464 :: Ptr SDL_GPUDevice -> IO (Ptr SDL_GPUCommandBuffer)
hs_bindgen_92149d0718fb8464 =
\Ptr SDL_GPUDevice
x0 ->
(Ptr Void -> Ptr SDL_GPUCommandBuffer)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUCommandBuffer)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUCommandBuffer
FFIType (Ptr SDL_GPUCommandBuffer) -> Ptr SDL_GPUCommandBuffer
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_92149d0718fb8464_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0))
sDL_AcquireGPUCommandBuffer
:: BG.Ptr SDL_GPUDevice
-> IO (BG.Ptr SDL_GPUCommandBuffer)
sDL_AcquireGPUCommandBuffer :: Ptr SDL_GPUDevice -> IO (Ptr SDL_GPUCommandBuffer)
sDL_AcquireGPUCommandBuffer =
Ptr SDL_GPUDevice -> IO (Ptr SDL_GPUCommandBuffer)
hs_bindgen_92149d0718fb8464
foreign import ccall safe "hs_bindgen_af2096650fa2d8d0"
hs_bindgen_af2096650fa2d8d0_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_af2096650fa2d8d0
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_af2096650fa2d8d0 :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_af2096650fa2d8d0 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Uint32
x1 ->
\PtrConst Void
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_af2096650fa2d8d0_base
(Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_PushGPUVertexUniformData
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_PushGPUVertexUniformData :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
sDL_PushGPUVertexUniformData =
Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_af2096650fa2d8d0
foreign import ccall safe "hs_bindgen_d777c2d66931c0d7"
hs_bindgen_d777c2d66931c0d7_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_d777c2d66931c0d7
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_d777c2d66931c0d7 :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_d777c2d66931c0d7 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Uint32
x1 ->
\PtrConst Void
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_d777c2d66931c0d7_base
(Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_PushGPUFragmentUniformData
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_PushGPUFragmentUniformData :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
sDL_PushGPUFragmentUniformData =
Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_d777c2d66931c0d7
foreign import ccall safe "hs_bindgen_c40f02ecbf0d1f10"
hs_bindgen_c40f02ecbf0d1f10_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_c40f02ecbf0d1f10
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_c40f02ecbf0d1f10 :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_c40f02ecbf0d1f10 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Uint32
x1 ->
\PtrConst Void
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_c40f02ecbf0d1f10_base
(Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst Void -> FFIType (PtrConst Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst Void
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_PushGPUComputeUniformData
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_PushGPUComputeUniformData :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
sDL_PushGPUComputeUniformData =
Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_c40f02ecbf0d1f10
foreign import ccall safe "hs_bindgen_5d064478a0820b2c"
hs_bindgen_5d064478a0820b2c_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_5d064478a0820b2c
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst SDL_GPUColorTargetInfo
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUDepthStencilTargetInfo
-> IO (BG.Ptr SDL_GPURenderPass)
hs_bindgen_5d064478a0820b2c :: Ptr SDL_GPUCommandBuffer
-> PtrConst SDL_GPUColorTargetInfo
-> Uint32
-> PtrConst SDL_GPUDepthStencilTargetInfo
-> IO (Ptr SDL_GPURenderPass)
hs_bindgen_5d064478a0820b2c =
\Ptr SDL_GPUCommandBuffer
x0 ->
\PtrConst SDL_GPUColorTargetInfo
x1 ->
\Uint32
x2 ->
\PtrConst SDL_GPUDepthStencilTargetInfo
x3 ->
(Ptr Void -> Ptr SDL_GPURenderPass)
-> IO (Ptr Void) -> IO (Ptr SDL_GPURenderPass)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr Void -> Ptr SDL_GPURenderPass
FFIType (Ptr SDL_GPURenderPass) -> Ptr SDL_GPURenderPass
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> Word32 -> Ptr Void -> IO (Ptr Void)
hs_bindgen_5d064478a0820b2c_base
(Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0)
(PtrConst SDL_GPUColorTargetInfo
-> FFIType (PtrConst SDL_GPUColorTargetInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUColorTargetInfo
x1)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
(PtrConst SDL_GPUDepthStencilTargetInfo
-> FFIType (PtrConst SDL_GPUDepthStencilTargetInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUDepthStencilTargetInfo
x3)
)
sDL_BeginGPURenderPass
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst SDL_GPUColorTargetInfo
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUDepthStencilTargetInfo
-> IO (BG.Ptr SDL_GPURenderPass)
sDL_BeginGPURenderPass :: Ptr SDL_GPUCommandBuffer
-> PtrConst SDL_GPUColorTargetInfo
-> Uint32
-> PtrConst SDL_GPUDepthStencilTargetInfo
-> IO (Ptr SDL_GPURenderPass)
sDL_BeginGPURenderPass = Ptr SDL_GPUCommandBuffer
-> PtrConst SDL_GPUColorTargetInfo
-> Uint32
-> PtrConst SDL_GPUDepthStencilTargetInfo
-> IO (Ptr SDL_GPURenderPass)
hs_bindgen_5d064478a0820b2c
foreign import ccall safe "hs_bindgen_43b6f6578491ba7f"
hs_bindgen_43b6f6578491ba7f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_43b6f6578491ba7f
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUGraphicsPipeline
-> IO ()
hs_bindgen_43b6f6578491ba7f :: Ptr SDL_GPURenderPass -> Ptr SDL_GPUGraphicsPipeline -> IO ()
hs_bindgen_43b6f6578491ba7f =
\Ptr SDL_GPURenderPass
x0 ->
\Ptr SDL_GPUGraphicsPipeline
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_43b6f6578491ba7f_base (Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0) (Ptr SDL_GPUGraphicsPipeline
-> FFIType (Ptr SDL_GPUGraphicsPipeline)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUGraphicsPipeline
x1)
sDL_BindGPUGraphicsPipeline
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUGraphicsPipeline
-> IO ()
sDL_BindGPUGraphicsPipeline :: Ptr SDL_GPURenderPass -> Ptr SDL_GPUGraphicsPipeline -> IO ()
sDL_BindGPUGraphicsPipeline =
Ptr SDL_GPURenderPass -> Ptr SDL_GPUGraphicsPipeline -> IO ()
hs_bindgen_43b6f6578491ba7f
foreign import ccall safe "hs_bindgen_710986e3fd99ba6a"
hs_bindgen_710986e3fd99ba6a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_710986e3fd99ba6a
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL_GPUViewport
-> IO ()
hs_bindgen_710986e3fd99ba6a :: Ptr SDL_GPURenderPass -> PtrConst SDL_GPUViewport -> IO ()
hs_bindgen_710986e3fd99ba6a =
\Ptr SDL_GPURenderPass
x0 ->
\PtrConst SDL_GPUViewport
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_710986e3fd99ba6a_base (Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0) (PtrConst SDL_GPUViewport -> FFIType (PtrConst SDL_GPUViewport)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUViewport
x1)
sDL_SetGPUViewport
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL_GPUViewport
-> IO ()
sDL_SetGPUViewport :: Ptr SDL_GPURenderPass -> PtrConst SDL_GPUViewport -> IO ()
sDL_SetGPUViewport = Ptr SDL_GPURenderPass -> PtrConst SDL_GPUViewport -> IO ()
hs_bindgen_710986e3fd99ba6a
foreign import ccall safe "hs_bindgen_8e81e30e4f1e1924"
hs_bindgen_8e81e30e4f1e1924_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_8e81e30e4f1e1924
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO ()
hs_bindgen_8e81e30e4f1e1924 :: Ptr SDL_GPURenderPass -> PtrConst SDL_Rect -> IO ()
hs_bindgen_8e81e30e4f1e1924 =
\Ptr SDL_GPURenderPass
x0 ->
\PtrConst SDL_Rect
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_8e81e30e4f1e1924_base (Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0) (PtrConst SDL_Rect -> FFIType (PtrConst SDL_Rect)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_Rect
x1)
sDL_SetGPUScissor
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO ()
sDL_SetGPUScissor :: Ptr SDL_GPURenderPass -> PtrConst SDL_Rect -> IO ()
sDL_SetGPUScissor = Ptr SDL_GPURenderPass -> PtrConst SDL_Rect -> IO ()
hs_bindgen_8e81e30e4f1e1924
foreign import ccall safe "hs_bindgen_f727bad8e8b1ff3e"
hs_bindgen_f727bad8e8b1ff3e_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_f727bad8e8b1ff3e
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_FColor
-> IO ()
hs_bindgen_f727bad8e8b1ff3e :: Ptr SDL_GPURenderPass -> Ptr SDL_FColor -> IO ()
hs_bindgen_f727bad8e8b1ff3e =
\Ptr SDL_GPURenderPass
x0 ->
\Ptr SDL_FColor
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_f727bad8e8b1ff3e_base (Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0) (Ptr SDL_FColor -> FFIType (Ptr SDL_FColor)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_FColor
x1)
sDL_SetGPUBlendConstants
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Pixels.SDL_FColor
-> IO ()
sDL_SetGPUBlendConstants :: Ptr SDL_GPURenderPass -> SDL_FColor -> IO ()
sDL_SetGPUBlendConstants =
\Ptr SDL_GPURenderPass
render_pass0 ->
\SDL_FColor
blend_constants1 ->
SDL_FColor -> (Ptr SDL_FColor -> IO ()) -> IO ()
forall a b. Storable a => a -> (Ptr a -> IO b) -> IO b
BG.with
SDL_FColor
blend_constants1
( \Ptr SDL_FColor
blend_constants2 ->
Ptr SDL_GPURenderPass -> Ptr SDL_FColor -> IO ()
hs_bindgen_f727bad8e8b1ff3e Ptr SDL_GPURenderPass
render_pass0 Ptr SDL_FColor
blend_constants2
)
foreign import ccall safe "hs_bindgen_4a62370048ec360b"
hs_bindgen_4a62370048ec360b_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> IO ()
hs_bindgen_4a62370048ec360b
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO ()
hs_bindgen_4a62370048ec360b :: Ptr SDL_GPURenderPass -> Uint8 -> IO ()
hs_bindgen_4a62370048ec360b =
\Ptr SDL_GPURenderPass
x0 ->
\Uint8
x1 ->
Ptr Void -> Word8 -> IO ()
hs_bindgen_4a62370048ec360b_base (Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0) (Uint8 -> FFIType Uint8
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint8
x1)
sDL_SetGPUStencilReference
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO ()
sDL_SetGPUStencilReference :: Ptr SDL_GPURenderPass -> Uint8 -> IO ()
sDL_SetGPUStencilReference =
Ptr SDL_GPURenderPass -> Uint8 -> IO ()
hs_bindgen_4a62370048ec360b
foreign import ccall safe "hs_bindgen_6471bc849523bb14"
hs_bindgen_6471bc849523bb14_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_6471bc849523bb14
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUBufferBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_6471bc849523bb14 :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst SDL_GPUBufferBinding -> Uint32 -> IO ()
hs_bindgen_6471bc849523bb14 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst SDL_GPUBufferBinding
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_6471bc849523bb14_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst SDL_GPUBufferBinding
-> FFIType (PtrConst SDL_GPUBufferBinding)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUBufferBinding
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUVertexBuffers
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUBufferBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUVertexBuffers :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst SDL_GPUBufferBinding -> Uint32 -> IO ()
sDL_BindGPUVertexBuffers =
Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst SDL_GPUBufferBinding -> Uint32 -> IO ()
hs_bindgen_6471bc849523bb14
foreign import ccall safe "hs_bindgen_084b99eea9396d40"
hs_bindgen_084b99eea9396d40_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> IO ()
hs_bindgen_084b99eea9396d40
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL_GPUBufferBinding
-> SDL_GPUIndexElementSize
-> IO ()
hs_bindgen_084b99eea9396d40 :: Ptr SDL_GPURenderPass
-> PtrConst SDL_GPUBufferBinding
-> SDL_GPUIndexElementSize
-> IO ()
hs_bindgen_084b99eea9396d40 =
\Ptr SDL_GPURenderPass
x0 ->
\PtrConst SDL_GPUBufferBinding
x1 ->
\SDL_GPUIndexElementSize
x2 ->
Ptr Void -> Ptr Void -> CUInt -> IO ()
hs_bindgen_084b99eea9396d40_base (Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0) (PtrConst SDL_GPUBufferBinding
-> FFIType (PtrConst SDL_GPUBufferBinding)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUBufferBinding
x1) (SDL_GPUIndexElementSize -> FFIType SDL_GPUIndexElementSize
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUIndexElementSize
x2)
sDL_BindGPUIndexBuffer
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL_GPUBufferBinding
-> SDL_GPUIndexElementSize
-> IO ()
sDL_BindGPUIndexBuffer :: Ptr SDL_GPURenderPass
-> PtrConst SDL_GPUBufferBinding
-> SDL_GPUIndexElementSize
-> IO ()
sDL_BindGPUIndexBuffer = Ptr SDL_GPURenderPass
-> PtrConst SDL_GPUBufferBinding
-> SDL_GPUIndexElementSize
-> IO ()
hs_bindgen_084b99eea9396d40
foreign import ccall safe "hs_bindgen_d275601b49dec50a"
hs_bindgen_d275601b49dec50a_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_d275601b49dec50a
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_d275601b49dec50a :: Ptr SDL_GPURenderPass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_d275601b49dec50a =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst SDL_GPUTextureSamplerBinding
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_d275601b49dec50a_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst SDL_GPUTextureSamplerBinding
-> FFIType (PtrConst SDL_GPUTextureSamplerBinding)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureSamplerBinding
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUVertexSamplers
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUVertexSamplers :: Ptr SDL_GPURenderPass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
sDL_BindGPUVertexSamplers =
Ptr SDL_GPURenderPass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_d275601b49dec50a
foreign import ccall safe "hs_bindgen_66cc372794c2ef55"
hs_bindgen_66cc372794c2ef55_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_66cc372794c2ef55
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_66cc372794c2ef55 :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_66cc372794c2ef55 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUTexture)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_66cc372794c2ef55_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst (Ptr SDL_GPUTexture)
-> FFIType (PtrConst (Ptr SDL_GPUTexture))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_GPUTexture)
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUVertexStorageTextures
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUVertexStorageTextures :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
sDL_BindGPUVertexStorageTextures =
Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_66cc372794c2ef55
foreign import ccall safe "hs_bindgen_d7725fcd1492d52d"
hs_bindgen_d7725fcd1492d52d_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_d7725fcd1492d52d
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_d7725fcd1492d52d :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_d7725fcd1492d52d =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUBuffer)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_d7725fcd1492d52d_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst (Ptr SDL_GPUBuffer)
-> FFIType (PtrConst (Ptr SDL_GPUBuffer))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_GPUBuffer)
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUVertexStorageBuffers
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUVertexStorageBuffers :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
sDL_BindGPUVertexStorageBuffers =
Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_d7725fcd1492d52d
foreign import ccall safe "hs_bindgen_1a2c72585c211590"
hs_bindgen_1a2c72585c211590_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_1a2c72585c211590
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_1a2c72585c211590 :: Ptr SDL_GPURenderPass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_1a2c72585c211590 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst SDL_GPUTextureSamplerBinding
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_1a2c72585c211590_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst SDL_GPUTextureSamplerBinding
-> FFIType (PtrConst SDL_GPUTextureSamplerBinding)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureSamplerBinding
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUFragmentSamplers
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUFragmentSamplers :: Ptr SDL_GPURenderPass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
sDL_BindGPUFragmentSamplers =
Ptr SDL_GPURenderPass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_1a2c72585c211590
foreign import ccall safe "hs_bindgen_0714ec46b44519f0"
hs_bindgen_0714ec46b44519f0_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_0714ec46b44519f0
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_0714ec46b44519f0 :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_0714ec46b44519f0 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUTexture)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_0714ec46b44519f0_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst (Ptr SDL_GPUTexture)
-> FFIType (PtrConst (Ptr SDL_GPUTexture))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_GPUTexture)
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUFragmentStorageTextures
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUFragmentStorageTextures :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
sDL_BindGPUFragmentStorageTextures =
Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_0714ec46b44519f0
foreign import ccall safe "hs_bindgen_2afe5342dbcdb8ac"
hs_bindgen_2afe5342dbcdb8ac_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_2afe5342dbcdb8ac
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_2afe5342dbcdb8ac :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_2afe5342dbcdb8ac =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUBuffer)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_2afe5342dbcdb8ac_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst (Ptr SDL_GPUBuffer)
-> FFIType (PtrConst (Ptr SDL_GPUBuffer))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_GPUBuffer)
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUFragmentStorageBuffers
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUFragmentStorageBuffers :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
sDL_BindGPUFragmentStorageBuffers =
Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_2afe5342dbcdb8ac
foreign import ccall safe "hs_bindgen_954941bccb6ac959"
hs_bindgen_954941bccb6ac959_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Int32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_954941bccb6ac959
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Sint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_954941bccb6ac959 :: Ptr SDL_GPURenderPass
-> Uint32 -> Uint32 -> Uint32 -> Sint32 -> Uint32 -> IO ()
hs_bindgen_954941bccb6ac959 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
\Sint32
x4 ->
\Uint32
x5 ->
Ptr Void -> Word32 -> Word32 -> Word32 -> Int32 -> Word32 -> IO ()
hs_bindgen_954941bccb6ac959_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
(Sint32 -> FFIType Sint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Sint32
x4)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x5)
sDL_DrawGPUIndexedPrimitives
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Sint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_DrawGPUIndexedPrimitives :: Ptr SDL_GPURenderPass
-> Uint32 -> Uint32 -> Uint32 -> Sint32 -> Uint32 -> IO ()
sDL_DrawGPUIndexedPrimitives =
Ptr SDL_GPURenderPass
-> Uint32 -> Uint32 -> Uint32 -> Sint32 -> Uint32 -> IO ()
hs_bindgen_954941bccb6ac959
foreign import ccall safe "hs_bindgen_7e1d85570a924ed1"
hs_bindgen_7e1d85570a924ed1_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_7e1d85570a924ed1
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_7e1d85570a924ed1 :: Ptr SDL_GPURenderPass
-> Uint32 -> Uint32 -> Uint32 -> Uint32 -> IO ()
hs_bindgen_7e1d85570a924ed1 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
\Uint32
x4 ->
Ptr Void -> Word32 -> Word32 -> Word32 -> Word32 -> IO ()
hs_bindgen_7e1d85570a924ed1_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x4)
sDL_DrawGPUPrimitives
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_DrawGPUPrimitives :: Ptr SDL_GPURenderPass
-> Uint32 -> Uint32 -> Uint32 -> Uint32 -> IO ()
sDL_DrawGPUPrimitives = Ptr SDL_GPURenderPass
-> Uint32 -> Uint32 -> Uint32 -> Uint32 -> IO ()
hs_bindgen_7e1d85570a924ed1
foreign import ccall safe "hs_bindgen_999f4bafc18ca643"
hs_bindgen_999f4bafc18ca643_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_999f4bafc18ca643
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_999f4bafc18ca643 :: Ptr SDL_GPURenderPass
-> Ptr SDL_GPUBuffer -> Uint32 -> Uint32 -> IO ()
hs_bindgen_999f4bafc18ca643 =
\Ptr SDL_GPURenderPass
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
Ptr Void -> Ptr Void -> Word32 -> Word32 -> IO ()
hs_bindgen_999f4bafc18ca643_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Ptr SDL_GPUBuffer -> FFIType (Ptr SDL_GPUBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUBuffer
x1)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_DrawGPUPrimitivesIndirect
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_DrawGPUPrimitivesIndirect :: Ptr SDL_GPURenderPass
-> Ptr SDL_GPUBuffer -> Uint32 -> Uint32 -> IO ()
sDL_DrawGPUPrimitivesIndirect =
Ptr SDL_GPURenderPass
-> Ptr SDL_GPUBuffer -> Uint32 -> Uint32 -> IO ()
hs_bindgen_999f4bafc18ca643
foreign import ccall safe "hs_bindgen_2564f3889af73a8f"
hs_bindgen_2564f3889af73a8f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_2564f3889af73a8f
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_2564f3889af73a8f :: Ptr SDL_GPURenderPass
-> Ptr SDL_GPUBuffer -> Uint32 -> Uint32 -> IO ()
hs_bindgen_2564f3889af73a8f =
\Ptr SDL_GPURenderPass
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
Ptr Void -> Ptr Void -> Word32 -> Word32 -> IO ()
hs_bindgen_2564f3889af73a8f_base
(Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
(Ptr SDL_GPUBuffer -> FFIType (Ptr SDL_GPUBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUBuffer
x1)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_DrawGPUIndexedPrimitivesIndirect
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_DrawGPUIndexedPrimitivesIndirect :: Ptr SDL_GPURenderPass
-> Ptr SDL_GPUBuffer -> Uint32 -> Uint32 -> IO ()
sDL_DrawGPUIndexedPrimitivesIndirect =
Ptr SDL_GPURenderPass
-> Ptr SDL_GPUBuffer -> Uint32 -> Uint32 -> IO ()
hs_bindgen_2564f3889af73a8f
foreign import ccall safe "hs_bindgen_d2de9afaf4e7a298"
hs_bindgen_d2de9afaf4e7a298_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_d2de9afaf4e7a298
:: BG.Ptr SDL_GPURenderPass
-> IO ()
hs_bindgen_d2de9afaf4e7a298 :: Ptr SDL_GPURenderPass -> IO ()
hs_bindgen_d2de9afaf4e7a298 =
\Ptr SDL_GPURenderPass
x0 ->
Ptr Void -> IO ()
hs_bindgen_d2de9afaf4e7a298_base (Ptr SDL_GPURenderPass -> FFIType (Ptr SDL_GPURenderPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPURenderPass
x0)
sDL_EndGPURenderPass
:: BG.Ptr SDL_GPURenderPass
-> IO ()
sDL_EndGPURenderPass :: Ptr SDL_GPURenderPass -> IO ()
sDL_EndGPURenderPass = Ptr SDL_GPURenderPass -> IO ()
hs_bindgen_d2de9afaf4e7a298
foreign import ccall safe "hs_bindgen_04814702f1c40b5f"
hs_bindgen_04814702f1c40b5f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_04814702f1c40b5f
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst SDL_GPUStorageTextureReadWriteBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUStorageBufferReadWriteBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO (BG.Ptr SDL_GPUComputePass)
hs_bindgen_04814702f1c40b5f :: Ptr SDL_GPUCommandBuffer
-> PtrConst SDL_GPUStorageTextureReadWriteBinding
-> Uint32
-> PtrConst SDL_GPUStorageBufferReadWriteBinding
-> Uint32
-> IO (Ptr SDL_GPUComputePass)
hs_bindgen_04814702f1c40b5f =
\Ptr SDL_GPUCommandBuffer
x0 ->
\PtrConst SDL_GPUStorageTextureReadWriteBinding
x1 ->
\Uint32
x2 ->
\PtrConst SDL_GPUStorageBufferReadWriteBinding
x3 ->
\Uint32
x4 ->
(Ptr Void -> Ptr SDL_GPUComputePass)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUComputePass)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr Void -> Ptr SDL_GPUComputePass
FFIType (Ptr SDL_GPUComputePass) -> Ptr SDL_GPUComputePass
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO (Ptr Void)
hs_bindgen_04814702f1c40b5f_base
(Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0)
(PtrConst SDL_GPUStorageTextureReadWriteBinding
-> FFIType (PtrConst SDL_GPUStorageTextureReadWriteBinding)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUStorageTextureReadWriteBinding
x1)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
(PtrConst SDL_GPUStorageBufferReadWriteBinding
-> FFIType (PtrConst SDL_GPUStorageBufferReadWriteBinding)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUStorageBufferReadWriteBinding
x3)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x4)
)
sDL_BeginGPUComputePass
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst SDL_GPUStorageTextureReadWriteBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUStorageBufferReadWriteBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO (BG.Ptr SDL_GPUComputePass)
sDL_BeginGPUComputePass :: Ptr SDL_GPUCommandBuffer
-> PtrConst SDL_GPUStorageTextureReadWriteBinding
-> Uint32
-> PtrConst SDL_GPUStorageBufferReadWriteBinding
-> Uint32
-> IO (Ptr SDL_GPUComputePass)
sDL_BeginGPUComputePass = Ptr SDL_GPUCommandBuffer
-> PtrConst SDL_GPUStorageTextureReadWriteBinding
-> Uint32
-> PtrConst SDL_GPUStorageBufferReadWriteBinding
-> Uint32
-> IO (Ptr SDL_GPUComputePass)
hs_bindgen_04814702f1c40b5f
foreign import ccall safe "hs_bindgen_b04b2c08eaccdba1"
hs_bindgen_b04b2c08eaccdba1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_b04b2c08eaccdba1
:: BG.Ptr SDL_GPUComputePass
-> BG.Ptr SDL_GPUComputePipeline
-> IO ()
hs_bindgen_b04b2c08eaccdba1 :: Ptr SDL_GPUComputePass -> Ptr SDL_GPUComputePipeline -> IO ()
hs_bindgen_b04b2c08eaccdba1 =
\Ptr SDL_GPUComputePass
x0 ->
\Ptr SDL_GPUComputePipeline
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_b04b2c08eaccdba1_base (Ptr SDL_GPUComputePass -> FFIType (Ptr SDL_GPUComputePass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePass
x0) (Ptr SDL_GPUComputePipeline -> FFIType (Ptr SDL_GPUComputePipeline)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePipeline
x1)
sDL_BindGPUComputePipeline
:: BG.Ptr SDL_GPUComputePass
-> BG.Ptr SDL_GPUComputePipeline
-> IO ()
sDL_BindGPUComputePipeline :: Ptr SDL_GPUComputePass -> Ptr SDL_GPUComputePipeline -> IO ()
sDL_BindGPUComputePipeline =
Ptr SDL_GPUComputePass -> Ptr SDL_GPUComputePipeline -> IO ()
hs_bindgen_b04b2c08eaccdba1
foreign import ccall safe "hs_bindgen_94f4eed2a54840f8"
hs_bindgen_94f4eed2a54840f8_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_94f4eed2a54840f8
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_94f4eed2a54840f8 :: Ptr SDL_GPUComputePass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_94f4eed2a54840f8 =
\Ptr SDL_GPUComputePass
x0 ->
\Uint32
x1 ->
\PtrConst SDL_GPUTextureSamplerBinding
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_94f4eed2a54840f8_base
(Ptr SDL_GPUComputePass -> FFIType (Ptr SDL_GPUComputePass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst SDL_GPUTextureSamplerBinding
-> FFIType (PtrConst SDL_GPUTextureSamplerBinding)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureSamplerBinding
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUComputeSamplers
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUComputeSamplers :: Ptr SDL_GPUComputePass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
sDL_BindGPUComputeSamplers =
Ptr SDL_GPUComputePass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_94f4eed2a54840f8
foreign import ccall safe "hs_bindgen_f7ee457bab9d199a"
hs_bindgen_f7ee457bab9d199a_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_f7ee457bab9d199a
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_f7ee457bab9d199a :: Ptr SDL_GPUComputePass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_f7ee457bab9d199a =
\Ptr SDL_GPUComputePass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUTexture)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_f7ee457bab9d199a_base
(Ptr SDL_GPUComputePass -> FFIType (Ptr SDL_GPUComputePass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst (Ptr SDL_GPUTexture)
-> FFIType (PtrConst (Ptr SDL_GPUTexture))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_GPUTexture)
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUComputeStorageTextures
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUComputeStorageTextures :: Ptr SDL_GPUComputePass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
sDL_BindGPUComputeStorageTextures =
Ptr SDL_GPUComputePass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_f7ee457bab9d199a
foreign import ccall safe "hs_bindgen_641e269a64317ba1"
hs_bindgen_641e269a64317ba1_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_641e269a64317ba1
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_641e269a64317ba1 :: Ptr SDL_GPUComputePass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_641e269a64317ba1 =
\Ptr SDL_GPUComputePass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUBuffer)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_641e269a64317ba1_base
(Ptr SDL_GPUComputePass -> FFIType (Ptr SDL_GPUComputePass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(PtrConst (Ptr SDL_GPUBuffer)
-> FFIType (PtrConst (Ptr SDL_GPUBuffer))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_GPUBuffer)
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_BindGPUComputeStorageBuffers
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_BindGPUComputeStorageBuffers :: Ptr SDL_GPUComputePass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
sDL_BindGPUComputeStorageBuffers =
Ptr SDL_GPUComputePass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_641e269a64317ba1
foreign import ccall safe "hs_bindgen_bf60fb94f2ea8730"
hs_bindgen_bf60fb94f2ea8730_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_bf60fb94f2ea8730
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_bf60fb94f2ea8730 :: Ptr SDL_GPUComputePass -> Uint32 -> Uint32 -> Uint32 -> IO ()
hs_bindgen_bf60fb94f2ea8730 =
\Ptr SDL_GPUComputePass
x0 ->
\Uint32
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Word32 -> Word32 -> IO ()
hs_bindgen_bf60fb94f2ea8730_base
(Ptr SDL_GPUComputePass -> FFIType (Ptr SDL_GPUComputePass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePass
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
sDL_DispatchGPUCompute
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_DispatchGPUCompute :: Ptr SDL_GPUComputePass -> Uint32 -> Uint32 -> Uint32 -> IO ()
sDL_DispatchGPUCompute = Ptr SDL_GPUComputePass -> Uint32 -> Uint32 -> Uint32 -> IO ()
hs_bindgen_bf60fb94f2ea8730
foreign import ccall safe "hs_bindgen_0f44002961b2beb1"
hs_bindgen_0f44002961b2beb1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_0f44002961b2beb1
:: BG.Ptr SDL_GPUComputePass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_0f44002961b2beb1 :: Ptr SDL_GPUComputePass -> Ptr SDL_GPUBuffer -> Uint32 -> IO ()
hs_bindgen_0f44002961b2beb1 =
\Ptr SDL_GPUComputePass
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
\Uint32
x2 ->
Ptr Void -> Ptr Void -> Word32 -> IO ()
hs_bindgen_0f44002961b2beb1_base (Ptr SDL_GPUComputePass -> FFIType (Ptr SDL_GPUComputePass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePass
x0) (Ptr SDL_GPUBuffer -> FFIType (Ptr SDL_GPUBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUBuffer
x1) (Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
sDL_DispatchGPUComputeIndirect
:: BG.Ptr SDL_GPUComputePass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
sDL_DispatchGPUComputeIndirect :: Ptr SDL_GPUComputePass -> Ptr SDL_GPUBuffer -> Uint32 -> IO ()
sDL_DispatchGPUComputeIndirect =
Ptr SDL_GPUComputePass -> Ptr SDL_GPUBuffer -> Uint32 -> IO ()
hs_bindgen_0f44002961b2beb1
foreign import ccall safe "hs_bindgen_3dd5760089aac51a"
hs_bindgen_3dd5760089aac51a_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_3dd5760089aac51a
:: BG.Ptr SDL_GPUComputePass
-> IO ()
hs_bindgen_3dd5760089aac51a :: Ptr SDL_GPUComputePass -> IO ()
hs_bindgen_3dd5760089aac51a =
\Ptr SDL_GPUComputePass
x0 ->
Ptr Void -> IO ()
hs_bindgen_3dd5760089aac51a_base (Ptr SDL_GPUComputePass -> FFIType (Ptr SDL_GPUComputePass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUComputePass
x0)
sDL_EndGPUComputePass
:: BG.Ptr SDL_GPUComputePass
-> IO ()
sDL_EndGPUComputePass :: Ptr SDL_GPUComputePass -> IO ()
sDL_EndGPUComputePass = Ptr SDL_GPUComputePass -> IO ()
hs_bindgen_3dd5760089aac51a
foreign import ccall safe "hs_bindgen_4482f6067e6e107e"
hs_bindgen_4482f6067e6e107e_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_4482f6067e6e107e
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_4482f6067e6e107e :: Ptr SDL_GPUDevice
-> Ptr SDL_GPUTransferBuffer -> CBool -> IO (Ptr Void)
hs_bindgen_4482f6067e6e107e =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTransferBuffer
x1 ->
\CBool
x2 ->
(Ptr Void -> Ptr Void) -> IO (Ptr Void) -> IO (Ptr Void)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr Void -> Ptr Void
FFIType (Ptr Void) -> Ptr Void
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CBool -> IO (Ptr Void)
hs_bindgen_4482f6067e6e107e_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUTransferBuffer -> FFIType (Ptr SDL_GPUTransferBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUTransferBuffer
x1) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x2))
sDL_MapGPUTransferBuffer
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> BG.CBool
-> IO (BG.Ptr BG.Void)
sDL_MapGPUTransferBuffer :: Ptr SDL_GPUDevice
-> Ptr SDL_GPUTransferBuffer -> CBool -> IO (Ptr Void)
sDL_MapGPUTransferBuffer =
Ptr SDL_GPUDevice
-> Ptr SDL_GPUTransferBuffer -> CBool -> IO (Ptr Void)
hs_bindgen_4482f6067e6e107e
foreign import ccall safe "hs_bindgen_231a5479716b178e"
hs_bindgen_231a5479716b178e_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_231a5479716b178e
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> IO ()
hs_bindgen_231a5479716b178e :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTransferBuffer -> IO ()
hs_bindgen_231a5479716b178e =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTransferBuffer
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_231a5479716b178e_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUTransferBuffer -> FFIType (Ptr SDL_GPUTransferBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUTransferBuffer
x1)
sDL_UnmapGPUTransferBuffer
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> IO ()
sDL_UnmapGPUTransferBuffer :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTransferBuffer -> IO ()
sDL_UnmapGPUTransferBuffer =
Ptr SDL_GPUDevice -> Ptr SDL_GPUTransferBuffer -> IO ()
hs_bindgen_231a5479716b178e
foreign import ccall safe "hs_bindgen_e6f2bf9a9fc498cb"
hs_bindgen_e6f2bf9a9fc498cb_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_e6f2bf9a9fc498cb
:: BG.Ptr SDL_GPUCommandBuffer
-> IO (BG.Ptr SDL_GPUCopyPass)
hs_bindgen_e6f2bf9a9fc498cb :: Ptr SDL_GPUCommandBuffer -> IO (Ptr SDL_GPUCopyPass)
hs_bindgen_e6f2bf9a9fc498cb =
\Ptr SDL_GPUCommandBuffer
x0 ->
(Ptr Void -> Ptr SDL_GPUCopyPass)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUCopyPass)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUCopyPass
FFIType (Ptr SDL_GPUCopyPass) -> Ptr SDL_GPUCopyPass
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_e6f2bf9a9fc498cb_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0))
sDL_BeginGPUCopyPass
:: BG.Ptr SDL_GPUCommandBuffer
-> IO (BG.Ptr SDL_GPUCopyPass)
sDL_BeginGPUCopyPass :: Ptr SDL_GPUCommandBuffer -> IO (Ptr SDL_GPUCopyPass)
sDL_BeginGPUCopyPass = Ptr SDL_GPUCommandBuffer -> IO (Ptr SDL_GPUCopyPass)
hs_bindgen_e6f2bf9a9fc498cb
foreign import ccall safe "hs_bindgen_01d377001aa72f60"
hs_bindgen_01d377001aa72f60_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO ()
hs_bindgen_01d377001aa72f60
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTextureTransferInfo
-> PtrConst.PtrConst SDL_GPUTextureRegion
-> BG.CBool
-> IO ()
hs_bindgen_01d377001aa72f60 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureTransferInfo
-> PtrConst SDL_GPUTextureRegion
-> CBool
-> IO ()
hs_bindgen_01d377001aa72f60 =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUTextureTransferInfo
x1 ->
\PtrConst SDL_GPUTextureRegion
x2 ->
\CBool
x3 ->
Ptr Void -> Ptr Void -> Ptr Void -> CBool -> IO ()
hs_bindgen_01d377001aa72f60_base
(Ptr SDL_GPUCopyPass -> FFIType (Ptr SDL_GPUCopyPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCopyPass
x0)
(PtrConst SDL_GPUTextureTransferInfo
-> FFIType (PtrConst SDL_GPUTextureTransferInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureTransferInfo
x1)
(PtrConst SDL_GPUTextureRegion
-> FFIType (PtrConst SDL_GPUTextureRegion)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureRegion
x2)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x3)
sDL_UploadToGPUTexture
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTextureTransferInfo
-> PtrConst.PtrConst SDL_GPUTextureRegion
-> BG.CBool
-> IO ()
sDL_UploadToGPUTexture :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureTransferInfo
-> PtrConst SDL_GPUTextureRegion
-> CBool
-> IO ()
sDL_UploadToGPUTexture = Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureTransferInfo
-> PtrConst SDL_GPUTextureRegion
-> CBool
-> IO ()
hs_bindgen_01d377001aa72f60
foreign import ccall safe "hs_bindgen_6e1f7474e78322ce"
hs_bindgen_6e1f7474e78322ce_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO ()
hs_bindgen_6e1f7474e78322ce
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTransferBufferLocation
-> PtrConst.PtrConst SDL_GPUBufferRegion
-> BG.CBool
-> IO ()
hs_bindgen_6e1f7474e78322ce :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTransferBufferLocation
-> PtrConst SDL_GPUBufferRegion
-> CBool
-> IO ()
hs_bindgen_6e1f7474e78322ce =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUTransferBufferLocation
x1 ->
\PtrConst SDL_GPUBufferRegion
x2 ->
\CBool
x3 ->
Ptr Void -> Ptr Void -> Ptr Void -> CBool -> IO ()
hs_bindgen_6e1f7474e78322ce_base
(Ptr SDL_GPUCopyPass -> FFIType (Ptr SDL_GPUCopyPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCopyPass
x0)
(PtrConst SDL_GPUTransferBufferLocation
-> FFIType (PtrConst SDL_GPUTransferBufferLocation)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTransferBufferLocation
x1)
(PtrConst SDL_GPUBufferRegion
-> FFIType (PtrConst SDL_GPUBufferRegion)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUBufferRegion
x2)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x3)
sDL_UploadToGPUBuffer
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTransferBufferLocation
-> PtrConst.PtrConst SDL_GPUBufferRegion
-> BG.CBool
-> IO ()
sDL_UploadToGPUBuffer :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTransferBufferLocation
-> PtrConst SDL_GPUBufferRegion
-> CBool
-> IO ()
sDL_UploadToGPUBuffer = Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTransferBufferLocation
-> PtrConst SDL_GPUBufferRegion
-> CBool
-> IO ()
hs_bindgen_6e1f7474e78322ce
foreign import ccall safe "hs_bindgen_918f11a3023e9438"
hs_bindgen_918f11a3023e9438_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> BG.CBool
-> IO ()
hs_bindgen_918f11a3023e9438
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTextureLocation
-> PtrConst.PtrConst SDL_GPUTextureLocation
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.CBool
-> IO ()
hs_bindgen_918f11a3023e9438 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureLocation
-> PtrConst SDL_GPUTextureLocation
-> Uint32
-> Uint32
-> Uint32
-> CBool
-> IO ()
hs_bindgen_918f11a3023e9438 =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUTextureLocation
x1 ->
\PtrConst SDL_GPUTextureLocation
x2 ->
\Uint32
x3 ->
\Uint32
x4 ->
\Uint32
x5 ->
\CBool
x6 ->
Ptr Void
-> Ptr Void
-> Ptr Void
-> Word32
-> Word32
-> Word32
-> CBool
-> IO ()
hs_bindgen_918f11a3023e9438_base
(Ptr SDL_GPUCopyPass -> FFIType (Ptr SDL_GPUCopyPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCopyPass
x0)
(PtrConst SDL_GPUTextureLocation
-> FFIType (PtrConst SDL_GPUTextureLocation)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureLocation
x1)
(PtrConst SDL_GPUTextureLocation
-> FFIType (PtrConst SDL_GPUTextureLocation)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureLocation
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x4)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x5)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x6)
sDL_CopyGPUTextureToTexture
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTextureLocation
-> PtrConst.PtrConst SDL_GPUTextureLocation
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.CBool
-> IO ()
sDL_CopyGPUTextureToTexture :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureLocation
-> PtrConst SDL_GPUTextureLocation
-> Uint32
-> Uint32
-> Uint32
-> CBool
-> IO ()
sDL_CopyGPUTextureToTexture =
Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureLocation
-> PtrConst SDL_GPUTextureLocation
-> Uint32
-> Uint32
-> Uint32
-> CBool
-> IO ()
hs_bindgen_918f11a3023e9438
foreign import ccall safe "hs_bindgen_7075b4fcc48051e5"
hs_bindgen_7075b4fcc48051e5_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.CBool
-> IO ()
hs_bindgen_7075b4fcc48051e5
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUBufferLocation
-> PtrConst.PtrConst SDL_GPUBufferLocation
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.CBool
-> IO ()
hs_bindgen_7075b4fcc48051e5 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUBufferLocation
-> PtrConst SDL_GPUBufferLocation
-> Uint32
-> CBool
-> IO ()
hs_bindgen_7075b4fcc48051e5 =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUBufferLocation
x1 ->
\PtrConst SDL_GPUBufferLocation
x2 ->
\Uint32
x3 ->
\CBool
x4 ->
Ptr Void -> Ptr Void -> Ptr Void -> Word32 -> CBool -> IO ()
hs_bindgen_7075b4fcc48051e5_base
(Ptr SDL_GPUCopyPass -> FFIType (Ptr SDL_GPUCopyPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCopyPass
x0)
(PtrConst SDL_GPUBufferLocation
-> FFIType (PtrConst SDL_GPUBufferLocation)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUBufferLocation
x1)
(PtrConst SDL_GPUBufferLocation
-> FFIType (PtrConst SDL_GPUBufferLocation)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUBufferLocation
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x4)
sDL_CopyGPUBufferToBuffer
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUBufferLocation
-> PtrConst.PtrConst SDL_GPUBufferLocation
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.CBool
-> IO ()
sDL_CopyGPUBufferToBuffer :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUBufferLocation
-> PtrConst SDL_GPUBufferLocation
-> Uint32
-> CBool
-> IO ()
sDL_CopyGPUBufferToBuffer =
Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUBufferLocation
-> PtrConst SDL_GPUBufferLocation
-> Uint32
-> CBool
-> IO ()
hs_bindgen_7075b4fcc48051e5
foreign import ccall safe "hs_bindgen_26b4b49d8544fb8f"
hs_bindgen_26b4b49d8544fb8f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_26b4b49d8544fb8f
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTextureRegion
-> PtrConst.PtrConst SDL_GPUTextureTransferInfo
-> IO ()
hs_bindgen_26b4b49d8544fb8f :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureRegion
-> PtrConst SDL_GPUTextureTransferInfo
-> IO ()
hs_bindgen_26b4b49d8544fb8f =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUTextureRegion
x1 ->
\PtrConst SDL_GPUTextureTransferInfo
x2 ->
Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_26b4b49d8544fb8f_base (Ptr SDL_GPUCopyPass -> FFIType (Ptr SDL_GPUCopyPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCopyPass
x0) (PtrConst SDL_GPUTextureRegion
-> FFIType (PtrConst SDL_GPUTextureRegion)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureRegion
x1) (PtrConst SDL_GPUTextureTransferInfo
-> FFIType (PtrConst SDL_GPUTextureTransferInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTextureTransferInfo
x2)
sDL_DownloadFromGPUTexture
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTextureRegion
-> PtrConst.PtrConst SDL_GPUTextureTransferInfo
-> IO ()
sDL_DownloadFromGPUTexture :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureRegion
-> PtrConst SDL_GPUTextureTransferInfo
-> IO ()
sDL_DownloadFromGPUTexture =
Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureRegion
-> PtrConst SDL_GPUTextureTransferInfo
-> IO ()
hs_bindgen_26b4b49d8544fb8f
foreign import ccall safe "hs_bindgen_d9824eebc00631e9"
hs_bindgen_d9824eebc00631e9_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_d9824eebc00631e9
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUBufferRegion
-> PtrConst.PtrConst SDL_GPUTransferBufferLocation
-> IO ()
hs_bindgen_d9824eebc00631e9 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUBufferRegion
-> PtrConst SDL_GPUTransferBufferLocation
-> IO ()
hs_bindgen_d9824eebc00631e9 =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUBufferRegion
x1 ->
\PtrConst SDL_GPUTransferBufferLocation
x2 ->
Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_d9824eebc00631e9_base (Ptr SDL_GPUCopyPass -> FFIType (Ptr SDL_GPUCopyPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCopyPass
x0) (PtrConst SDL_GPUBufferRegion
-> FFIType (PtrConst SDL_GPUBufferRegion)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUBufferRegion
x1) (PtrConst SDL_GPUTransferBufferLocation
-> FFIType (PtrConst SDL_GPUTransferBufferLocation)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUTransferBufferLocation
x2)
sDL_DownloadFromGPUBuffer
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUBufferRegion
-> PtrConst.PtrConst SDL_GPUTransferBufferLocation
-> IO ()
sDL_DownloadFromGPUBuffer :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUBufferRegion
-> PtrConst SDL_GPUTransferBufferLocation
-> IO ()
sDL_DownloadFromGPUBuffer =
Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUBufferRegion
-> PtrConst SDL_GPUTransferBufferLocation
-> IO ()
hs_bindgen_d9824eebc00631e9
foreign import ccall safe "hs_bindgen_bf4e18ec8641dd60"
hs_bindgen_bf4e18ec8641dd60_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_bf4e18ec8641dd60
:: BG.Ptr SDL_GPUCopyPass
-> IO ()
hs_bindgen_bf4e18ec8641dd60 :: Ptr SDL_GPUCopyPass -> IO ()
hs_bindgen_bf4e18ec8641dd60 =
\Ptr SDL_GPUCopyPass
x0 ->
Ptr Void -> IO ()
hs_bindgen_bf4e18ec8641dd60_base (Ptr SDL_GPUCopyPass -> FFIType (Ptr SDL_GPUCopyPass)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCopyPass
x0)
sDL_EndGPUCopyPass
:: BG.Ptr SDL_GPUCopyPass
-> IO ()
sDL_EndGPUCopyPass :: Ptr SDL_GPUCopyPass -> IO ()
sDL_EndGPUCopyPass = Ptr SDL_GPUCopyPass -> IO ()
hs_bindgen_bf4e18ec8641dd60
foreign import ccall safe "hs_bindgen_fa347415d8ba2bab"
hs_bindgen_fa347415d8ba2bab_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_fa347415d8ba2bab
:: BG.Ptr SDL_GPUCommandBuffer
-> BG.Ptr SDL_GPUTexture
-> IO ()
hs_bindgen_fa347415d8ba2bab :: Ptr SDL_GPUCommandBuffer -> Ptr SDL_GPUTexture -> IO ()
hs_bindgen_fa347415d8ba2bab =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Ptr SDL_GPUTexture
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_fa347415d8ba2bab_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0) (Ptr SDL_GPUTexture -> FFIType (Ptr SDL_GPUTexture)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUTexture
x1)
sDL_GenerateMipmapsForGPUTexture
:: BG.Ptr SDL_GPUCommandBuffer
-> BG.Ptr SDL_GPUTexture
-> IO ()
sDL_GenerateMipmapsForGPUTexture :: Ptr SDL_GPUCommandBuffer -> Ptr SDL_GPUTexture -> IO ()
sDL_GenerateMipmapsForGPUTexture =
Ptr SDL_GPUCommandBuffer -> Ptr SDL_GPUTexture -> IO ()
hs_bindgen_fa347415d8ba2bab
foreign import ccall safe "hs_bindgen_2cf48971e4a0bb02"
hs_bindgen_2cf48971e4a0bb02_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_2cf48971e4a0bb02
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst SDL_GPUBlitInfo
-> IO ()
hs_bindgen_2cf48971e4a0bb02 :: Ptr SDL_GPUCommandBuffer -> PtrConst SDL_GPUBlitInfo -> IO ()
hs_bindgen_2cf48971e4a0bb02 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\PtrConst SDL_GPUBlitInfo
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_2cf48971e4a0bb02_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0) (PtrConst SDL_GPUBlitInfo -> FFIType (PtrConst SDL_GPUBlitInfo)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst SDL_GPUBlitInfo
x1)
sDL_BlitGPUTexture
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst SDL_GPUBlitInfo
-> IO ()
sDL_BlitGPUTexture :: Ptr SDL_GPUCommandBuffer -> PtrConst SDL_GPUBlitInfo -> IO ()
sDL_BlitGPUTexture = Ptr SDL_GPUCommandBuffer -> PtrConst SDL_GPUBlitInfo -> IO ()
hs_bindgen_2cf48971e4a0bb02
foreign import ccall safe "hs_bindgen_7f2a5f493596626a"
hs_bindgen_7f2a5f493596626a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_7f2a5f493596626a
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUSwapchainComposition
-> IO BG.CBool
hs_bindgen_7f2a5f493596626a :: Ptr SDL_GPUDevice
-> Ptr SDL_Window -> SDL_GPUSwapchainComposition -> IO CBool
hs_bindgen_7f2a5f493596626a =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_Window
x1 ->
\SDL_GPUSwapchainComposition
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CUInt -> IO CBool
hs_bindgen_7f2a5f493596626a_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1) (SDL_GPUSwapchainComposition -> FFIType SDL_GPUSwapchainComposition
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUSwapchainComposition
x2))
sDL_WindowSupportsGPUSwapchainComposition
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUSwapchainComposition
-> IO BG.CBool
sDL_WindowSupportsGPUSwapchainComposition :: Ptr SDL_GPUDevice
-> Ptr SDL_Window -> SDL_GPUSwapchainComposition -> IO CBool
sDL_WindowSupportsGPUSwapchainComposition =
Ptr SDL_GPUDevice
-> Ptr SDL_Window -> SDL_GPUSwapchainComposition -> IO CBool
hs_bindgen_7f2a5f493596626a
foreign import ccall safe "hs_bindgen_832a19beda5bc034"
hs_bindgen_832a19beda5bc034_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_832a19beda5bc034
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUPresentMode
-> IO BG.CBool
hs_bindgen_832a19beda5bc034 :: Ptr SDL_GPUDevice
-> Ptr SDL_Window -> SDL_GPUPresentMode -> IO CBool
hs_bindgen_832a19beda5bc034 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_Window
x1 ->
\SDL_GPUPresentMode
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> Ptr Void -> CUInt -> IO CBool
hs_bindgen_832a19beda5bc034_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1) (SDL_GPUPresentMode -> FFIType SDL_GPUPresentMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUPresentMode
x2))
sDL_WindowSupportsGPUPresentMode
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUPresentMode
-> IO BG.CBool
sDL_WindowSupportsGPUPresentMode :: Ptr SDL_GPUDevice
-> Ptr SDL_Window -> SDL_GPUPresentMode -> IO CBool
sDL_WindowSupportsGPUPresentMode =
Ptr SDL_GPUDevice
-> Ptr SDL_Window -> SDL_GPUPresentMode -> IO CBool
hs_bindgen_832a19beda5bc034
foreign import ccall safe "hs_bindgen_5eeb91d45dc27764"
hs_bindgen_5eeb91d45dc27764_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_5eeb91d45dc27764
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_5eeb91d45dc27764 :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO CBool
hs_bindgen_5eeb91d45dc27764 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_Window
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_5eeb91d45dc27764_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1))
sDL_ClaimWindowForGPUDevice
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
sDL_ClaimWindowForGPUDevice :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO CBool
sDL_ClaimWindowForGPUDevice =
Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO CBool
hs_bindgen_5eeb91d45dc27764
foreign import ccall safe "hs_bindgen_00fb11a8b5935e0f"
hs_bindgen_00fb11a8b5935e0f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_00fb11a8b5935e0f
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO ()
hs_bindgen_00fb11a8b5935e0f :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO ()
hs_bindgen_00fb11a8b5935e0f =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_Window
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_00fb11a8b5935e0f_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1)
sDL_ReleaseWindowFromGPUDevice
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO ()
sDL_ReleaseWindowFromGPUDevice :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO ()
sDL_ReleaseWindowFromGPUDevice =
Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO ()
hs_bindgen_00fb11a8b5935e0f
foreign import ccall safe "hs_bindgen_caf081d6c5e2aa14"
hs_bindgen_caf081d6c5e2aa14_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_caf081d6c5e2aa14
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUSwapchainComposition
-> SDL_GPUPresentMode
-> IO BG.CBool
hs_bindgen_caf081d6c5e2aa14 :: Ptr SDL_GPUDevice
-> Ptr SDL_Window
-> SDL_GPUSwapchainComposition
-> SDL_GPUPresentMode
-> IO CBool
hs_bindgen_caf081d6c5e2aa14 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_Window
x1 ->
\SDL_GPUSwapchainComposition
x2 ->
\SDL_GPUPresentMode
x3 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> Ptr Void -> CUInt -> CUInt -> IO CBool
hs_bindgen_caf081d6c5e2aa14_base
(Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0)
(Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1)
(SDL_GPUSwapchainComposition -> FFIType SDL_GPUSwapchainComposition
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUSwapchainComposition
x2)
(SDL_GPUPresentMode -> FFIType SDL_GPUPresentMode
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUPresentMode
x3)
)
sDL_SetGPUSwapchainParameters
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUSwapchainComposition
-> SDL_GPUPresentMode
-> IO BG.CBool
sDL_SetGPUSwapchainParameters :: Ptr SDL_GPUDevice
-> Ptr SDL_Window
-> SDL_GPUSwapchainComposition
-> SDL_GPUPresentMode
-> IO CBool
sDL_SetGPUSwapchainParameters =
Ptr SDL_GPUDevice
-> Ptr SDL_Window
-> SDL_GPUSwapchainComposition
-> SDL_GPUPresentMode
-> IO CBool
hs_bindgen_caf081d6c5e2aa14
foreign import ccall safe "hs_bindgen_04ce0909a6c26d29"
hs_bindgen_04ce0909a6c26d29_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_04ce0909a6c26d29
:: BG.Ptr SDL_GPUDevice
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_04ce0909a6c26d29 :: Ptr SDL_GPUDevice -> Uint32 -> IO CBool
hs_bindgen_04ce0909a6c26d29 =
\Ptr SDL_GPUDevice
x0 ->
\Uint32
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Word32 -> IO CBool
hs_bindgen_04ce0909a6c26d29_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1))
sDL_SetGPUAllowedFramesInFlight
:: BG.Ptr SDL_GPUDevice
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_SetGPUAllowedFramesInFlight :: Ptr SDL_GPUDevice -> Uint32 -> IO CBool
sDL_SetGPUAllowedFramesInFlight =
Ptr SDL_GPUDevice -> Uint32 -> IO CBool
hs_bindgen_04ce0909a6c26d29
foreign import ccall safe "hs_bindgen_6389b81fd8780e8b"
hs_bindgen_6389b81fd8780e8b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_6389b81fd8780e8b
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO SDL_GPUTextureFormat
hs_bindgen_6389b81fd8780e8b :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO SDL_GPUTextureFormat
hs_bindgen_6389b81fd8780e8b =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_Window
x1 ->
(CUInt -> SDL_GPUTextureFormat)
-> IO CUInt -> IO SDL_GPUTextureFormat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GPUTextureFormat
FFIType SDL_GPUTextureFormat -> SDL_GPUTextureFormat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CUInt
hs_bindgen_6389b81fd8780e8b_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1))
sDL_GetGPUSwapchainTextureFormat
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO SDL_GPUTextureFormat
sDL_GetGPUSwapchainTextureFormat :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO SDL_GPUTextureFormat
sDL_GetGPUSwapchainTextureFormat =
Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO SDL_GPUTextureFormat
hs_bindgen_6389b81fd8780e8b
foreign import ccall safe "hs_bindgen_92ebdfd004d30834"
hs_bindgen_92ebdfd004d30834_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_92ebdfd004d30834
:: BG.Ptr SDL_GPUCommandBuffer
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> BG.Ptr (BG.Ptr SDL_GPUTexture)
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_92ebdfd004d30834 :: Ptr SDL_GPUCommandBuffer
-> Ptr SDL_Window
-> Ptr (Ptr SDL_GPUTexture)
-> Ptr Uint32
-> Ptr Uint32
-> IO CBool
hs_bindgen_92ebdfd004d30834 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Ptr SDL_Window
x1 ->
\Ptr (Ptr SDL_GPUTexture)
x2 ->
\Ptr Uint32
x3 ->
\Ptr Uint32
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_92ebdfd004d30834_base
(Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0)
(Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1)
(Ptr (Ptr SDL_GPUTexture) -> FFIType (Ptr (Ptr SDL_GPUTexture))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr (Ptr SDL_GPUTexture)
x2)
(Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x3)
(Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x4)
)
sDL_AcquireGPUSwapchainTexture
:: BG.Ptr SDL_GPUCommandBuffer
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> BG.Ptr (BG.Ptr SDL_GPUTexture)
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_AcquireGPUSwapchainTexture :: Ptr SDL_GPUCommandBuffer
-> Ptr SDL_Window
-> Ptr (Ptr SDL_GPUTexture)
-> Ptr Uint32
-> Ptr Uint32
-> IO CBool
sDL_AcquireGPUSwapchainTexture =
Ptr SDL_GPUCommandBuffer
-> Ptr SDL_Window
-> Ptr (Ptr SDL_GPUTexture)
-> Ptr Uint32
-> Ptr Uint32
-> IO CBool
hs_bindgen_92ebdfd004d30834
foreign import ccall safe "hs_bindgen_819c0e296688c2c8"
hs_bindgen_819c0e296688c2c8_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_819c0e296688c2c8
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_819c0e296688c2c8 :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO CBool
hs_bindgen_819c0e296688c2c8 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_Window
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_819c0e296688c2c8_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1))
sDL_WaitForGPUSwapchain
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
sDL_WaitForGPUSwapchain :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO CBool
sDL_WaitForGPUSwapchain = Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO CBool
hs_bindgen_819c0e296688c2c8
foreign import ccall safe "hs_bindgen_b7be4df3492ace1e"
hs_bindgen_b7be4df3492ace1e_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b7be4df3492ace1e
:: BG.Ptr SDL_GPUCommandBuffer
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> BG.Ptr (BG.Ptr SDL_GPUTexture)
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_b7be4df3492ace1e :: Ptr SDL_GPUCommandBuffer
-> Ptr SDL_Window
-> Ptr (Ptr SDL_GPUTexture)
-> Ptr Uint32
-> Ptr Uint32
-> IO CBool
hs_bindgen_b7be4df3492ace1e =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Ptr SDL_Window
x1 ->
\Ptr (Ptr SDL_GPUTexture)
x2 ->
\Ptr Uint32
x3 ->
\Ptr Uint32
x4 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void
-> Ptr Void -> Ptr Void -> Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_b7be4df3492ace1e_base
(Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0)
(Ptr SDL_Window -> FFIType (Ptr SDL_Window)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Window
x1)
(Ptr (Ptr SDL_GPUTexture) -> FFIType (Ptr (Ptr SDL_GPUTexture))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr (Ptr SDL_GPUTexture)
x2)
(Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x3)
(Ptr Uint32 -> FFIType (Ptr Uint32)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Uint32
x4)
)
sDL_WaitAndAcquireGPUSwapchainTexture
:: BG.Ptr SDL_GPUCommandBuffer
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> BG.Ptr (BG.Ptr SDL_GPUTexture)
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.Ptr SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_WaitAndAcquireGPUSwapchainTexture :: Ptr SDL_GPUCommandBuffer
-> Ptr SDL_Window
-> Ptr (Ptr SDL_GPUTexture)
-> Ptr Uint32
-> Ptr Uint32
-> IO CBool
sDL_WaitAndAcquireGPUSwapchainTexture =
Ptr SDL_GPUCommandBuffer
-> Ptr SDL_Window
-> Ptr (Ptr SDL_GPUTexture)
-> Ptr Uint32
-> Ptr Uint32
-> IO CBool
hs_bindgen_b7be4df3492ace1e
foreign import ccall safe "hs_bindgen_6f98a07dd7e96530"
hs_bindgen_6f98a07dd7e96530_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_6f98a07dd7e96530
:: BG.Ptr SDL_GPUCommandBuffer
-> IO BG.CBool
hs_bindgen_6f98a07dd7e96530 :: Ptr SDL_GPUCommandBuffer -> IO CBool
hs_bindgen_6f98a07dd7e96530 =
\Ptr SDL_GPUCommandBuffer
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_6f98a07dd7e96530_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0))
sDL_SubmitGPUCommandBuffer
:: BG.Ptr SDL_GPUCommandBuffer
-> IO BG.CBool
sDL_SubmitGPUCommandBuffer :: Ptr SDL_GPUCommandBuffer -> IO CBool
sDL_SubmitGPUCommandBuffer =
Ptr SDL_GPUCommandBuffer -> IO CBool
hs_bindgen_6f98a07dd7e96530
foreign import ccall safe "hs_bindgen_897578b42f3c05e8"
hs_bindgen_897578b42f3c05e8_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_897578b42f3c05e8
:: BG.Ptr SDL_GPUCommandBuffer
-> IO (BG.Ptr SDL_GPUFence)
hs_bindgen_897578b42f3c05e8 :: Ptr SDL_GPUCommandBuffer -> IO (Ptr SDL_GPUFence)
hs_bindgen_897578b42f3c05e8 =
\Ptr SDL_GPUCommandBuffer
x0 ->
(Ptr Void -> Ptr SDL_GPUFence)
-> IO (Ptr Void) -> IO (Ptr SDL_GPUFence)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_GPUFence
FFIType (Ptr SDL_GPUFence) -> Ptr SDL_GPUFence
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_897578b42f3c05e8_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0))
sDL_SubmitGPUCommandBufferAndAcquireFence
:: BG.Ptr SDL_GPUCommandBuffer
-> IO (BG.Ptr SDL_GPUFence)
sDL_SubmitGPUCommandBufferAndAcquireFence :: Ptr SDL_GPUCommandBuffer -> IO (Ptr SDL_GPUFence)
sDL_SubmitGPUCommandBufferAndAcquireFence =
Ptr SDL_GPUCommandBuffer -> IO (Ptr SDL_GPUFence)
hs_bindgen_897578b42f3c05e8
foreign import ccall safe "hs_bindgen_e7e00ea7d024e9e9"
hs_bindgen_e7e00ea7d024e9e9_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_e7e00ea7d024e9e9
:: BG.Ptr SDL_GPUCommandBuffer
-> IO BG.CBool
hs_bindgen_e7e00ea7d024e9e9 :: Ptr SDL_GPUCommandBuffer -> IO CBool
hs_bindgen_e7e00ea7d024e9e9 =
\Ptr SDL_GPUCommandBuffer
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_e7e00ea7d024e9e9_base (Ptr SDL_GPUCommandBuffer -> FFIType (Ptr SDL_GPUCommandBuffer)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUCommandBuffer
x0))
sDL_CancelGPUCommandBuffer
:: BG.Ptr SDL_GPUCommandBuffer
-> IO BG.CBool
sDL_CancelGPUCommandBuffer :: Ptr SDL_GPUCommandBuffer -> IO CBool
sDL_CancelGPUCommandBuffer =
Ptr SDL_GPUCommandBuffer -> IO CBool
hs_bindgen_e7e00ea7d024e9e9
foreign import ccall safe "hs_bindgen_afeaba8d92329a17"
hs_bindgen_afeaba8d92329a17_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_afeaba8d92329a17
:: BG.Ptr SDL_GPUDevice
-> IO BG.CBool
hs_bindgen_afeaba8d92329a17 :: Ptr SDL_GPUDevice -> IO CBool
hs_bindgen_afeaba8d92329a17 =
\Ptr SDL_GPUDevice
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_afeaba8d92329a17_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0))
sDL_WaitForGPUIdle
:: BG.Ptr SDL_GPUDevice
-> IO BG.CBool
sDL_WaitForGPUIdle :: Ptr SDL_GPUDevice -> IO CBool
sDL_WaitForGPUIdle = Ptr SDL_GPUDevice -> IO CBool
hs_bindgen_afeaba8d92329a17
foreign import ccall safe "hs_bindgen_c1152a4254c2282b"
hs_bindgen_c1152a4254c2282b_base
:: BG.Ptr BG.Void
-> BG.CBool
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_c1152a4254c2282b
:: BG.Ptr SDL_GPUDevice
-> BG.CBool
-> PtrConst.PtrConst (BG.Ptr SDL_GPUFence)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_c1152a4254c2282b :: Ptr SDL_GPUDevice
-> CBool -> PtrConst (Ptr SDL_GPUFence) -> Uint32 -> IO CBool
hs_bindgen_c1152a4254c2282b =
\Ptr SDL_GPUDevice
x0 ->
\CBool
x1 ->
\PtrConst (Ptr SDL_GPUFence)
x2 ->
\Uint32
x3 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CBool -> Ptr Void -> Word32 -> IO CBool
hs_bindgen_c1152a4254c2282b_base
(Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0)
(CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1)
(PtrConst (Ptr SDL_GPUFence)
-> FFIType (PtrConst (Ptr SDL_GPUFence))
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst (Ptr SDL_GPUFence)
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
)
sDL_WaitForGPUFences
:: BG.Ptr SDL_GPUDevice
-> BG.CBool
-> PtrConst.PtrConst (BG.Ptr SDL_GPUFence)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
sDL_WaitForGPUFences :: Ptr SDL_GPUDevice
-> CBool -> PtrConst (Ptr SDL_GPUFence) -> Uint32 -> IO CBool
sDL_WaitForGPUFences = Ptr SDL_GPUDevice
-> CBool -> PtrConst (Ptr SDL_GPUFence) -> Uint32 -> IO CBool
hs_bindgen_c1152a4254c2282b
foreign import ccall safe "hs_bindgen_b6027b7729f79f17"
hs_bindgen_b6027b7729f79f17_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_b6027b7729f79f17
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUFence
-> IO BG.CBool
hs_bindgen_b6027b7729f79f17 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUFence -> IO CBool
hs_bindgen_b6027b7729f79f17 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUFence
x1 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO CBool
hs_bindgen_b6027b7729f79f17_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUFence -> FFIType (Ptr SDL_GPUFence)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUFence
x1))
sDL_QueryGPUFence
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUFence
-> IO BG.CBool
sDL_QueryGPUFence :: Ptr SDL_GPUDevice -> Ptr SDL_GPUFence -> IO CBool
sDL_QueryGPUFence = Ptr SDL_GPUDevice -> Ptr SDL_GPUFence -> IO CBool
hs_bindgen_b6027b7729f79f17
foreign import ccall safe "hs_bindgen_60db26ce4b928463"
hs_bindgen_60db26ce4b928463_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_60db26ce4b928463
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUFence
-> IO ()
hs_bindgen_60db26ce4b928463 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUFence -> IO ()
hs_bindgen_60db26ce4b928463 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUFence
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_60db26ce4b928463_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (Ptr SDL_GPUFence -> FFIType (Ptr SDL_GPUFence)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUFence
x1)
sDL_ReleaseGPUFence
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUFence
-> IO ()
sDL_ReleaseGPUFence :: Ptr SDL_GPUDevice -> Ptr SDL_GPUFence -> IO ()
sDL_ReleaseGPUFence = Ptr SDL_GPUDevice -> Ptr SDL_GPUFence -> IO ()
hs_bindgen_60db26ce4b928463
foreign import ccall safe "hs_bindgen_10b178c2418e1b7a"
hs_bindgen_10b178c2418e1b7a_base
:: BG.CUInt
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_10b178c2418e1b7a
:: SDL_GPUTextureFormat
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_10b178c2418e1b7a :: SDL_GPUTextureFormat -> IO Uint32
hs_bindgen_10b178c2418e1b7a =
\SDL_GPUTextureFormat
x0 ->
(Word32 -> Uint32) -> IO Word32 -> IO Uint32
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Word32 -> Uint32
FFIType Uint32 -> Uint32
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> IO Word32
hs_bindgen_10b178c2418e1b7a_base (SDL_GPUTextureFormat -> FFIType SDL_GPUTextureFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUTextureFormat
x0))
sDL_GPUTextureFormatTexelBlockSize
:: SDL_GPUTextureFormat
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
sDL_GPUTextureFormatTexelBlockSize :: SDL_GPUTextureFormat -> IO Uint32
sDL_GPUTextureFormatTexelBlockSize =
SDL_GPUTextureFormat -> IO Uint32
hs_bindgen_10b178c2418e1b7a
foreign import ccall safe "hs_bindgen_e7f998463fccba5a"
hs_bindgen_e7f998463fccba5a_base
:: BG.Ptr BG.Void
-> BG.CUInt
-> BG.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_e7f998463fccba5a
:: BG.Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUTextureType
-> SDL_GPUTextureUsageFlags
-> IO BG.CBool
hs_bindgen_e7f998463fccba5a :: Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUTextureType
-> SDL_GPUTextureUsageFlags
-> IO CBool
hs_bindgen_e7f998463fccba5a =
\Ptr SDL_GPUDevice
x0 ->
\SDL_GPUTextureFormat
x1 ->
\SDL_GPUTextureType
x2 ->
\SDL_GPUTextureUsageFlags
x3 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CUInt -> CUInt -> Word32 -> IO CBool
hs_bindgen_e7f998463fccba5a_base
(Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0)
(SDL_GPUTextureFormat -> FFIType SDL_GPUTextureFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUTextureFormat
x1)
(SDL_GPUTextureType -> FFIType SDL_GPUTextureType
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUTextureType
x2)
(SDL_GPUTextureUsageFlags -> FFIType SDL_GPUTextureUsageFlags
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUTextureUsageFlags
x3)
)
sDL_GPUTextureSupportsFormat
:: BG.Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUTextureType
-> SDL_GPUTextureUsageFlags
-> IO BG.CBool
sDL_GPUTextureSupportsFormat :: Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUTextureType
-> SDL_GPUTextureUsageFlags
-> IO CBool
sDL_GPUTextureSupportsFormat =
Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUTextureType
-> SDL_GPUTextureUsageFlags
-> IO CBool
hs_bindgen_e7f998463fccba5a
foreign import ccall safe "hs_bindgen_de6deb1af3775431"
hs_bindgen_de6deb1af3775431_base
:: BG.Ptr BG.Void
-> BG.CUInt
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_de6deb1af3775431
:: BG.Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUSampleCount
-> IO BG.CBool
hs_bindgen_de6deb1af3775431 :: Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat -> SDL_GPUSampleCount -> IO CBool
hs_bindgen_de6deb1af3775431 =
\Ptr SDL_GPUDevice
x0 ->
\SDL_GPUTextureFormat
x1 ->
\SDL_GPUSampleCount
x2 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
(Ptr Void -> CUInt -> CUInt -> IO CBool
hs_bindgen_de6deb1af3775431_base (Ptr SDL_GPUDevice -> FFIType (Ptr SDL_GPUDevice)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_GPUDevice
x0) (SDL_GPUTextureFormat -> FFIType SDL_GPUTextureFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUTextureFormat
x1) (SDL_GPUSampleCount -> FFIType SDL_GPUSampleCount
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUSampleCount
x2))
sDL_GPUTextureSupportsSampleCount
:: BG.Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUSampleCount
-> IO BG.CBool
sDL_GPUTextureSupportsSampleCount :: Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat -> SDL_GPUSampleCount -> IO CBool
sDL_GPUTextureSupportsSampleCount =
Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat -> SDL_GPUSampleCount -> IO CBool
hs_bindgen_de6deb1af3775431
foreign import ccall safe "hs_bindgen_d9b37eb9aa5f44b5"
hs_bindgen_d9b37eb9aa5f44b5_base
:: BG.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_d9b37eb9aa5f44b5
:: SDL_GPUTextureFormat
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_d9b37eb9aa5f44b5 :: SDL_GPUTextureFormat -> Uint32 -> Uint32 -> Uint32 -> IO Uint32
hs_bindgen_d9b37eb9aa5f44b5 =
\SDL_GPUTextureFormat
x0 ->
\Uint32
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
(Word32 -> Uint32) -> IO Word32 -> IO Uint32
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Word32 -> Uint32
FFIType Uint32 -> Uint32
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( CUInt -> Word32 -> Word32 -> Word32 -> IO Word32
hs_bindgen_d9b37eb9aa5f44b5_base
(SDL_GPUTextureFormat -> FFIType SDL_GPUTextureFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUTextureFormat
x0)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x1)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x2)
(Uint32 -> FFIType Uint32
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Uint32
x3)
)
sDL_CalculateGPUTextureFormatSize
:: SDL_GPUTextureFormat
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
sDL_CalculateGPUTextureFormatSize :: SDL_GPUTextureFormat -> Uint32 -> Uint32 -> Uint32 -> IO Uint32
sDL_CalculateGPUTextureFormatSize =
SDL_GPUTextureFormat -> Uint32 -> Uint32 -> Uint32 -> IO Uint32
hs_bindgen_d9b37eb9aa5f44b5
foreign import ccall safe "hs_bindgen_128db189d446a117"
hs_bindgen_128db189d446a117_base
:: BG.CUInt
-> IO HsBindgen.Runtime.Support.CUInt
hs_bindgen_128db189d446a117
:: SDL_GPUTextureFormat
-> IO SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
hs_bindgen_128db189d446a117 :: SDL_GPUTextureFormat -> IO SDL_PixelFormat
hs_bindgen_128db189d446a117 =
\SDL_GPUTextureFormat
x0 ->
(CUInt -> SDL_PixelFormat) -> IO CUInt -> IO SDL_PixelFormat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_PixelFormat
FFIType SDL_PixelFormat -> SDL_PixelFormat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> IO CUInt
hs_bindgen_128db189d446a117_base (SDL_GPUTextureFormat -> FFIType SDL_GPUTextureFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_GPUTextureFormat
x0))
sDL_GetPixelFormatFromGPUTextureFormat
:: SDL_GPUTextureFormat
-> IO SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
sDL_GetPixelFormatFromGPUTextureFormat :: SDL_GPUTextureFormat -> IO SDL_PixelFormat
sDL_GetPixelFormatFromGPUTextureFormat =
SDL_GPUTextureFormat -> IO SDL_PixelFormat
hs_bindgen_128db189d446a117
foreign import ccall safe "hs_bindgen_af0c7c8e2642605b"
hs_bindgen_af0c7c8e2642605b_base
:: HsBindgen.Runtime.Support.CUInt
-> IO BG.CUInt
hs_bindgen_af0c7c8e2642605b
:: SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO SDL_GPUTextureFormat
hs_bindgen_af0c7c8e2642605b :: SDL_PixelFormat -> IO SDL_GPUTextureFormat
hs_bindgen_af0c7c8e2642605b =
\SDL_PixelFormat
x0 ->
(CUInt -> SDL_GPUTextureFormat)
-> IO CUInt -> IO SDL_GPUTextureFormat
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CUInt -> SDL_GPUTextureFormat
FFIType SDL_GPUTextureFormat -> SDL_GPUTextureFormat
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (CUInt -> IO CUInt
hs_bindgen_af0c7c8e2642605b_base (SDL_PixelFormat -> FFIType SDL_PixelFormat
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_PixelFormat
x0))
sDL_GetGPUTextureFormatFromPixelFormat
:: SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO SDL_GPUTextureFormat
sDL_GetGPUTextureFormatFromPixelFormat :: SDL_PixelFormat -> IO SDL_GPUTextureFormat
sDL_GetGPUTextureFormatFromPixelFormat =
SDL_PixelFormat -> IO SDL_GPUTextureFormat
hs_bindgen_af0c7c8e2642605b