{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Gpu.Unsafe (
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GPUSupportsShaderFormats,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GPUSupportsProperties,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUDevice,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUDeviceWithProperties,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DestroyGPUDevice,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GetNumGPUDrivers,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GetGPUDriver,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GetGPUDeviceDriver,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GetGPUShaderFormats,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GetGPUDeviceProperties,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUComputePipeline,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUGraphicsPipeline,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUSampler,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUShader,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CreateGPUTransferBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SetGPUBufferName,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SetGPUTextureName,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_InsertGPUDebugLabel,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_PushGPUDebugGroup,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_PopGPUDebugGroup,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseGPUTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseGPUSampler,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseGPUBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseGPUTransferBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseGPUComputePipeline,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseGPUShader,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseGPUGraphicsPipeline,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_AcquireGPUCommandBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_PushGPUVertexUniformData,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_PushGPUFragmentUniformData,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_PushGPUComputeUniformData,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BeginGPURenderPass,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUGraphicsPipeline,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SetGPUViewport,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SetGPUScissor,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SetGPUBlendConstants,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SetGPUStencilReference,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUVertexBuffers,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUIndexBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUVertexSamplers,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUVertexStorageTextures,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUVertexStorageBuffers,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUFragmentSamplers,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUFragmentStorageTextures,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUFragmentStorageBuffers,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DrawGPUIndexedPrimitives,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DrawGPUPrimitives,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DrawGPUPrimitivesIndirect,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DrawGPUIndexedPrimitivesIndirect,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_EndGPURenderPass,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BeginGPUComputePass,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUComputePipeline,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUComputeSamplers,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUComputeStorageTextures,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BindGPUComputeStorageBuffers,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DispatchGPUCompute,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DispatchGPUComputeIndirect,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_EndGPUComputePass,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_MapGPUTransferBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_UnmapGPUTransferBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BeginGPUCopyPass,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_UploadToGPUTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_UploadToGPUBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CopyGPUTextureToTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CopyGPUBufferToBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DownloadFromGPUTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_DownloadFromGPUBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_EndGPUCopyPass,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GenerateMipmapsForGPUTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_BlitGPUTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_WindowSupportsGPUSwapchainComposition,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_WindowSupportsGPUPresentMode,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ClaimWindowForGPUDevice,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseWindowFromGPUDevice,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SetGPUSwapchainParameters,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SetGPUAllowedFramesInFlight,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GetGPUSwapchainTextureFormat,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_AcquireGPUSwapchainTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_WaitForGPUSwapchain,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_WaitAndAcquireGPUSwapchainTexture,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SubmitGPUCommandBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_SubmitGPUCommandBufferAndAcquireFence,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CancelGPUCommandBuffer,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_WaitForGPUIdle,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_WaitForGPUFences,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_QueryGPUFence,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_ReleaseGPUFence,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GPUTextureFormatTexelBlockSize,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GPUTextureSupportsFormat,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GPUTextureSupportsSampleCount,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_CalculateGPUTextureFormatSize,
SDL3.Sys.Bindgen.Gpu.Unsafe.sDL_GetPixelFormatFromGPUTextureFormat,
SDL3.Sys.Bindgen.Gpu.Unsafe.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_e2f3f6a8de0de73c ("
, " SDL_GPUShaderFormat arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_GPUSupportsShaderFormats)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_c9ca417a5f641e3f ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " return (SDL_GPUSupportsProperties)(arg1);"
, "}"
, "SDL_GPUDevice *hs_bindgen_b51ca46a4251feb8 ("
, " SDL_GPUShaderFormat arg1,"
, " _Bool arg2,"
, " char const *arg3"
, ")"
, "{"
, " return (SDL_CreateGPUDevice)(arg1, arg2, arg3);"
, "}"
, "SDL_GPUDevice *hs_bindgen_376515fb91ec90e3 ("
, " SDL_PropertiesID arg1"
, ")"
, "{"
, " return (SDL_CreateGPUDeviceWithProperties)(arg1);"
, "}"
, "void hs_bindgen_7ff5a8cdf38e3bf0 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " (SDL_DestroyGPUDevice)(arg1);"
, "}"
, "signed int hs_bindgen_6011a5df785dd689 (void)"
, "{"
, " return (SDL_GetNumGPUDrivers)();"
, "}"
, "char const *hs_bindgen_5bd47cd4296c5cf8 ("
, " signed int arg1"
, ")"
, "{"
, " return (SDL_GetGPUDriver)(arg1);"
, "}"
, "char const *hs_bindgen_bf49abcda2b24803 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " return (SDL_GetGPUDeviceDriver)(arg1);"
, "}"
, "SDL_GPUShaderFormat hs_bindgen_20513b344f1e3b64 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " return (SDL_GetGPUShaderFormats)(arg1);"
, "}"
, "#include <SDL3/SDL_version.h>"
, "#include <SDL3/SDL_error.h>"
, "SDL_PropertiesID hs_bindgen_caf8299b42e53b94 ("
, " 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_47c9f4418564565f ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUComputePipelineCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUComputePipeline)(arg1, arg2);"
, "}"
, "SDL_GPUGraphicsPipeline *hs_bindgen_18c5db2a0d02cde2 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUGraphicsPipelineCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUGraphicsPipeline)(arg1, arg2);"
, "}"
, "SDL_GPUSampler *hs_bindgen_a1a95a3f30be0f83 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUSamplerCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUSampler)(arg1, arg2);"
, "}"
, "SDL_GPUShader *hs_bindgen_9bba04f484907a46 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUShaderCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUShader)(arg1, arg2);"
, "}"
, "SDL_GPUTexture *hs_bindgen_e954a5b015dea03b ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTextureCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUTexture)(arg1, arg2);"
, "}"
, "SDL_GPUBuffer *hs_bindgen_ed280f9c2dd5b278 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUBufferCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUBuffer)(arg1, arg2);"
, "}"
, "SDL_GPUTransferBuffer *hs_bindgen_848522e8bdb350b2 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTransferBufferCreateInfo const *arg2"
, ")"
, "{"
, " return (SDL_CreateGPUTransferBuffer)(arg1, arg2);"
, "}"
, "void hs_bindgen_b8e2db9733a08cbe ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUBuffer *arg2,"
, " char const *arg3"
, ")"
, "{"
, " (SDL_SetGPUBufferName)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_6831ff7e87614fc1 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTexture *arg2,"
, " char const *arg3"
, ")"
, "{"
, " (SDL_SetGPUTextureName)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_56a7e36b3e8524dd ("
, " SDL_GPUCommandBuffer *arg1,"
, " char const *arg2"
, ")"
, "{"
, " (SDL_InsertGPUDebugLabel)(arg1, arg2);"
, "}"
, "void hs_bindgen_41af45d04529f84d ("
, " SDL_GPUCommandBuffer *arg1,"
, " char const *arg2"
, ")"
, "{"
, " (SDL_PushGPUDebugGroup)(arg1, arg2);"
, "}"
, "void hs_bindgen_5dae404b2ebaa08b ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " (SDL_PopGPUDebugGroup)(arg1);"
, "}"
, "void hs_bindgen_64db5410128eae2d ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTexture *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUTexture)(arg1, arg2);"
, "}"
, "void hs_bindgen_13cdb1700ceeed7f ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUSampler *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUSampler)(arg1, arg2);"
, "}"
, "void hs_bindgen_fcdfc18ed875a278 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUBuffer *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUBuffer)(arg1, arg2);"
, "}"
, "void hs_bindgen_e731b5deaeeee3c1 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTransferBuffer *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUTransferBuffer)(arg1, arg2);"
, "}"
, "void hs_bindgen_f9bd20900c9e4080 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUComputePipeline *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUComputePipeline)(arg1, arg2);"
, "}"
, "void hs_bindgen_e516abeced8d372b ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUShader *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUShader)(arg1, arg2);"
, "}"
, "void hs_bindgen_9c01a03b4ad6f8be ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUGraphicsPipeline *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUGraphicsPipeline)(arg1, arg2);"
, "}"
, "SDL_GPUCommandBuffer *hs_bindgen_27337c63b7093b75 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " return (SDL_AcquireGPUCommandBuffer)(arg1);"
, "}"
, "void hs_bindgen_a5504d727b5181e0 ("
, " SDL_GPUCommandBuffer *arg1,"
, " Uint32 arg2,"
, " void const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_PushGPUVertexUniformData)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_c1b93561fe6f3eb8 ("
, " SDL_GPUCommandBuffer *arg1,"
, " Uint32 arg2,"
, " void const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_PushGPUFragmentUniformData)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_267be67577031d05 ("
, " SDL_GPUCommandBuffer *arg1,"
, " Uint32 arg2,"
, " void const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_PushGPUComputeUniformData)(arg1, arg2, arg3, arg4);"
, "}"
, "SDL_GPURenderPass *hs_bindgen_b04297da6f821242 ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_GPUColorTargetInfo const *arg2,"
, " Uint32 arg3,"
, " SDL_GPUDepthStencilTargetInfo const *arg4"
, ")"
, "{"
, " return (SDL_BeginGPURenderPass)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_a6ebeaec23a3eebc ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUGraphicsPipeline *arg2"
, ")"
, "{"
, " (SDL_BindGPUGraphicsPipeline)(arg1, arg2);"
, "}"
, "void hs_bindgen_f53e27fd1f10bfea ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUViewport const *arg2"
, ")"
, "{"
, " (SDL_SetGPUViewport)(arg1, arg2);"
, "}"
, "void hs_bindgen_bc8dd2f3086d94d5 ("
, " SDL_GPURenderPass *arg1,"
, " SDL_Rect const *arg2"
, ")"
, "{"
, " (SDL_SetGPUScissor)(arg1, arg2);"
, "}"
, "void hs_bindgen_85e648c31f1fcb70 ("
, " SDL_GPURenderPass *arg1,"
, " SDL_FColor *arg2"
, ")"
, "{"
, " (SDL_SetGPUBlendConstants)(arg1, *arg2);"
, "}"
, "void hs_bindgen_142400b7edd5f15e ("
, " SDL_GPURenderPass *arg1,"
, " Uint8 arg2"
, ")"
, "{"
, " (SDL_SetGPUStencilReference)(arg1, arg2);"
, "}"
, "void hs_bindgen_049713abad47ef65 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUBufferBinding const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUVertexBuffers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_eebac58434b8d6c1 ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUBufferBinding const *arg2,"
, " SDL_GPUIndexElementSize arg3"
, ")"
, "{"
, " (SDL_BindGPUIndexBuffer)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_466757558b7a4998 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTextureSamplerBinding const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUVertexSamplers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_3099fb36563a23bf ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTexture *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUVertexStorageTextures)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_114f1ec46d1c4ca1 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUBuffer *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUVertexStorageBuffers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_6120c617bd5f9a53 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTextureSamplerBinding const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUFragmentSamplers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_a5741f59885921f3 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTexture *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUFragmentStorageTextures)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_2cc12141ee4494d6 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUBuffer *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUFragmentStorageBuffers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_87e007a9ec36edc3 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " Uint32 arg3,"
, " Uint32 arg4,"
, " Sint32 arg5,"
, " Uint32 arg6"
, ")"
, "{"
, " (SDL_DrawGPUIndexedPrimitives)(arg1, arg2, arg3, arg4, arg5, arg6);"
, "}"
, "void hs_bindgen_7b242b637f0074d8 ("
, " SDL_GPURenderPass *arg1,"
, " Uint32 arg2,"
, " Uint32 arg3,"
, " Uint32 arg4,"
, " Uint32 arg5"
, ")"
, "{"
, " (SDL_DrawGPUPrimitives)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "void hs_bindgen_38685ef53cdffb5f ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUBuffer *arg2,"
, " Uint32 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_DrawGPUPrimitivesIndirect)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_04835577dd24b594 ("
, " SDL_GPURenderPass *arg1,"
, " SDL_GPUBuffer *arg2,"
, " Uint32 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_DrawGPUIndexedPrimitivesIndirect)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_cd298cdaadbf367d ("
, " SDL_GPURenderPass *arg1"
, ")"
, "{"
, " (SDL_EndGPURenderPass)(arg1);"
, "}"
, "SDL_GPUComputePass *hs_bindgen_7e4922a40e945137 ("
, " 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_3d4216ca508a9022 ("
, " SDL_GPUComputePass *arg1,"
, " SDL_GPUComputePipeline *arg2"
, ")"
, "{"
, " (SDL_BindGPUComputePipeline)(arg1, arg2);"
, "}"
, "void hs_bindgen_2a02bb807885f88d ("
, " SDL_GPUComputePass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTextureSamplerBinding const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUComputeSamplers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_a743533e288c69f5 ("
, " SDL_GPUComputePass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUTexture *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUComputeStorageTextures)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_1be365d38addb5cf ("
, " SDL_GPUComputePass *arg1,"
, " Uint32 arg2,"
, " SDL_GPUBuffer *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_BindGPUComputeStorageBuffers)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_08d7249b66bd0658 ("
, " SDL_GPUComputePass *arg1,"
, " Uint32 arg2,"
, " Uint32 arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " (SDL_DispatchGPUCompute)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_9b425608a854a4f5 ("
, " SDL_GPUComputePass *arg1,"
, " SDL_GPUBuffer *arg2,"
, " Uint32 arg3"
, ")"
, "{"
, " (SDL_DispatchGPUComputeIndirect)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_bf20561443153c08 ("
, " SDL_GPUComputePass *arg1"
, ")"
, "{"
, " (SDL_EndGPUComputePass)(arg1);"
, "}"
, "void *hs_bindgen_075892bcba4ad890 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTransferBuffer *arg2,"
, " _Bool arg3"
, ")"
, "{"
, " return (SDL_MapGPUTransferBuffer)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_8721518ac51d5884 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTransferBuffer *arg2"
, ")"
, "{"
, " (SDL_UnmapGPUTransferBuffer)(arg1, arg2);"
, "}"
, "SDL_GPUCopyPass *hs_bindgen_7990c88447a637d9 ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " return (SDL_BeginGPUCopyPass)(arg1);"
, "}"
, "void hs_bindgen_7dc2e64aebecaf47 ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUTextureTransferInfo const *arg2,"
, " SDL_GPUTextureRegion const *arg3,"
, " _Bool arg4"
, ")"
, "{"
, " (SDL_UploadToGPUTexture)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_c8311e817b0149e1 ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUTransferBufferLocation const *arg2,"
, " SDL_GPUBufferRegion const *arg3,"
, " _Bool arg4"
, ")"
, "{"
, " (SDL_UploadToGPUBuffer)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_8d76c446224fa54a ("
, " 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_72560eca0be1bbd9 ("
, " 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_f583e024c47915e6 ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUTextureRegion const *arg2,"
, " SDL_GPUTextureTransferInfo const *arg3"
, ")"
, "{"
, " (SDL_DownloadFromGPUTexture)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_d1604453e77cbbd9 ("
, " SDL_GPUCopyPass *arg1,"
, " SDL_GPUBufferRegion const *arg2,"
, " SDL_GPUTransferBufferLocation const *arg3"
, ")"
, "{"
, " (SDL_DownloadFromGPUBuffer)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_37f1aba920cf70df ("
, " SDL_GPUCopyPass *arg1"
, ")"
, "{"
, " (SDL_EndGPUCopyPass)(arg1);"
, "}"
, "void hs_bindgen_487b5d55898cb8c9 ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_GPUTexture *arg2"
, ")"
, "{"
, " (SDL_GenerateMipmapsForGPUTexture)(arg1, arg2);"
, "}"
, "void hs_bindgen_5ea32ac13985443b ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_GPUBlitInfo const *arg2"
, ")"
, "{"
, " (SDL_BlitGPUTexture)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_7874a69b9fb7574a ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUSwapchainComposition arg3"
, ")"
, "{"
, " return (SDL_WindowSupportsGPUSwapchainComposition)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_e7e69a1723f7ad13 ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUPresentMode arg3"
, ")"
, "{"
, " return (SDL_WindowSupportsGPUPresentMode)(arg1, arg2, arg3);"
, "}"
, "_Bool hs_bindgen_709c34298cd845c0 ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2"
, ")"
, "{"
, " return (SDL_ClaimWindowForGPUDevice)(arg1, arg2);"
, "}"
, "void hs_bindgen_5580ffa5115be31a ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2"
, ")"
, "{"
, " (SDL_ReleaseWindowFromGPUDevice)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_dd5044a4ed37551c ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUSwapchainComposition arg3,"
, " SDL_GPUPresentMode arg4"
, ")"
, "{"
, " return (SDL_SetGPUSwapchainParameters)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_376c36f4c99e1f9a ("
, " SDL_GPUDevice *arg1,"
, " Uint32 arg2"
, ")"
, "{"
, " return (SDL_SetGPUAllowedFramesInFlight)(arg1, arg2);"
, "}"
, "SDL_GPUTextureFormat hs_bindgen_4dd16ea5d2d75e5c ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2"
, ")"
, "{"
, " return (SDL_GetGPUSwapchainTextureFormat)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_458d79c8728f00ab ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUTexture **arg3,"
, " Uint32 *arg4,"
, " Uint32 *arg5"
, ")"
, "{"
, " return (SDL_AcquireGPUSwapchainTexture)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_fb018ba3fc209740 ("
, " SDL_GPUDevice *arg1,"
, " SDL_Window *arg2"
, ")"
, "{"
, " return (SDL_WaitForGPUSwapchain)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_a454f9124adeea81 ("
, " SDL_GPUCommandBuffer *arg1,"
, " SDL_Window *arg2,"
, " SDL_GPUTexture **arg3,"
, " Uint32 *arg4,"
, " Uint32 *arg5"
, ")"
, "{"
, " return (SDL_WaitAndAcquireGPUSwapchainTexture)(arg1, arg2, arg3, arg4, arg5);"
, "}"
, "_Bool hs_bindgen_82bac871c3cbe3e4 ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " return (SDL_SubmitGPUCommandBuffer)(arg1);"
, "}"
, "SDL_GPUFence *hs_bindgen_34bbe24268d3620c ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " return (SDL_SubmitGPUCommandBufferAndAcquireFence)(arg1);"
, "}"
, "_Bool hs_bindgen_34c4d8861fe9ae5b ("
, " SDL_GPUCommandBuffer *arg1"
, ")"
, "{"
, " return (SDL_CancelGPUCommandBuffer)(arg1);"
, "}"
, "_Bool hs_bindgen_2cf574d324b28e44 ("
, " SDL_GPUDevice *arg1"
, ")"
, "{"
, " return (SDL_WaitForGPUIdle)(arg1);"
, "}"
, "_Bool hs_bindgen_90c7f8f4aae22e6a ("
, " SDL_GPUDevice *arg1,"
, " _Bool arg2,"
, " SDL_GPUFence *const *arg3,"
, " Uint32 arg4"
, ")"
, "{"
, " return (SDL_WaitForGPUFences)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_09f80c8e0b395d04 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUFence *arg2"
, ")"
, "{"
, " return (SDL_QueryGPUFence)(arg1, arg2);"
, "}"
, "void hs_bindgen_97087dbb893b61af ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUFence *arg2"
, ")"
, "{"
, " (SDL_ReleaseGPUFence)(arg1, arg2);"
, "}"
, "Uint32 hs_bindgen_121bf00d55a1a113 ("
, " SDL_GPUTextureFormat arg1"
, ")"
, "{"
, " return (SDL_GPUTextureFormatTexelBlockSize)(arg1);"
, "}"
, "_Bool hs_bindgen_0c3c275a5e945ebd ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTextureFormat arg2,"
, " SDL_GPUTextureType arg3,"
, " SDL_GPUTextureUsageFlags arg4"
, ")"
, "{"
, " return (SDL_GPUTextureSupportsFormat)(arg1, arg2, arg3, arg4);"
, "}"
, "_Bool hs_bindgen_0870889673874577 ("
, " SDL_GPUDevice *arg1,"
, " SDL_GPUTextureFormat arg2,"
, " SDL_GPUSampleCount arg3"
, ")"
, "{"
, " return (SDL_GPUTextureSupportsSampleCount)(arg1, arg2, arg3);"
, "}"
, "Uint32 hs_bindgen_222b65bb58cce08e ("
, " 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_3a8763f112daa871 ("
, " 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_77c5ed2882b80ff3 ("
, " 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 unsafe "hs_bindgen_e2f3f6a8de0de73c"
hs_bindgen_e2f3f6a8de0de73c_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_e2f3f6a8de0de73c
:: SDL_GPUShaderFormat
-> PtrConst.PtrConst BG.CChar
-> IO BG.CBool
hs_bindgen_e2f3f6a8de0de73c :: SDL_GPUShaderFormat -> PtrConst CChar -> IO CBool
hs_bindgen_e2f3f6a8de0de73c =
\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_e2f3f6a8de0de73c_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_e2f3f6a8de0de73c
foreign import ccall unsafe "hs_bindgen_c9ca417a5f641e3f"
hs_bindgen_c9ca417a5f641e3f_base
:: HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_c9ca417a5f641e3f
:: SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO BG.CBool
hs_bindgen_c9ca417a5f641e3f :: SDL_PropertiesID -> IO CBool
hs_bindgen_c9ca417a5f641e3f =
\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_c9ca417a5f641e3f_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_c9ca417a5f641e3f
foreign import ccall unsafe "hs_bindgen_b51ca46a4251feb8"
hs_bindgen_b51ca46a4251feb8_base
:: HsBindgen.Runtime.LibC.Word32
-> BG.CBool
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_b51ca46a4251feb8
:: SDL_GPUShaderFormat
-> BG.CBool
-> PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_GPUDevice)
hs_bindgen_b51ca46a4251feb8 :: SDL_GPUShaderFormat
-> CBool -> PtrConst CChar -> IO (Ptr SDL_GPUDevice)
hs_bindgen_b51ca46a4251feb8 =
\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_b51ca46a4251feb8_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_b51ca46a4251feb8
foreign import ccall unsafe "hs_bindgen_376515fb91ec90e3"
hs_bindgen_376515fb91ec90e3_base
:: HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_376515fb91ec90e3
:: SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
-> IO (BG.Ptr SDL_GPUDevice)
hs_bindgen_376515fb91ec90e3 :: SDL_PropertiesID -> IO (Ptr SDL_GPUDevice)
hs_bindgen_376515fb91ec90e3 =
\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_376515fb91ec90e3_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_376515fb91ec90e3
foreign import ccall unsafe "hs_bindgen_7ff5a8cdf38e3bf0"
hs_bindgen_7ff5a8cdf38e3bf0_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_7ff5a8cdf38e3bf0
:: BG.Ptr SDL_GPUDevice
-> IO ()
hs_bindgen_7ff5a8cdf38e3bf0 :: Ptr SDL_GPUDevice -> IO ()
hs_bindgen_7ff5a8cdf38e3bf0 =
\Ptr SDL_GPUDevice
x0 ->
Ptr Void -> IO ()
hs_bindgen_7ff5a8cdf38e3bf0_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_7ff5a8cdf38e3bf0
foreign import ccall unsafe "hs_bindgen_6011a5df785dd689"
hs_bindgen_6011a5df785dd689_base
:: IO BG.CInt
hs_bindgen_6011a5df785dd689 :: IO BG.CInt
hs_bindgen_6011a5df785dd689 :: IO CInt
hs_bindgen_6011a5df785dd689 =
(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_6011a5df785dd689_base
sDL_GetNumGPUDrivers :: IO BG.CInt
sDL_GetNumGPUDrivers :: IO CInt
sDL_GetNumGPUDrivers = IO CInt
hs_bindgen_6011a5df785dd689
foreign import ccall unsafe "hs_bindgen_5bd47cd4296c5cf8"
hs_bindgen_5bd47cd4296c5cf8_base
:: BG.CInt
-> IO (BG.Ptr BG.Void)
hs_bindgen_5bd47cd4296c5cf8
:: BG.CInt
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_5bd47cd4296c5cf8 :: CInt -> IO (PtrConst CChar)
hs_bindgen_5bd47cd4296c5cf8 =
\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_5bd47cd4296c5cf8_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_5bd47cd4296c5cf8
foreign import ccall unsafe "hs_bindgen_bf49abcda2b24803"
hs_bindgen_bf49abcda2b24803_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_bf49abcda2b24803
:: BG.Ptr SDL_GPUDevice
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_bf49abcda2b24803 :: Ptr SDL_GPUDevice -> IO (PtrConst CChar)
hs_bindgen_bf49abcda2b24803 =
\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_bf49abcda2b24803_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_bf49abcda2b24803
foreign import ccall unsafe "hs_bindgen_20513b344f1e3b64"
hs_bindgen_20513b344f1e3b64_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_20513b344f1e3b64
:: BG.Ptr SDL_GPUDevice
-> IO SDL_GPUShaderFormat
hs_bindgen_20513b344f1e3b64 :: Ptr SDL_GPUDevice -> IO SDL_GPUShaderFormat
hs_bindgen_20513b344f1e3b64 =
\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_20513b344f1e3b64_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_20513b344f1e3b64
foreign import ccall unsafe "hs_bindgen_caf8299b42e53b94"
hs_bindgen_caf8299b42e53b94_base
:: BG.Ptr BG.Void
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_caf8299b42e53b94
:: BG.Ptr SDL_GPUDevice
-> IO SDL3.Sys.Bindgen.Properties.SDL_PropertiesID
hs_bindgen_caf8299b42e53b94 :: Ptr SDL_GPUDevice -> IO SDL_PropertiesID
hs_bindgen_caf8299b42e53b94 =
\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_caf8299b42e53b94_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_caf8299b42e53b94
foreign import ccall unsafe "hs_bindgen_47c9f4418564565f"
hs_bindgen_47c9f4418564565f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_47c9f4418564565f
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUComputePipelineCreateInfo
-> IO (BG.Ptr SDL_GPUComputePipeline)
hs_bindgen_47c9f4418564565f :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUComputePipelineCreateInfo
-> IO (Ptr SDL_GPUComputePipeline)
hs_bindgen_47c9f4418564565f =
\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_47c9f4418564565f_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_47c9f4418564565f
foreign import ccall unsafe "hs_bindgen_18c5db2a0d02cde2"
hs_bindgen_18c5db2a0d02cde2_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_18c5db2a0d02cde2
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUGraphicsPipelineCreateInfo
-> IO (BG.Ptr SDL_GPUGraphicsPipeline)
hs_bindgen_18c5db2a0d02cde2 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUGraphicsPipelineCreateInfo
-> IO (Ptr SDL_GPUGraphicsPipeline)
hs_bindgen_18c5db2a0d02cde2 =
\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_18c5db2a0d02cde2_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_18c5db2a0d02cde2
foreign import ccall unsafe "hs_bindgen_a1a95a3f30be0f83"
hs_bindgen_a1a95a3f30be0f83_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a1a95a3f30be0f83
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUSamplerCreateInfo
-> IO (BG.Ptr SDL_GPUSampler)
hs_bindgen_a1a95a3f30be0f83 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUSamplerCreateInfo -> IO (Ptr SDL_GPUSampler)
hs_bindgen_a1a95a3f30be0f83 =
\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_a1a95a3f30be0f83_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_a1a95a3f30be0f83
foreign import ccall unsafe "hs_bindgen_9bba04f484907a46"
hs_bindgen_9bba04f484907a46_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_9bba04f484907a46
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUShaderCreateInfo
-> IO (BG.Ptr SDL_GPUShader)
hs_bindgen_9bba04f484907a46 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUShaderCreateInfo -> IO (Ptr SDL_GPUShader)
hs_bindgen_9bba04f484907a46 =
\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_9bba04f484907a46_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_9bba04f484907a46
foreign import ccall unsafe "hs_bindgen_e954a5b015dea03b"
hs_bindgen_e954a5b015dea03b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_e954a5b015dea03b
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUTextureCreateInfo
-> IO (BG.Ptr SDL_GPUTexture)
hs_bindgen_e954a5b015dea03b :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUTextureCreateInfo -> IO (Ptr SDL_GPUTexture)
hs_bindgen_e954a5b015dea03b =
\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_e954a5b015dea03b_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_e954a5b015dea03b
foreign import ccall unsafe "hs_bindgen_ed280f9c2dd5b278"
hs_bindgen_ed280f9c2dd5b278_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_ed280f9c2dd5b278
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUBufferCreateInfo
-> IO (BG.Ptr SDL_GPUBuffer)
hs_bindgen_ed280f9c2dd5b278 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUBufferCreateInfo -> IO (Ptr SDL_GPUBuffer)
hs_bindgen_ed280f9c2dd5b278 =
\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_ed280f9c2dd5b278_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_ed280f9c2dd5b278
foreign import ccall unsafe "hs_bindgen_848522e8bdb350b2"
hs_bindgen_848522e8bdb350b2_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_848522e8bdb350b2
:: BG.Ptr SDL_GPUDevice
-> PtrConst.PtrConst SDL_GPUTransferBufferCreateInfo
-> IO (BG.Ptr SDL_GPUTransferBuffer)
hs_bindgen_848522e8bdb350b2 :: Ptr SDL_GPUDevice
-> PtrConst SDL_GPUTransferBufferCreateInfo
-> IO (Ptr SDL_GPUTransferBuffer)
hs_bindgen_848522e8bdb350b2 =
\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_848522e8bdb350b2_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_848522e8bdb350b2
foreign import ccall unsafe "hs_bindgen_b8e2db9733a08cbe"
hs_bindgen_b8e2db9733a08cbe_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_b8e2db9733a08cbe
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_b8e2db9733a08cbe :: Ptr SDL_GPUDevice -> Ptr SDL_GPUBuffer -> PtrConst CChar -> IO ()
hs_bindgen_b8e2db9733a08cbe =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
\PtrConst CChar
x2 ->
Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_b8e2db9733a08cbe_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_b8e2db9733a08cbe
foreign import ccall unsafe "hs_bindgen_6831ff7e87614fc1"
hs_bindgen_6831ff7e87614fc1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_6831ff7e87614fc1
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTexture
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_6831ff7e87614fc1 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTexture -> PtrConst CChar -> IO ()
hs_bindgen_6831ff7e87614fc1 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTexture
x1 ->
\PtrConst CChar
x2 ->
Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_6831ff7e87614fc1_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_6831ff7e87614fc1
foreign import ccall unsafe "hs_bindgen_56a7e36b3e8524dd"
hs_bindgen_56a7e36b3e8524dd_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_56a7e36b3e8524dd
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_56a7e36b3e8524dd :: Ptr SDL_GPUCommandBuffer -> PtrConst CChar -> IO ()
hs_bindgen_56a7e36b3e8524dd =
\Ptr SDL_GPUCommandBuffer
x0 ->
\PtrConst CChar
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_56a7e36b3e8524dd_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_56a7e36b3e8524dd
foreign import ccall unsafe "hs_bindgen_41af45d04529f84d"
hs_bindgen_41af45d04529f84d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_41af45d04529f84d
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_41af45d04529f84d :: Ptr SDL_GPUCommandBuffer -> PtrConst CChar -> IO ()
hs_bindgen_41af45d04529f84d =
\Ptr SDL_GPUCommandBuffer
x0 ->
\PtrConst CChar
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_41af45d04529f84d_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_41af45d04529f84d
foreign import ccall unsafe "hs_bindgen_5dae404b2ebaa08b"
hs_bindgen_5dae404b2ebaa08b_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_5dae404b2ebaa08b
:: BG.Ptr SDL_GPUCommandBuffer
-> IO ()
hs_bindgen_5dae404b2ebaa08b :: Ptr SDL_GPUCommandBuffer -> IO ()
hs_bindgen_5dae404b2ebaa08b =
\Ptr SDL_GPUCommandBuffer
x0 ->
Ptr Void -> IO ()
hs_bindgen_5dae404b2ebaa08b_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_5dae404b2ebaa08b
foreign import ccall unsafe "hs_bindgen_64db5410128eae2d"
hs_bindgen_64db5410128eae2d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_64db5410128eae2d
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTexture
-> IO ()
hs_bindgen_64db5410128eae2d :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTexture -> IO ()
hs_bindgen_64db5410128eae2d =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTexture
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_64db5410128eae2d_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_64db5410128eae2d
foreign import ccall unsafe "hs_bindgen_13cdb1700ceeed7f"
hs_bindgen_13cdb1700ceeed7f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_13cdb1700ceeed7f
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUSampler
-> IO ()
hs_bindgen_13cdb1700ceeed7f :: Ptr SDL_GPUDevice -> Ptr SDL_GPUSampler -> IO ()
hs_bindgen_13cdb1700ceeed7f =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUSampler
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_13cdb1700ceeed7f_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_13cdb1700ceeed7f
foreign import ccall unsafe "hs_bindgen_fcdfc18ed875a278"
hs_bindgen_fcdfc18ed875a278_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_fcdfc18ed875a278
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUBuffer
-> IO ()
hs_bindgen_fcdfc18ed875a278 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUBuffer -> IO ()
hs_bindgen_fcdfc18ed875a278 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_fcdfc18ed875a278_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_fcdfc18ed875a278
foreign import ccall unsafe "hs_bindgen_e731b5deaeeee3c1"
hs_bindgen_e731b5deaeeee3c1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_e731b5deaeeee3c1
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> IO ()
hs_bindgen_e731b5deaeeee3c1 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTransferBuffer -> IO ()
hs_bindgen_e731b5deaeeee3c1 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTransferBuffer
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_e731b5deaeeee3c1_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_e731b5deaeeee3c1
foreign import ccall unsafe "hs_bindgen_f9bd20900c9e4080"
hs_bindgen_f9bd20900c9e4080_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_f9bd20900c9e4080
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUComputePipeline
-> IO ()
hs_bindgen_f9bd20900c9e4080 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUComputePipeline -> IO ()
hs_bindgen_f9bd20900c9e4080 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUComputePipeline
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_f9bd20900c9e4080_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_f9bd20900c9e4080
foreign import ccall unsafe "hs_bindgen_e516abeced8d372b"
hs_bindgen_e516abeced8d372b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_e516abeced8d372b
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUShader
-> IO ()
hs_bindgen_e516abeced8d372b :: Ptr SDL_GPUDevice -> Ptr SDL_GPUShader -> IO ()
hs_bindgen_e516abeced8d372b =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUShader
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_e516abeced8d372b_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_e516abeced8d372b
foreign import ccall unsafe "hs_bindgen_9c01a03b4ad6f8be"
hs_bindgen_9c01a03b4ad6f8be_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_9c01a03b4ad6f8be
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUGraphicsPipeline
-> IO ()
hs_bindgen_9c01a03b4ad6f8be :: Ptr SDL_GPUDevice -> Ptr SDL_GPUGraphicsPipeline -> IO ()
hs_bindgen_9c01a03b4ad6f8be =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUGraphicsPipeline
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_9c01a03b4ad6f8be_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_9c01a03b4ad6f8be
foreign import ccall unsafe "hs_bindgen_27337c63b7093b75"
hs_bindgen_27337c63b7093b75_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_27337c63b7093b75
:: BG.Ptr SDL_GPUDevice
-> IO (BG.Ptr SDL_GPUCommandBuffer)
hs_bindgen_27337c63b7093b75 :: Ptr SDL_GPUDevice -> IO (Ptr SDL_GPUCommandBuffer)
hs_bindgen_27337c63b7093b75 =
\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_27337c63b7093b75_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_27337c63b7093b75
foreign import ccall unsafe "hs_bindgen_a5504d727b5181e0"
hs_bindgen_a5504d727b5181e0_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_a5504d727b5181e0
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_a5504d727b5181e0 :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_a5504d727b5181e0 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Uint32
x1 ->
\PtrConst Void
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_a5504d727b5181e0_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_a5504d727b5181e0
foreign import ccall unsafe "hs_bindgen_c1b93561fe6f3eb8"
hs_bindgen_c1b93561fe6f3eb8_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_c1b93561fe6f3eb8
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_c1b93561fe6f3eb8 :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_c1b93561fe6f3eb8 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Uint32
x1 ->
\PtrConst Void
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_c1b93561fe6f3eb8_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_c1b93561fe6f3eb8
foreign import ccall unsafe "hs_bindgen_267be67577031d05"
hs_bindgen_267be67577031d05_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_267be67577031d05
:: BG.Ptr SDL_GPUCommandBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst BG.Void
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_267be67577031d05 :: Ptr SDL_GPUCommandBuffer
-> Uint32 -> PtrConst Void -> Uint32 -> IO ()
hs_bindgen_267be67577031d05 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Uint32
x1 ->
\PtrConst Void
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_267be67577031d05_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_267be67577031d05
foreign import ccall unsafe "hs_bindgen_b04297da6f821242"
hs_bindgen_b04297da6f821242_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_b04297da6f821242
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst SDL_GPUColorTargetInfo
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUDepthStencilTargetInfo
-> IO (BG.Ptr SDL_GPURenderPass)
hs_bindgen_b04297da6f821242 :: Ptr SDL_GPUCommandBuffer
-> PtrConst SDL_GPUColorTargetInfo
-> Uint32
-> PtrConst SDL_GPUDepthStencilTargetInfo
-> IO (Ptr SDL_GPURenderPass)
hs_bindgen_b04297da6f821242 =
\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_b04297da6f821242_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_b04297da6f821242
foreign import ccall unsafe "hs_bindgen_a6ebeaec23a3eebc"
hs_bindgen_a6ebeaec23a3eebc_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_a6ebeaec23a3eebc
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUGraphicsPipeline
-> IO ()
hs_bindgen_a6ebeaec23a3eebc :: Ptr SDL_GPURenderPass -> Ptr SDL_GPUGraphicsPipeline -> IO ()
hs_bindgen_a6ebeaec23a3eebc =
\Ptr SDL_GPURenderPass
x0 ->
\Ptr SDL_GPUGraphicsPipeline
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_a6ebeaec23a3eebc_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_a6ebeaec23a3eebc
foreign import ccall unsafe "hs_bindgen_f53e27fd1f10bfea"
hs_bindgen_f53e27fd1f10bfea_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_f53e27fd1f10bfea
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL_GPUViewport
-> IO ()
hs_bindgen_f53e27fd1f10bfea :: Ptr SDL_GPURenderPass -> PtrConst SDL_GPUViewport -> IO ()
hs_bindgen_f53e27fd1f10bfea =
\Ptr SDL_GPURenderPass
x0 ->
\PtrConst SDL_GPUViewport
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_f53e27fd1f10bfea_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_f53e27fd1f10bfea
foreign import ccall unsafe "hs_bindgen_bc8dd2f3086d94d5"
hs_bindgen_bc8dd2f3086d94d5_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_bc8dd2f3086d94d5
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL3.Sys.Bindgen.Rect.SDL_Rect
-> IO ()
hs_bindgen_bc8dd2f3086d94d5 :: Ptr SDL_GPURenderPass -> PtrConst SDL_Rect -> IO ()
hs_bindgen_bc8dd2f3086d94d5 =
\Ptr SDL_GPURenderPass
x0 ->
\PtrConst SDL_Rect
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_bc8dd2f3086d94d5_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_bc8dd2f3086d94d5
foreign import ccall unsafe "hs_bindgen_85e648c31f1fcb70"
hs_bindgen_85e648c31f1fcb70_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_85e648c31f1fcb70
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL3.Sys.Bindgen.Pixels.SDL_FColor
-> IO ()
hs_bindgen_85e648c31f1fcb70 :: Ptr SDL_GPURenderPass -> Ptr SDL_FColor -> IO ()
hs_bindgen_85e648c31f1fcb70 =
\Ptr SDL_GPURenderPass
x0 ->
\Ptr SDL_FColor
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_85e648c31f1fcb70_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_85e648c31f1fcb70 Ptr SDL_GPURenderPass
render_pass0 Ptr SDL_FColor
blend_constants2
)
foreign import ccall unsafe "hs_bindgen_142400b7edd5f15e"
hs_bindgen_142400b7edd5f15e_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word8
-> IO ()
hs_bindgen_142400b7edd5f15e
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint8
-> IO ()
hs_bindgen_142400b7edd5f15e :: Ptr SDL_GPURenderPass -> Uint8 -> IO ()
hs_bindgen_142400b7edd5f15e =
\Ptr SDL_GPURenderPass
x0 ->
\Uint8
x1 ->
Ptr Void -> Word8 -> IO ()
hs_bindgen_142400b7edd5f15e_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_142400b7edd5f15e
foreign import ccall unsafe "hs_bindgen_049713abad47ef65"
hs_bindgen_049713abad47ef65_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_049713abad47ef65
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUBufferBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_049713abad47ef65 :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst SDL_GPUBufferBinding -> Uint32 -> IO ()
hs_bindgen_049713abad47ef65 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst SDL_GPUBufferBinding
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_049713abad47ef65_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_049713abad47ef65
foreign import ccall unsafe "hs_bindgen_eebac58434b8d6c1"
hs_bindgen_eebac58434b8d6c1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> IO ()
hs_bindgen_eebac58434b8d6c1
:: BG.Ptr SDL_GPURenderPass
-> PtrConst.PtrConst SDL_GPUBufferBinding
-> SDL_GPUIndexElementSize
-> IO ()
hs_bindgen_eebac58434b8d6c1 :: Ptr SDL_GPURenderPass
-> PtrConst SDL_GPUBufferBinding
-> SDL_GPUIndexElementSize
-> IO ()
hs_bindgen_eebac58434b8d6c1 =
\Ptr SDL_GPURenderPass
x0 ->
\PtrConst SDL_GPUBufferBinding
x1 ->
\SDL_GPUIndexElementSize
x2 ->
Ptr Void -> Ptr Void -> CUInt -> IO ()
hs_bindgen_eebac58434b8d6c1_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_eebac58434b8d6c1
foreign import ccall unsafe "hs_bindgen_466757558b7a4998"
hs_bindgen_466757558b7a4998_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_466757558b7a4998
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_466757558b7a4998 :: Ptr SDL_GPURenderPass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_466757558b7a4998 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst SDL_GPUTextureSamplerBinding
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_466757558b7a4998_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_466757558b7a4998
foreign import ccall unsafe "hs_bindgen_3099fb36563a23bf"
hs_bindgen_3099fb36563a23bf_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_3099fb36563a23bf
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_3099fb36563a23bf :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_3099fb36563a23bf =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUTexture)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_3099fb36563a23bf_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_3099fb36563a23bf
foreign import ccall unsafe "hs_bindgen_114f1ec46d1c4ca1"
hs_bindgen_114f1ec46d1c4ca1_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_114f1ec46d1c4ca1
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_114f1ec46d1c4ca1 :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_114f1ec46d1c4ca1 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUBuffer)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_114f1ec46d1c4ca1_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_114f1ec46d1c4ca1
foreign import ccall unsafe "hs_bindgen_6120c617bd5f9a53"
hs_bindgen_6120c617bd5f9a53_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_6120c617bd5f9a53
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_6120c617bd5f9a53 :: Ptr SDL_GPURenderPass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_6120c617bd5f9a53 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst SDL_GPUTextureSamplerBinding
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_6120c617bd5f9a53_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_6120c617bd5f9a53
foreign import ccall unsafe "hs_bindgen_a5741f59885921f3"
hs_bindgen_a5741f59885921f3_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_a5741f59885921f3
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_a5741f59885921f3 :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_a5741f59885921f3 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUTexture)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_a5741f59885921f3_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_a5741f59885921f3
foreign import ccall unsafe "hs_bindgen_2cc12141ee4494d6"
hs_bindgen_2cc12141ee4494d6_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_2cc12141ee4494d6
:: BG.Ptr SDL_GPURenderPass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_2cc12141ee4494d6 :: Ptr SDL_GPURenderPass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_2cc12141ee4494d6 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUBuffer)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_2cc12141ee4494d6_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_2cc12141ee4494d6
foreign import ccall unsafe "hs_bindgen_87e007a9ec36edc3"
hs_bindgen_87e007a9ec36edc3_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_87e007a9ec36edc3
:: 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_87e007a9ec36edc3 :: Ptr SDL_GPURenderPass
-> Uint32 -> Uint32 -> Uint32 -> Sint32 -> Uint32 -> IO ()
hs_bindgen_87e007a9ec36edc3 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
\Sint32
x4 ->
\Uint32
x5 ->
Ptr Void -> Word32 -> Word32 -> Word32 -> Int32 -> Word32 -> IO ()
hs_bindgen_87e007a9ec36edc3_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_87e007a9ec36edc3
foreign import ccall unsafe "hs_bindgen_7b242b637f0074d8"
hs_bindgen_7b242b637f0074d8_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_7b242b637f0074d8
:: 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_7b242b637f0074d8 :: Ptr SDL_GPURenderPass
-> Uint32 -> Uint32 -> Uint32 -> Uint32 -> IO ()
hs_bindgen_7b242b637f0074d8 =
\Ptr SDL_GPURenderPass
x0 ->
\Uint32
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
\Uint32
x4 ->
Ptr Void -> Word32 -> Word32 -> Word32 -> Word32 -> IO ()
hs_bindgen_7b242b637f0074d8_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_7b242b637f0074d8
foreign import ccall unsafe "hs_bindgen_38685ef53cdffb5f"
hs_bindgen_38685ef53cdffb5f_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_38685ef53cdffb5f
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_38685ef53cdffb5f :: Ptr SDL_GPURenderPass
-> Ptr SDL_GPUBuffer -> Uint32 -> Uint32 -> IO ()
hs_bindgen_38685ef53cdffb5f =
\Ptr SDL_GPURenderPass
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
Ptr Void -> Ptr Void -> Word32 -> Word32 -> IO ()
hs_bindgen_38685ef53cdffb5f_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_38685ef53cdffb5f
foreign import ccall unsafe "hs_bindgen_04835577dd24b594"
hs_bindgen_04835577dd24b594_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_04835577dd24b594
:: BG.Ptr SDL_GPURenderPass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_04835577dd24b594 :: Ptr SDL_GPURenderPass
-> Ptr SDL_GPUBuffer -> Uint32 -> Uint32 -> IO ()
hs_bindgen_04835577dd24b594 =
\Ptr SDL_GPURenderPass
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
Ptr Void -> Ptr Void -> Word32 -> Word32 -> IO ()
hs_bindgen_04835577dd24b594_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_04835577dd24b594
foreign import ccall unsafe "hs_bindgen_cd298cdaadbf367d"
hs_bindgen_cd298cdaadbf367d_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_cd298cdaadbf367d
:: BG.Ptr SDL_GPURenderPass
-> IO ()
hs_bindgen_cd298cdaadbf367d :: Ptr SDL_GPURenderPass -> IO ()
hs_bindgen_cd298cdaadbf367d =
\Ptr SDL_GPURenderPass
x0 ->
Ptr Void -> IO ()
hs_bindgen_cd298cdaadbf367d_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_cd298cdaadbf367d
foreign import ccall unsafe "hs_bindgen_7e4922a40e945137"
hs_bindgen_7e4922a40e945137_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_7e4922a40e945137
:: 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_7e4922a40e945137 :: Ptr SDL_GPUCommandBuffer
-> PtrConst SDL_GPUStorageTextureReadWriteBinding
-> Uint32
-> PtrConst SDL_GPUStorageBufferReadWriteBinding
-> Uint32
-> IO (Ptr SDL_GPUComputePass)
hs_bindgen_7e4922a40e945137 =
\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_7e4922a40e945137_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_7e4922a40e945137
foreign import ccall unsafe "hs_bindgen_3d4216ca508a9022"
hs_bindgen_3d4216ca508a9022_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_3d4216ca508a9022
:: BG.Ptr SDL_GPUComputePass
-> BG.Ptr SDL_GPUComputePipeline
-> IO ()
hs_bindgen_3d4216ca508a9022 :: Ptr SDL_GPUComputePass -> Ptr SDL_GPUComputePipeline -> IO ()
hs_bindgen_3d4216ca508a9022 =
\Ptr SDL_GPUComputePass
x0 ->
\Ptr SDL_GPUComputePipeline
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_3d4216ca508a9022_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_3d4216ca508a9022
foreign import ccall unsafe "hs_bindgen_2a02bb807885f88d"
hs_bindgen_2a02bb807885f88d_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_2a02bb807885f88d
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst SDL_GPUTextureSamplerBinding
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_2a02bb807885f88d :: Ptr SDL_GPUComputePass
-> Uint32
-> PtrConst SDL_GPUTextureSamplerBinding
-> Uint32
-> IO ()
hs_bindgen_2a02bb807885f88d =
\Ptr SDL_GPUComputePass
x0 ->
\Uint32
x1 ->
\PtrConst SDL_GPUTextureSamplerBinding
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_2a02bb807885f88d_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_2a02bb807885f88d
foreign import ccall unsafe "hs_bindgen_a743533e288c69f5"
hs_bindgen_a743533e288c69f5_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_a743533e288c69f5
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUTexture)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_a743533e288c69f5 :: Ptr SDL_GPUComputePass
-> Uint32 -> PtrConst (Ptr SDL_GPUTexture) -> Uint32 -> IO ()
hs_bindgen_a743533e288c69f5 =
\Ptr SDL_GPUComputePass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUTexture)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_a743533e288c69f5_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_a743533e288c69f5
foreign import ccall unsafe "hs_bindgen_1be365d38addb5cf"
hs_bindgen_1be365d38addb5cf_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_1be365d38addb5cf
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> PtrConst.PtrConst (BG.Ptr SDL_GPUBuffer)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_1be365d38addb5cf :: Ptr SDL_GPUComputePass
-> Uint32 -> PtrConst (Ptr SDL_GPUBuffer) -> Uint32 -> IO ()
hs_bindgen_1be365d38addb5cf =
\Ptr SDL_GPUComputePass
x0 ->
\Uint32
x1 ->
\PtrConst (Ptr SDL_GPUBuffer)
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Ptr Void -> Word32 -> IO ()
hs_bindgen_1be365d38addb5cf_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_1be365d38addb5cf
foreign import ccall unsafe "hs_bindgen_08d7249b66bd0658"
hs_bindgen_08d7249b66bd0658_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_08d7249b66bd0658
:: BG.Ptr SDL_GPUComputePass
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_08d7249b66bd0658 :: Ptr SDL_GPUComputePass -> Uint32 -> Uint32 -> Uint32 -> IO ()
hs_bindgen_08d7249b66bd0658 =
\Ptr SDL_GPUComputePass
x0 ->
\Uint32
x1 ->
\Uint32
x2 ->
\Uint32
x3 ->
Ptr Void -> Word32 -> Word32 -> Word32 -> IO ()
hs_bindgen_08d7249b66bd0658_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_08d7249b66bd0658
foreign import ccall unsafe "hs_bindgen_9b425608a854a4f5"
hs_bindgen_9b425608a854a4f5_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO ()
hs_bindgen_9b425608a854a4f5
:: BG.Ptr SDL_GPUComputePass
-> BG.Ptr SDL_GPUBuffer
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO ()
hs_bindgen_9b425608a854a4f5 :: Ptr SDL_GPUComputePass -> Ptr SDL_GPUBuffer -> Uint32 -> IO ()
hs_bindgen_9b425608a854a4f5 =
\Ptr SDL_GPUComputePass
x0 ->
\Ptr SDL_GPUBuffer
x1 ->
\Uint32
x2 ->
Ptr Void -> Ptr Void -> Word32 -> IO ()
hs_bindgen_9b425608a854a4f5_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_9b425608a854a4f5
foreign import ccall unsafe "hs_bindgen_bf20561443153c08"
hs_bindgen_bf20561443153c08_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_bf20561443153c08
:: BG.Ptr SDL_GPUComputePass
-> IO ()
hs_bindgen_bf20561443153c08 :: Ptr SDL_GPUComputePass -> IO ()
hs_bindgen_bf20561443153c08 =
\Ptr SDL_GPUComputePass
x0 ->
Ptr Void -> IO ()
hs_bindgen_bf20561443153c08_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_bf20561443153c08
foreign import ccall unsafe "hs_bindgen_075892bcba4ad890"
hs_bindgen_075892bcba4ad890_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_075892bcba4ad890
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> BG.CBool
-> IO (BG.Ptr BG.Void)
hs_bindgen_075892bcba4ad890 :: Ptr SDL_GPUDevice
-> Ptr SDL_GPUTransferBuffer -> CBool -> IO (Ptr Void)
hs_bindgen_075892bcba4ad890 =
\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_075892bcba4ad890_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_075892bcba4ad890
foreign import ccall unsafe "hs_bindgen_8721518ac51d5884"
hs_bindgen_8721518ac51d5884_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_8721518ac51d5884
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUTransferBuffer
-> IO ()
hs_bindgen_8721518ac51d5884 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUTransferBuffer -> IO ()
hs_bindgen_8721518ac51d5884 =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUTransferBuffer
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_8721518ac51d5884_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_8721518ac51d5884
foreign import ccall unsafe "hs_bindgen_7990c88447a637d9"
hs_bindgen_7990c88447a637d9_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_7990c88447a637d9
:: BG.Ptr SDL_GPUCommandBuffer
-> IO (BG.Ptr SDL_GPUCopyPass)
hs_bindgen_7990c88447a637d9 :: Ptr SDL_GPUCommandBuffer -> IO (Ptr SDL_GPUCopyPass)
hs_bindgen_7990c88447a637d9 =
\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_7990c88447a637d9_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_7990c88447a637d9
foreign import ccall unsafe "hs_bindgen_7dc2e64aebecaf47"
hs_bindgen_7dc2e64aebecaf47_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO ()
hs_bindgen_7dc2e64aebecaf47
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTextureTransferInfo
-> PtrConst.PtrConst SDL_GPUTextureRegion
-> BG.CBool
-> IO ()
hs_bindgen_7dc2e64aebecaf47 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureTransferInfo
-> PtrConst SDL_GPUTextureRegion
-> CBool
-> IO ()
hs_bindgen_7dc2e64aebecaf47 =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUTextureTransferInfo
x1 ->
\PtrConst SDL_GPUTextureRegion
x2 ->
\CBool
x3 ->
Ptr Void -> Ptr Void -> Ptr Void -> CBool -> IO ()
hs_bindgen_7dc2e64aebecaf47_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_7dc2e64aebecaf47
foreign import ccall unsafe "hs_bindgen_c8311e817b0149e1"
hs_bindgen_c8311e817b0149e1_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CBool
-> IO ()
hs_bindgen_c8311e817b0149e1
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTransferBufferLocation
-> PtrConst.PtrConst SDL_GPUBufferRegion
-> BG.CBool
-> IO ()
hs_bindgen_c8311e817b0149e1 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTransferBufferLocation
-> PtrConst SDL_GPUBufferRegion
-> CBool
-> IO ()
hs_bindgen_c8311e817b0149e1 =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUTransferBufferLocation
x1 ->
\PtrConst SDL_GPUBufferRegion
x2 ->
\CBool
x3 ->
Ptr Void -> Ptr Void -> Ptr Void -> CBool -> IO ()
hs_bindgen_c8311e817b0149e1_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_c8311e817b0149e1
foreign import ccall unsafe "hs_bindgen_8d76c446224fa54a"
hs_bindgen_8d76c446224fa54a_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_8d76c446224fa54a
:: 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_8d76c446224fa54a :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureLocation
-> PtrConst SDL_GPUTextureLocation
-> Uint32
-> Uint32
-> Uint32
-> CBool
-> IO ()
hs_bindgen_8d76c446224fa54a =
\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_8d76c446224fa54a_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_8d76c446224fa54a
foreign import ccall unsafe "hs_bindgen_72560eca0be1bbd9"
hs_bindgen_72560eca0be1bbd9_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> BG.CBool
-> IO ()
hs_bindgen_72560eca0be1bbd9
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUBufferLocation
-> PtrConst.PtrConst SDL_GPUBufferLocation
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> BG.CBool
-> IO ()
hs_bindgen_72560eca0be1bbd9 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUBufferLocation
-> PtrConst SDL_GPUBufferLocation
-> Uint32
-> CBool
-> IO ()
hs_bindgen_72560eca0be1bbd9 =
\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_72560eca0be1bbd9_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_72560eca0be1bbd9
foreign import ccall unsafe "hs_bindgen_f583e024c47915e6"
hs_bindgen_f583e024c47915e6_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_f583e024c47915e6
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUTextureRegion
-> PtrConst.PtrConst SDL_GPUTextureTransferInfo
-> IO ()
hs_bindgen_f583e024c47915e6 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUTextureRegion
-> PtrConst SDL_GPUTextureTransferInfo
-> IO ()
hs_bindgen_f583e024c47915e6 =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUTextureRegion
x1 ->
\PtrConst SDL_GPUTextureTransferInfo
x2 ->
Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_f583e024c47915e6_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_f583e024c47915e6
foreign import ccall unsafe "hs_bindgen_d1604453e77cbbd9"
hs_bindgen_d1604453e77cbbd9_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_d1604453e77cbbd9
:: BG.Ptr SDL_GPUCopyPass
-> PtrConst.PtrConst SDL_GPUBufferRegion
-> PtrConst.PtrConst SDL_GPUTransferBufferLocation
-> IO ()
hs_bindgen_d1604453e77cbbd9 :: Ptr SDL_GPUCopyPass
-> PtrConst SDL_GPUBufferRegion
-> PtrConst SDL_GPUTransferBufferLocation
-> IO ()
hs_bindgen_d1604453e77cbbd9 =
\Ptr SDL_GPUCopyPass
x0 ->
\PtrConst SDL_GPUBufferRegion
x1 ->
\PtrConst SDL_GPUTransferBufferLocation
x2 ->
Ptr Void -> Ptr Void -> Ptr Void -> IO ()
hs_bindgen_d1604453e77cbbd9_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_d1604453e77cbbd9
foreign import ccall unsafe "hs_bindgen_37f1aba920cf70df"
hs_bindgen_37f1aba920cf70df_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_37f1aba920cf70df
:: BG.Ptr SDL_GPUCopyPass
-> IO ()
hs_bindgen_37f1aba920cf70df :: Ptr SDL_GPUCopyPass -> IO ()
hs_bindgen_37f1aba920cf70df =
\Ptr SDL_GPUCopyPass
x0 ->
Ptr Void -> IO ()
hs_bindgen_37f1aba920cf70df_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_37f1aba920cf70df
foreign import ccall unsafe "hs_bindgen_487b5d55898cb8c9"
hs_bindgen_487b5d55898cb8c9_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_487b5d55898cb8c9
:: BG.Ptr SDL_GPUCommandBuffer
-> BG.Ptr SDL_GPUTexture
-> IO ()
hs_bindgen_487b5d55898cb8c9 :: Ptr SDL_GPUCommandBuffer -> Ptr SDL_GPUTexture -> IO ()
hs_bindgen_487b5d55898cb8c9 =
\Ptr SDL_GPUCommandBuffer
x0 ->
\Ptr SDL_GPUTexture
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_487b5d55898cb8c9_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_487b5d55898cb8c9
foreign import ccall unsafe "hs_bindgen_5ea32ac13985443b"
hs_bindgen_5ea32ac13985443b_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_5ea32ac13985443b
:: BG.Ptr SDL_GPUCommandBuffer
-> PtrConst.PtrConst SDL_GPUBlitInfo
-> IO ()
hs_bindgen_5ea32ac13985443b :: Ptr SDL_GPUCommandBuffer -> PtrConst SDL_GPUBlitInfo -> IO ()
hs_bindgen_5ea32ac13985443b =
\Ptr SDL_GPUCommandBuffer
x0 ->
\PtrConst SDL_GPUBlitInfo
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_5ea32ac13985443b_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_5ea32ac13985443b
foreign import ccall unsafe "hs_bindgen_7874a69b9fb7574a"
hs_bindgen_7874a69b9fb7574a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_7874a69b9fb7574a
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUSwapchainComposition
-> IO BG.CBool
hs_bindgen_7874a69b9fb7574a :: Ptr SDL_GPUDevice
-> Ptr SDL_Window -> SDL_GPUSwapchainComposition -> IO CBool
hs_bindgen_7874a69b9fb7574a =
\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_7874a69b9fb7574a_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_7874a69b9fb7574a
foreign import ccall unsafe "hs_bindgen_e7e69a1723f7ad13"
hs_bindgen_e7e69a1723f7ad13_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_e7e69a1723f7ad13
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUPresentMode
-> IO BG.CBool
hs_bindgen_e7e69a1723f7ad13 :: Ptr SDL_GPUDevice
-> Ptr SDL_Window -> SDL_GPUPresentMode -> IO CBool
hs_bindgen_e7e69a1723f7ad13 =
\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_e7e69a1723f7ad13_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_e7e69a1723f7ad13
foreign import ccall unsafe "hs_bindgen_709c34298cd845c0"
hs_bindgen_709c34298cd845c0_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_709c34298cd845c0
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_709c34298cd845c0 :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO CBool
hs_bindgen_709c34298cd845c0 =
\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_709c34298cd845c0_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_709c34298cd845c0
foreign import ccall unsafe "hs_bindgen_5580ffa5115be31a"
hs_bindgen_5580ffa5115be31a_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_5580ffa5115be31a
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO ()
hs_bindgen_5580ffa5115be31a :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO ()
hs_bindgen_5580ffa5115be31a =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_Window
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_5580ffa5115be31a_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_5580ffa5115be31a
foreign import ccall unsafe "hs_bindgen_dd5044a4ed37551c"
hs_bindgen_dd5044a4ed37551c_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> BG.CUInt
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_dd5044a4ed37551c
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> SDL_GPUSwapchainComposition
-> SDL_GPUPresentMode
-> IO BG.CBool
hs_bindgen_dd5044a4ed37551c :: Ptr SDL_GPUDevice
-> Ptr SDL_Window
-> SDL_GPUSwapchainComposition
-> SDL_GPUPresentMode
-> IO CBool
hs_bindgen_dd5044a4ed37551c =
\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_dd5044a4ed37551c_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_dd5044a4ed37551c
foreign import ccall unsafe "hs_bindgen_376c36f4c99e1f9a"
hs_bindgen_376c36f4c99e1f9a_base
:: BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_376c36f4c99e1f9a
:: BG.Ptr SDL_GPUDevice
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_376c36f4c99e1f9a :: Ptr SDL_GPUDevice -> Uint32 -> IO CBool
hs_bindgen_376c36f4c99e1f9a =
\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_376c36f4c99e1f9a_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_376c36f4c99e1f9a
foreign import ccall unsafe "hs_bindgen_4dd16ea5d2d75e5c"
hs_bindgen_4dd16ea5d2d75e5c_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CUInt
hs_bindgen_4dd16ea5d2d75e5c
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO SDL_GPUTextureFormat
hs_bindgen_4dd16ea5d2d75e5c :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO SDL_GPUTextureFormat
hs_bindgen_4dd16ea5d2d75e5c =
\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_4dd16ea5d2d75e5c_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_4dd16ea5d2d75e5c
foreign import ccall unsafe "hs_bindgen_458d79c8728f00ab"
hs_bindgen_458d79c8728f00ab_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_458d79c8728f00ab
:: 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_458d79c8728f00ab :: Ptr SDL_GPUCommandBuffer
-> Ptr SDL_Window
-> Ptr (Ptr SDL_GPUTexture)
-> Ptr Uint32
-> Ptr Uint32
-> IO CBool
hs_bindgen_458d79c8728f00ab =
\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_458d79c8728f00ab_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_458d79c8728f00ab
foreign import ccall unsafe "hs_bindgen_fb018ba3fc209740"
hs_bindgen_fb018ba3fc209740_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_fb018ba3fc209740
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL3.Sys.Bindgen.Video.SDL_Window
-> IO BG.CBool
hs_bindgen_fb018ba3fc209740 :: Ptr SDL_GPUDevice -> Ptr SDL_Window -> IO CBool
hs_bindgen_fb018ba3fc209740 =
\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_fb018ba3fc209740_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_fb018ba3fc209740
foreign import ccall unsafe "hs_bindgen_a454f9124adeea81"
hs_bindgen_a454f9124adeea81_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_a454f9124adeea81
:: 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_a454f9124adeea81 :: Ptr SDL_GPUCommandBuffer
-> Ptr SDL_Window
-> Ptr (Ptr SDL_GPUTexture)
-> Ptr Uint32
-> Ptr Uint32
-> IO CBool
hs_bindgen_a454f9124adeea81 =
\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_a454f9124adeea81_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_a454f9124adeea81
foreign import ccall unsafe "hs_bindgen_82bac871c3cbe3e4"
hs_bindgen_82bac871c3cbe3e4_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_82bac871c3cbe3e4
:: BG.Ptr SDL_GPUCommandBuffer
-> IO BG.CBool
hs_bindgen_82bac871c3cbe3e4 :: Ptr SDL_GPUCommandBuffer -> IO CBool
hs_bindgen_82bac871c3cbe3e4 =
\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_82bac871c3cbe3e4_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_82bac871c3cbe3e4
foreign import ccall unsafe "hs_bindgen_34bbe24268d3620c"
hs_bindgen_34bbe24268d3620c_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_34bbe24268d3620c
:: BG.Ptr SDL_GPUCommandBuffer
-> IO (BG.Ptr SDL_GPUFence)
hs_bindgen_34bbe24268d3620c :: Ptr SDL_GPUCommandBuffer -> IO (Ptr SDL_GPUFence)
hs_bindgen_34bbe24268d3620c =
\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_34bbe24268d3620c_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_34bbe24268d3620c
foreign import ccall unsafe "hs_bindgen_34c4d8861fe9ae5b"
hs_bindgen_34c4d8861fe9ae5b_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_34c4d8861fe9ae5b
:: BG.Ptr SDL_GPUCommandBuffer
-> IO BG.CBool
hs_bindgen_34c4d8861fe9ae5b :: Ptr SDL_GPUCommandBuffer -> IO CBool
hs_bindgen_34c4d8861fe9ae5b =
\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_34c4d8861fe9ae5b_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_34c4d8861fe9ae5b
foreign import ccall unsafe "hs_bindgen_2cf574d324b28e44"
hs_bindgen_2cf574d324b28e44_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_2cf574d324b28e44
:: BG.Ptr SDL_GPUDevice
-> IO BG.CBool
hs_bindgen_2cf574d324b28e44 :: Ptr SDL_GPUDevice -> IO CBool
hs_bindgen_2cf574d324b28e44 =
\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_2cf574d324b28e44_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_2cf574d324b28e44
foreign import ccall unsafe "hs_bindgen_90c7f8f4aae22e6a"
hs_bindgen_90c7f8f4aae22e6a_base
:: BG.Ptr BG.Void
-> BG.CBool
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_90c7f8f4aae22e6a
:: BG.Ptr SDL_GPUDevice
-> BG.CBool
-> PtrConst.PtrConst (BG.Ptr SDL_GPUFence)
-> SDL3.Sys.Bindgen.Stdinc.Uint32
-> IO BG.CBool
hs_bindgen_90c7f8f4aae22e6a :: Ptr SDL_GPUDevice
-> CBool -> PtrConst (Ptr SDL_GPUFence) -> Uint32 -> IO CBool
hs_bindgen_90c7f8f4aae22e6a =
\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_90c7f8f4aae22e6a_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_90c7f8f4aae22e6a
foreign import ccall unsafe "hs_bindgen_09f80c8e0b395d04"
hs_bindgen_09f80c8e0b395d04_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_09f80c8e0b395d04
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUFence
-> IO BG.CBool
hs_bindgen_09f80c8e0b395d04 :: Ptr SDL_GPUDevice -> Ptr SDL_GPUFence -> IO CBool
hs_bindgen_09f80c8e0b395d04 =
\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_09f80c8e0b395d04_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_09f80c8e0b395d04
foreign import ccall unsafe "hs_bindgen_97087dbb893b61af"
hs_bindgen_97087dbb893b61af_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_97087dbb893b61af
:: BG.Ptr SDL_GPUDevice
-> BG.Ptr SDL_GPUFence
-> IO ()
hs_bindgen_97087dbb893b61af :: Ptr SDL_GPUDevice -> Ptr SDL_GPUFence -> IO ()
hs_bindgen_97087dbb893b61af =
\Ptr SDL_GPUDevice
x0 ->
\Ptr SDL_GPUFence
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_97087dbb893b61af_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_97087dbb893b61af
foreign import ccall unsafe "hs_bindgen_121bf00d55a1a113"
hs_bindgen_121bf00d55a1a113_base
:: BG.CUInt
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_121bf00d55a1a113
:: SDL_GPUTextureFormat
-> IO SDL3.Sys.Bindgen.Stdinc.Uint32
hs_bindgen_121bf00d55a1a113 :: SDL_GPUTextureFormat -> IO Uint32
hs_bindgen_121bf00d55a1a113 =
\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_121bf00d55a1a113_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_121bf00d55a1a113
foreign import ccall unsafe "hs_bindgen_0c3c275a5e945ebd"
hs_bindgen_0c3c275a5e945ebd_base
:: BG.Ptr BG.Void
-> BG.CUInt
-> BG.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> IO BG.CBool
hs_bindgen_0c3c275a5e945ebd
:: BG.Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUTextureType
-> SDL_GPUTextureUsageFlags
-> IO BG.CBool
hs_bindgen_0c3c275a5e945ebd :: Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUTextureType
-> SDL_GPUTextureUsageFlags
-> IO CBool
hs_bindgen_0c3c275a5e945ebd =
\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_0c3c275a5e945ebd_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_0c3c275a5e945ebd
foreign import ccall unsafe "hs_bindgen_0870889673874577"
hs_bindgen_0870889673874577_base
:: BG.Ptr BG.Void
-> BG.CUInt
-> BG.CUInt
-> IO BG.CBool
hs_bindgen_0870889673874577
:: BG.Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat
-> SDL_GPUSampleCount
-> IO BG.CBool
hs_bindgen_0870889673874577 :: Ptr SDL_GPUDevice
-> SDL_GPUTextureFormat -> SDL_GPUSampleCount -> IO CBool
hs_bindgen_0870889673874577 =
\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_0870889673874577_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_0870889673874577
foreign import ccall unsafe "hs_bindgen_222b65bb58cce08e"
hs_bindgen_222b65bb58cce08e_base
:: BG.CUInt
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> HsBindgen.Runtime.LibC.Word32
-> IO HsBindgen.Runtime.LibC.Word32
hs_bindgen_222b65bb58cce08e
:: 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_222b65bb58cce08e :: SDL_GPUTextureFormat -> Uint32 -> Uint32 -> Uint32 -> IO Uint32
hs_bindgen_222b65bb58cce08e =
\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_222b65bb58cce08e_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_222b65bb58cce08e
foreign import ccall unsafe "hs_bindgen_3a8763f112daa871"
hs_bindgen_3a8763f112daa871_base
:: BG.CUInt
-> IO HsBindgen.Runtime.Support.CUInt
hs_bindgen_3a8763f112daa871
:: SDL_GPUTextureFormat
-> IO SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
hs_bindgen_3a8763f112daa871 :: SDL_GPUTextureFormat -> IO SDL_PixelFormat
hs_bindgen_3a8763f112daa871 =
\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_3a8763f112daa871_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_3a8763f112daa871
foreign import ccall unsafe "hs_bindgen_77c5ed2882b80ff3"
hs_bindgen_77c5ed2882b80ff3_base
:: HsBindgen.Runtime.Support.CUInt
-> IO BG.CUInt
hs_bindgen_77c5ed2882b80ff3
:: SDL3.Sys.Bindgen.Pixels.SDL_PixelFormat
-> IO SDL_GPUTextureFormat
hs_bindgen_77c5ed2882b80ff3 :: SDL_PixelFormat -> IO SDL_GPUTextureFormat
hs_bindgen_77c5ed2882b80ff3 =
\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_77c5ed2882b80ff3_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_77c5ed2882b80ff3