| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Gpu
Description
The GPU API offers a cross-platform way for apps to talk to modern graphics hardware. It offers both 3D graphics and compute support, in the style of Metal, Vulkan, and Direct3D 12.
A basic workflow might be something like this:
The app creates a GPU device with SDL_CreateGPUDevice(), and assigns it to a window with SDL_ClaimWindowForGPUDevice() although strictly speaking you can render offscreen entirely, perhaps for image processing, and not use a window at all.
Next, the app prepares static data (things that are created once and used over and over). For example:
- Shaders (programs that run on the GPU): use
SDL_CreateGPUShader(). - Vertex buffers (arrays of geometry data) and other rendering data: use
SDL_CreateGPUBuffer()andSDL_UploadToGPUBuffer(). - Textures (images): use
SDL_CreateGPUTexture()andSDL_UploadToGPUTexture(). - Samplers (how textures should be read from): use
SDL_CreateGPUSampler(). - Render pipelines (precalculated rendering state): use
SDL_CreateGPUGraphicsPipeline()
To render, the app creates one or more command buffers, with SDL_AcquireGPUCommandBuffer(). Command buffers collect rendering instructions that will be submitted to the GPU in batch. Complex scenes can use multiple command buffers, maybe configured across multiple threads in parallel, as long as they are submitted in the correct order, but many apps will just need one command buffer per frame.
Rendering can happen to a texture (what other APIs call a "render target") or it can happen to the swapchain texture (which is just a special texture that represents a window's contents). The app can use SDL_WaitAndAcquireGPUSwapchainTexture() to render to the window.
Rendering actually happens in a Render Pass, which is encoded into a command buffer. One can encode multiple render passes (or alternate between render and compute passes) in a single command buffer, but many apps might simply need a single render pass in a single command buffer. Render Passes can render to up to four color textures and one depth texture simultaneously. If the set of textures being rendered to needs to change, the Render Pass must be ended and a new one must be begun.
The app calls SDL_BeginGPURenderPass(). Then it sets states it needs for each draw:
SDL_BindGPUGraphicsPipeline()
SDL_SetGPUViewport()
SDL_BindGPUVertexBuffers()
SDL_BindGPUVertexSamplers()
- etc
Then, make the actual draw commands with these states:
SDL_DrawGPUPrimitives()
SDL_DrawGPUPrimitivesIndirect()
SDL_DrawGPUIndexedPrimitivesIndirect()
- etc
After all the drawing commands for a pass are complete, the app should call SDL_EndGPURenderPass(). Once a render pass ends all render-related state is reset.
The app can begin new Render Passes and make new draws in the same command buffer until the entire scene is rendered.
Once all of the render commands for the scene are complete, the app calls SDL_SubmitGPUCommandBuffer() to send it to the GPU for processing.
If the app needs to read back data from texture or buffers, the API has an efficient way of doing this, provided that the app is willing to tolerate some latency. When the app uses SDL_DownloadFromGPUTexture() or SDL_DownloadFromGPUBuffer(), submitting the command buffer with SDL_SubmitGPUCommandBufferAndAcquireFence() will return a fence handle that the app can poll or wait on in a thread. Once the fence indicates that the command buffer is done processing, it is safe to read the downloaded data. Make sure to call SDL_ReleaseGPUFence() when done with the fence.
The API also has "compute" support. The app calls SDL_BeginGPUComputePass() with compute-writeable textures and/or buffers, which can be written to in a compute shader. Then it sets states it needs for the compute dispatches:
SDL_BindGPUComputePipeline()
SDL_BindGPUComputeStorageBuffers()
SDL_BindGPUComputeStorageTextures()
Then, dispatch compute work:
SDL_DispatchGPUCompute()
For advanced users, this opens up powerful GPU-driven workflows.
Graphics and compute pipelines require the use of shaders, which as mentioned above are small programs executed on the GPU. Each backend (Vulkan, Metal, D3D12) requires a different shader format. When the app creates the GPU device, the app lets the device know which shader formats the app can provide. It will then select the appropriate backend depending on the available shader formats and the backends available on the platform. When creating shaders, the app must provide the correct shader format for the selected backend. If you would like to learn more about why the API works this way, there is a detailed blog post explaining this situation.
It is optimal for apps to pre-compile the shader formats they might use, but for ease of use SDL provides a separate project, SDL_shadercross, for performing runtime shader cross-compilation. It also has a CLI interface for offline precompilation as well.
This is an extremely quick overview that leaves out several important details. Already, though, one can see that GPU programming can be quite complex! If you just need simple 2D graphics, the Render API is much easier to use but still hardware-accelerated. That said, even for 2D applications the performance benefits and expressiveness of the GPU API are significant.
The GPU API targets a feature set with a wide range of hardware support and ease of portability. It is designed so that the app won't have to branch itself by querying feature support. If you need cutting-edge features with limited hardware support, this API is probably not for you.
Examples demonstrating proper usage of this API can be found here
Performance considerations
Here are some basic tips for maximizing your rendering performance.
- Beginning a new render pass is relatively expensive. Use as few render passes as you can.
- Minimize the amount of state changes. For example, binding a pipeline is relatively cheap, but doing it hundreds of times when you don't need to will slow the performance significantly.
- Perform your data uploads as early as possible in the frame.
- Don't churn resources. Creating and releasing resources is expensive. It's better to create what you need up front and cache it.
- Don't use uniform buffers for large amounts of data (more than a matrix or so). Use a storage buffer instead.
- Use cycling correctly. There is a detailed explanation of cycling further below.
- Use culling techniques to minimize pixel writes. The less writing the GPU has to do the better. Culling can be a very advanced topic but even simple culling techniques can boost performance significantly.
In general try to remember the golden rule of performance: doing things is more expensive than not doing things. Don't Touch The Driver!
FAQ
Question: When are you adding more advanced features, like ray tracing or mesh shaders?
Answer: We don't have immediate plans to add more bleeding-edge features, but we certainly might in the future, when these features prove worthwhile, and reasonable to implement across several platforms and underlying APIs. So while these things are not in the "never" category, they are definitely not "near future" items either.
Question: Why is my shader not working?
Answer: A common oversight when using shaders is not properly laying out the shader resources/registers correctly. The GPU API is very strict with how it wants resources to be laid out and it's difficult for the API to automatically validate shaders to see if they have a compatible layout. See the documentation for SDL_CreateGPUShader() and SDL_CreateGPUComputePipeline() for information on the expected layout.
Another common issue is not setting the correct number of samplers, textures, and buffers in SDL_GPUShaderCreateInfo. If possible use shader reflection to extract the required information from the shader automatically instead of manually filling in the struct's values.
Question: My application isn't performing very well. Is this the GPU API's fault?
Answer: No. Long answer: The GPU API is a relatively thin layer over the underlying graphics API. While it's possible that we have done something inefficiently, it's very unlikely especially if you are relatively inexperienced with GPU rendering. Please see the performance tips above and make sure you are following them. Additionally, tools like RenderDoc can be very helpful for diagnosing incorrect behavior and performance issues.
System Requirements
Vulkan
SDL driver name: "vulkan" (for use in SDL_CreateGPUDevice() and SDL_PROP_GPU_DEVICE_CREATE_NAME_STRING)
Supported on Windows, Linux, Nintendo Switch, and certain Android devices. Requires Vulkan 1.0 with the following extensions and device features:
VK_KHR_swapchain
VK_KHR_maintenance1
independentBlend
imageCubeArray
depthClamp
shaderClipDistance
drawIndirectFirstInstance
sampleRateShading
You can remove some of these requirements to increase compatibility with Android devices by using these properties when creating the GPU device with SDL_CreateGPUDeviceWithProperties():
- SDL_PROP_GPU_DEVICE_CREATE_FEATURE_CLIP_DISTANCE_BOOLEAN
- SDL_PROP_GPU_DEVICE_CREATE_FEATURE_DEPTH_CLAMPING_BOOLEAN
- SDL_PROP_GPU_DEVICE_CREATE_FEATURE_INDIRECT_DRAW_FIRST_INSTANCE_BOOLEAN
- SDL_PROP_GPU_DEVICE_CREATE_FEATURE_ANISOTROPY_BOOLEAN
D3D12
SDL driver name: "direct3d12"
Supported on Windows 10 or newer, Xbox One (GDK), and Xbox Series X|S (GDK). Requires a GPU that supports DirectX 12 Feature Level 11_0 and Resource Binding Tier 2 or above.
You can remove the Tier 2 resource binding requirement to support Intel Haswell and Broadwell GPUs by using this property when creating the GPU device with SDL_CreateGPUDeviceWithProperties():
- SDL_PROP_GPU_DEVICE_CREATE_D3D12_ALLOW_FEWER_RESOURCE_SLOTS_BOOLEAN
Metal
SDL driver name: "metal"
Supported on macOS 10.14+ and iOS/tvOS 13.0+. Hardware requirements vary by operating system:
- macOS requires an Apple Silicon or Intel Mac2 family GPU
- iOS/tvOS requires an A9 GPU or newer
- iOS Simulator and tvOS Simulator are unsupported
Coordinate System
The GPU API uses a left-handed coordinate system, following the convention of D3D12 and Metal. Specifically:
- Normalized Device Coordinates: The lower-left corner has an x,y coordinate of
(-1.0, -1.0). The upper-right corner is(1.0, 1.0). Z values range from[0.0, 1.0]where 0 is the near plane. - Viewport Coordinates: The top-left corner has an x,y coordinate of
(0, 0)and extends to the bottom-right corner at(viewportWidth, viewportHeight). +Y is down. - Texture Coordinates: The top-left corner has an x,y coordinate of
(0, 0)and extends to the bottom-right corner at(1.0, 1.0). +Y is down.
If the backend driver differs from this convention (e.g. Vulkan, which has an NDC that assumes +Y is down), SDL will automatically convert the coordinate system behind the scenes, so you don't need to perform any coordinate flipping logic in your shaders.
Uniform Data
Uniforms are for passing data to shaders. The uniform data will be constant across all executions of the shader.
There are 4 available uniform slots per shader stage (where the stages are vertex, fragment, and compute). Uniform data pushed to a slot on a stage keeps its value throughout the command buffer until you call the relevant Push function on that slot again.
For example, you could write your vertex shaders to read a camera matrix from uniform binding slot 0, push the camera matrix at the start of the command buffer, and that data will be used for every subsequent draw call.
It is valid to push uniform data during a render or compute pass.
Uniforms are best for pushing small amounts of data. If you are pushing more than a matrix or two per call you should consider using a storage buffer instead.
A Note On Cycling
When using a command buffer, operations do not occur immediately - they occur some time after the command buffer is submitted.
When a resource is used in a pending or active command buffer, it is considered to be "bound". When a resource is no longer used in any pending or active command buffers, it is considered to be "unbound".
If data resources are bound, it is unspecified when that data will be unbound unless you acquire a fence when submitting the command buffer and wait on it. However, this doesn't mean you need to track resource usage manually.
All of the functions and structs that involve writing to a resource have a "cycle" bool. SDL_GPUTransferBuffer, SDL_GPUBuffer, and SDL_GPUTexture all effectively function as ring buffers on internal resources. When cycle is true, if the resource is bound, the cycle rotates to the next unbound internal resource, or if none are available, a new one is created. This means you don't have to worry about complex state tracking and synchronization as long as cycling is correctly employed.
For example: you can call SDL_MapGPUTransferBuffer(), write texture data, SDL_UnmapGPUTransferBuffer(), and then SDL_UploadToGPUTexture(). The next time you write texture data to the transfer buffer, if you set the cycle param to true, you don't have to worry about overwriting any data that is not yet uploaded.
Another example: If you are using a texture in a render pass every frame, this can cause a data dependency between frames. If you set cycle to true in the SDL_GPUColorTargetInfo struct, you can prevent this data dependency.
Cycling will never undefine already bound data. When cycling, all data in the resource is considered to be undefined for subsequent commands until that data is written again. You must take care not to read undefined data.
Note that when cycling a texture, the entire texture will be cycled, even if only part of the texture is used in the call, so you must consider the entire texture to contain undefined data after cycling.
You must also take care not to overwrite a section of data that has been referenced in a command without cycling first. It is OK to overwrite unreferenced data in a bound resource without cycling, but overwriting a section of data that has already been referenced will produce unexpected results.
Debugging
At some point of your GPU journey, you will probably encounter issues that are not traceable with regular debugger - for example, your code compiles but you get an empty screen, or your shader fails in runtime.
For debugging such cases, there are tools that allow visually inspecting the whole GPU frame, every drawcall, every bound resource, memory buffers, etc. They are the following, per platform:
- For Windows/Linux, use RenderDoc
- For MacOS (Metal), use Xcode built-in debugger (Open XCode, go to Debug > Debug Executable..., select your application, set "GPU Frame Capture" to "Metal" in scheme "Options" window, run your app, and click the small Metal icon on the bottom to capture a frame)
Aside from that, you may want to enable additional debug layers to receive more detailed error messages, based on your GPU backend:
- For D3D12, the debug layer is an optional feature that can be installed via "Windows Settings -> System -> Optional features" and adding the "Graphics Tools" optional feature.
- For Vulkan, you will need to install Vulkan SDK on Windows, and on Linux, you usually have some sort of
vulkan-validation-layerssystem package that should be installed. - For Metal, it should be enough just to run the application from XCode to receive detailed errors or warnings in the output.
Don't hesitate to use tools as RenderDoc when encountering runtime issues or unexpected output on screen, quick GPU frame inspection can usually help you fix the majority of such problems. An opaque handle representing the SDL_GPU context.
Since: 3.2.0
Synopsis
- data SDL_GPUDevice
- data SDL_GPUBuffer
- data SDL_GPUTransferBuffer
- data SDL_GPUTexture
- data SDL_GPUSampler
- data SDL_GPUShader
- data SDL_GPUComputePipeline
- data SDL_GPUGraphicsPipeline
- data SDL_GPUCommandBuffer
- data SDL_GPURenderPass
- data SDL_GPUComputePass
- data SDL_GPUCopyPass
- data SDL_GPUFence
- newtype SDL_GPUPrimitiveType = SDL_GPUPrimitiveType {}
- pattern SDL_GPU_PRIMITIVETYPE_TRIANGLELIST :: SDL_GPUPrimitiveType
- pattern SDL_GPU_PRIMITIVETYPE_TRIANGLESTRIP :: SDL_GPUPrimitiveType
- pattern SDL_GPU_PRIMITIVETYPE_LINELIST :: SDL_GPUPrimitiveType
- pattern SDL_GPU_PRIMITIVETYPE_LINESTRIP :: SDL_GPUPrimitiveType
- pattern SDL_GPU_PRIMITIVETYPE_POINTLIST :: SDL_GPUPrimitiveType
- newtype SDL_GPULoadOp = SDL_GPULoadOp {}
- pattern SDL_GPU_LOADOP_LOAD :: SDL_GPULoadOp
- pattern SDL_GPU_LOADOP_CLEAR :: SDL_GPULoadOp
- pattern SDL_GPU_LOADOP_DONT_CARE :: SDL_GPULoadOp
- newtype SDL_GPUStoreOp = SDL_GPUStoreOp {}
- pattern SDL_GPU_STOREOP_STORE :: SDL_GPUStoreOp
- pattern SDL_GPU_STOREOP_DONT_CARE :: SDL_GPUStoreOp
- pattern SDL_GPU_STOREOP_RESOLVE :: SDL_GPUStoreOp
- pattern SDL_GPU_STOREOP_RESOLVE_AND_STORE :: SDL_GPUStoreOp
- newtype SDL_GPUIndexElementSize = SDL_GPUIndexElementSize {}
- pattern SDL_GPU_INDEXELEMENTSIZE_16BIT :: SDL_GPUIndexElementSize
- pattern SDL_GPU_INDEXELEMENTSIZE_32BIT :: SDL_GPUIndexElementSize
- newtype SDL_GPUTextureFormat = SDL_GPUTextureFormat {}
- pattern SDL_GPU_TEXTUREFORMAT_INVALID :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_A8_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R10G10B10A2_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_B5G6R5_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_B5G5R5A1_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_B4G4R4A4_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_B8G8R8A8_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC1_RGBA_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC2_RGBA_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC3_RGBA_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC4_R_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC5_RG_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC7_RGBA_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC6H_RGB_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC6H_RGB_UFLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8_SNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8_SNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_SNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16_SNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16_SNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_SNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32G32_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32G32B32A32_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R11G11B10_UFLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32G32_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32G32B32A32_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32G32_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R32G32B32A32_INT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_B8G8R8A8_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC1_RGBA_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC2_RGBA_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC3_RGBA_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_BC7_RGBA_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_D16_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_D24_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_D32_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_D24_UNORM_S8_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_D32_FLOAT_S8_UINT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_4x4_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x4_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x5_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x5_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x6_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x5_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x6_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x8_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x5_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x6_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x8_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x10_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x10_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x12_UNORM :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_4x4_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x4_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x5_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x5_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x6_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x5_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x6_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x8_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x5_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x6_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x8_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x10_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x10_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x12_UNORM_SRGB :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_4x4_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x4_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x5_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x5_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x6_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x5_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x6_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x8_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x5_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x6_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x8_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x10_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x10_FLOAT :: SDL_GPUTextureFormat
- pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x12_FLOAT :: SDL_GPUTextureFormat
- newtype SDL_GPUTextureUsageFlags = SDL_GPUTextureUsageFlags {}
- sDL_GPU_TEXTUREUSAGE_SAMPLER :: CUInt
- sDL_GPU_TEXTUREUSAGE_COLOR_TARGET :: CUInt
- sDL_GPU_TEXTUREUSAGE_DEPTH_STENCIL_TARGET :: CUInt
- sDL_GPU_TEXTUREUSAGE_GRAPHICS_STORAGE_READ :: CUInt
- sDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_READ :: CUInt
- sDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_WRITE :: CUInt
- sDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE :: CUInt
- newtype SDL_GPUTextureType = SDL_GPUTextureType {}
- pattern SDL_GPU_TEXTURETYPE_2D :: SDL_GPUTextureType
- pattern SDL_GPU_TEXTURETYPE_2D_ARRAY :: SDL_GPUTextureType
- pattern SDL_GPU_TEXTURETYPE_3D :: SDL_GPUTextureType
- pattern SDL_GPU_TEXTURETYPE_CUBE :: SDL_GPUTextureType
- pattern SDL_GPU_TEXTURETYPE_CUBE_ARRAY :: SDL_GPUTextureType
- newtype SDL_GPUSampleCount = SDL_GPUSampleCount {}
- pattern SDL_GPU_SAMPLECOUNT_1 :: SDL_GPUSampleCount
- pattern SDL_GPU_SAMPLECOUNT_2 :: SDL_GPUSampleCount
- pattern SDL_GPU_SAMPLECOUNT_4 :: SDL_GPUSampleCount
- pattern SDL_GPU_SAMPLECOUNT_8 :: SDL_GPUSampleCount
- newtype SDL_GPUCubeMapFace = SDL_GPUCubeMapFace {}
- pattern SDL_GPU_CUBEMAPFACE_POSITIVEX :: SDL_GPUCubeMapFace
- pattern SDL_GPU_CUBEMAPFACE_NEGATIVEX :: SDL_GPUCubeMapFace
- pattern SDL_GPU_CUBEMAPFACE_POSITIVEY :: SDL_GPUCubeMapFace
- pattern SDL_GPU_CUBEMAPFACE_NEGATIVEY :: SDL_GPUCubeMapFace
- pattern SDL_GPU_CUBEMAPFACE_POSITIVEZ :: SDL_GPUCubeMapFace
- pattern SDL_GPU_CUBEMAPFACE_NEGATIVEZ :: SDL_GPUCubeMapFace
- newtype SDL_GPUBufferUsageFlags = SDL_GPUBufferUsageFlags {}
- sDL_GPU_BUFFERUSAGE_VERTEX :: CUInt
- sDL_GPU_BUFFERUSAGE_INDEX :: CUInt
- sDL_GPU_BUFFERUSAGE_INDIRECT :: CUInt
- sDL_GPU_BUFFERUSAGE_GRAPHICS_STORAGE_READ :: CUInt
- sDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_READ :: CUInt
- sDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_WRITE :: CUInt
- newtype SDL_GPUTransferBufferUsage = SDL_GPUTransferBufferUsage {}
- pattern SDL_GPU_TRANSFERBUFFERUSAGE_UPLOAD :: SDL_GPUTransferBufferUsage
- pattern SDL_GPU_TRANSFERBUFFERUSAGE_DOWNLOAD :: SDL_GPUTransferBufferUsage
- newtype SDL_GPUShaderStage = SDL_GPUShaderStage {}
- pattern SDL_GPU_SHADERSTAGE_VERTEX :: SDL_GPUShaderStage
- pattern SDL_GPU_SHADERSTAGE_FRAGMENT :: SDL_GPUShaderStage
- newtype SDL_GPUShaderFormat = SDL_GPUShaderFormat {}
- sDL_GPU_SHADERFORMAT_INVALID :: CInt
- sDL_GPU_SHADERFORMAT_PRIVATE :: CUInt
- sDL_GPU_SHADERFORMAT_SPIRV :: CUInt
- sDL_GPU_SHADERFORMAT_DXBC :: CUInt
- sDL_GPU_SHADERFORMAT_DXIL :: CUInt
- sDL_GPU_SHADERFORMAT_MSL :: CUInt
- sDL_GPU_SHADERFORMAT_METALLIB :: CUInt
- newtype SDL_GPUVertexElementFormat = SDL_GPUVertexElementFormat {}
- pattern SDL_GPU_VERTEXELEMENTFORMAT_INVALID :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_INT :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_INT2 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_INT3 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_INT4 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_UINT :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_UINT2 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_UINT3 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_UINT4 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_FLOAT :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_FLOAT2 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_FLOAT3 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_FLOAT4 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_BYTE2 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_BYTE4 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_UBYTE2 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_UBYTE4 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_BYTE2_NORM :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_BYTE4_NORM :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_UBYTE2_NORM :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_UBYTE4_NORM :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_SHORT2 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_SHORT4 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_USHORT2 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_USHORT4 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_SHORT2_NORM :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_SHORT4_NORM :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_USHORT2_NORM :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_USHORT4_NORM :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_HALF2 :: SDL_GPUVertexElementFormat
- pattern SDL_GPU_VERTEXELEMENTFORMAT_HALF4 :: SDL_GPUVertexElementFormat
- newtype SDL_GPUVertexInputRate = SDL_GPUVertexInputRate {}
- pattern SDL_GPU_VERTEXINPUTRATE_VERTEX :: SDL_GPUVertexInputRate
- pattern SDL_GPU_VERTEXINPUTRATE_INSTANCE :: SDL_GPUVertexInputRate
- newtype SDL_GPUFillMode = SDL_GPUFillMode {}
- pattern SDL_GPU_FILLMODE_FILL :: SDL_GPUFillMode
- pattern SDL_GPU_FILLMODE_LINE :: SDL_GPUFillMode
- newtype SDL_GPUCullMode = SDL_GPUCullMode {}
- pattern SDL_GPU_CULLMODE_NONE :: SDL_GPUCullMode
- pattern SDL_GPU_CULLMODE_FRONT :: SDL_GPUCullMode
- pattern SDL_GPU_CULLMODE_BACK :: SDL_GPUCullMode
- newtype SDL_GPUFrontFace = SDL_GPUFrontFace {}
- pattern SDL_GPU_FRONTFACE_COUNTER_CLOCKWISE :: SDL_GPUFrontFace
- pattern SDL_GPU_FRONTFACE_CLOCKWISE :: SDL_GPUFrontFace
- newtype SDL_GPUCompareOp = SDL_GPUCompareOp {}
- pattern SDL_GPU_COMPAREOP_INVALID :: SDL_GPUCompareOp
- pattern SDL_GPU_COMPAREOP_NEVER :: SDL_GPUCompareOp
- pattern SDL_GPU_COMPAREOP_LESS :: SDL_GPUCompareOp
- pattern SDL_GPU_COMPAREOP_EQUAL :: SDL_GPUCompareOp
- pattern SDL_GPU_COMPAREOP_LESS_OR_EQUAL :: SDL_GPUCompareOp
- pattern SDL_GPU_COMPAREOP_GREATER :: SDL_GPUCompareOp
- pattern SDL_GPU_COMPAREOP_NOT_EQUAL :: SDL_GPUCompareOp
- pattern SDL_GPU_COMPAREOP_GREATER_OR_EQUAL :: SDL_GPUCompareOp
- pattern SDL_GPU_COMPAREOP_ALWAYS :: SDL_GPUCompareOp
- newtype SDL_GPUStencilOp = SDL_GPUStencilOp {}
- pattern SDL_GPU_STENCILOP_INVALID :: SDL_GPUStencilOp
- pattern SDL_GPU_STENCILOP_KEEP :: SDL_GPUStencilOp
- pattern SDL_GPU_STENCILOP_ZERO :: SDL_GPUStencilOp
- pattern SDL_GPU_STENCILOP_REPLACE :: SDL_GPUStencilOp
- pattern SDL_GPU_STENCILOP_INCREMENT_AND_CLAMP :: SDL_GPUStencilOp
- pattern SDL_GPU_STENCILOP_DECREMENT_AND_CLAMP :: SDL_GPUStencilOp
- pattern SDL_GPU_STENCILOP_INVERT :: SDL_GPUStencilOp
- pattern SDL_GPU_STENCILOP_INCREMENT_AND_WRAP :: SDL_GPUStencilOp
- pattern SDL_GPU_STENCILOP_DECREMENT_AND_WRAP :: SDL_GPUStencilOp
- newtype SDL_GPUBlendOp = SDL_GPUBlendOp {}
- pattern SDL_GPU_BLENDOP_INVALID :: SDL_GPUBlendOp
- pattern SDL_GPU_BLENDOP_ADD :: SDL_GPUBlendOp
- pattern SDL_GPU_BLENDOP_SUBTRACT :: SDL_GPUBlendOp
- pattern SDL_GPU_BLENDOP_REVERSE_SUBTRACT :: SDL_GPUBlendOp
- pattern SDL_GPU_BLENDOP_MIN :: SDL_GPUBlendOp
- pattern SDL_GPU_BLENDOP_MAX :: SDL_GPUBlendOp
- newtype SDL_GPUBlendFactor = SDL_GPUBlendFactor {}
- pattern SDL_GPU_BLENDFACTOR_INVALID :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_ZERO :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_ONE :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_SRC_COLOR :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_SRC_COLOR :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_DST_COLOR :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_DST_COLOR :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_SRC_ALPHA :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_SRC_ALPHA :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_DST_ALPHA :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_DST_ALPHA :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_CONSTANT_COLOR :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR :: SDL_GPUBlendFactor
- pattern SDL_GPU_BLENDFACTOR_SRC_ALPHA_SATURATE :: SDL_GPUBlendFactor
- newtype SDL_GPUColorComponentFlags = SDL_GPUColorComponentFlags {}
- sDL_GPU_COLORCOMPONENT_R :: CUInt
- sDL_GPU_COLORCOMPONENT_G :: CUInt
- sDL_GPU_COLORCOMPONENT_B :: CUInt
- sDL_GPU_COLORCOMPONENT_A :: CUInt
- newtype SDL_GPUFilter = SDL_GPUFilter {}
- pattern SDL_GPU_FILTER_NEAREST :: SDL_GPUFilter
- pattern SDL_GPU_FILTER_LINEAR :: SDL_GPUFilter
- newtype SDL_GPUSamplerMipmapMode = SDL_GPUSamplerMipmapMode {}
- pattern SDL_GPU_SAMPLERMIPMAPMODE_NEAREST :: SDL_GPUSamplerMipmapMode
- pattern SDL_GPU_SAMPLERMIPMAPMODE_LINEAR :: SDL_GPUSamplerMipmapMode
- newtype SDL_GPUSamplerAddressMode = SDL_GPUSamplerAddressMode {}
- pattern SDL_GPU_SAMPLERADDRESSMODE_REPEAT :: SDL_GPUSamplerAddressMode
- pattern SDL_GPU_SAMPLERADDRESSMODE_MIRRORED_REPEAT :: SDL_GPUSamplerAddressMode
- pattern SDL_GPU_SAMPLERADDRESSMODE_CLAMP_TO_EDGE :: SDL_GPUSamplerAddressMode
- newtype SDL_GPUPresentMode = SDL_GPUPresentMode {}
- pattern SDL_GPU_PRESENTMODE_VSYNC :: SDL_GPUPresentMode
- pattern SDL_GPU_PRESENTMODE_IMMEDIATE :: SDL_GPUPresentMode
- pattern SDL_GPU_PRESENTMODE_MAILBOX :: SDL_GPUPresentMode
- newtype SDL_GPUSwapchainComposition = SDL_GPUSwapchainComposition {}
- pattern SDL_GPU_SWAPCHAINCOMPOSITION_SDR :: SDL_GPUSwapchainComposition
- pattern SDL_GPU_SWAPCHAINCOMPOSITION_SDR_LINEAR :: SDL_GPUSwapchainComposition
- pattern SDL_GPU_SWAPCHAINCOMPOSITION_HDR_EXTENDED_LINEAR :: SDL_GPUSwapchainComposition
- pattern SDL_GPU_SWAPCHAINCOMPOSITION_HDR10_ST2084 :: SDL_GPUSwapchainComposition
- data SDL_GPUViewport = SDL_GPUViewport {}
- data SDL_GPUTextureTransferInfo = SDL_GPUTextureTransferInfo {}
- data SDL_GPUTransferBufferLocation = SDL_GPUTransferBufferLocation {}
- data SDL_GPUTextureLocation = SDL_GPUTextureLocation {}
- data SDL_GPUTextureRegion = SDL_GPUTextureRegion {}
- data SDL_GPUBlitRegion = SDL_GPUBlitRegion {}
- data SDL_GPUBufferLocation = SDL_GPUBufferLocation {
- buffer :: Ptr SDL_GPUBuffer
- offset :: Uint32
- data SDL_GPUBufferRegion = SDL_GPUBufferRegion {}
- data SDL_GPUIndirectDrawCommand = SDL_GPUIndirectDrawCommand {}
- data SDL_GPUIndexedIndirectDrawCommand = SDL_GPUIndexedIndirectDrawCommand {}
- data SDL_GPUIndirectDispatchCommand = SDL_GPUIndirectDispatchCommand {}
- data SDL_GPUSamplerCreateInfo = SDL_GPUSamplerCreateInfo {
- min_filter :: SDL_GPUFilter
- mag_filter :: SDL_GPUFilter
- mipmap_mode :: SDL_GPUSamplerMipmapMode
- address_mode_u :: SDL_GPUSamplerAddressMode
- address_mode_v :: SDL_GPUSamplerAddressMode
- address_mode_w :: SDL_GPUSamplerAddressMode
- mip_lod_bias :: CFloat
- max_anisotropy :: CFloat
- compare_op :: SDL_GPUCompareOp
- min_lod :: CFloat
- max_lod :: CFloat
- enable_anisotropy :: CBool
- enable_compare :: CBool
- padding1 :: Uint8
- padding2 :: Uint8
- props :: SDL_PropertiesID
- data SDL_GPUVertexBufferDescription = SDL_GPUVertexBufferDescription {}
- data SDL_GPUVertexAttribute = SDL_GPUVertexAttribute {}
- data SDL_GPUVertexInputState = SDL_GPUVertexInputState {}
- data SDL_GPUStencilOpState = SDL_GPUStencilOpState {}
- data SDL_GPUColorTargetBlendState = SDL_GPUColorTargetBlendState {
- src_color_blendfactor :: SDL_GPUBlendFactor
- dst_color_blendfactor :: SDL_GPUBlendFactor
- color_blend_op :: SDL_GPUBlendOp
- src_alpha_blendfactor :: SDL_GPUBlendFactor
- dst_alpha_blendfactor :: SDL_GPUBlendFactor
- alpha_blend_op :: SDL_GPUBlendOp
- color_write_mask :: SDL_GPUColorComponentFlags
- enable_blend :: CBool
- enable_color_write_mask :: CBool
- padding1 :: Uint8
- padding2 :: Uint8
- data SDL_GPUShaderCreateInfo = SDL_GPUShaderCreateInfo {}
- data SDL_GPUTextureCreateInfo = SDL_GPUTextureCreateInfo {}
- data SDL_GPUBufferCreateInfo = SDL_GPUBufferCreateInfo {}
- data SDL_GPUTransferBufferCreateInfo = SDL_GPUTransferBufferCreateInfo {}
- data SDL_GPURasterizerState = SDL_GPURasterizerState {}
- data SDL_GPUMultisampleState = SDL_GPUMultisampleState {}
- data SDL_GPUDepthStencilState = SDL_GPUDepthStencilState {}
- data SDL_GPUColorTargetDescription = SDL_GPUColorTargetDescription {}
- data SDL_GPUGraphicsPipelineTargetInfo = SDL_GPUGraphicsPipelineTargetInfo {}
- data SDL_GPUGraphicsPipelineCreateInfo = SDL_GPUGraphicsPipelineCreateInfo {
- vertex_shader :: Ptr SDL_GPUShader
- fragment_shader :: Ptr SDL_GPUShader
- vertex_input_state :: SDL_GPUVertexInputState
- primitive_type :: SDL_GPUPrimitiveType
- rasterizer_state :: SDL_GPURasterizerState
- multisample_state :: SDL_GPUMultisampleState
- depth_stencil_state :: SDL_GPUDepthStencilState
- target_info :: SDL_GPUGraphicsPipelineTargetInfo
- props :: SDL_PropertiesID
- data SDL_GPUComputePipelineCreateInfo = SDL_GPUComputePipelineCreateInfo {
- code_size :: CSize
- code :: PtrConst Uint8
- entrypoint :: PtrConst CChar
- format :: SDL_GPUShaderFormat
- num_samplers :: Uint32
- num_readonly_storage_textures :: Uint32
- num_readonly_storage_buffers :: Uint32
- num_readwrite_storage_textures :: Uint32
- num_readwrite_storage_buffers :: Uint32
- num_uniform_buffers :: Uint32
- threadcount_x :: Uint32
- threadcount_y :: Uint32
- threadcount_z :: Uint32
- props :: SDL_PropertiesID
- data SDL_GPUColorTargetInfo = SDL_GPUColorTargetInfo {
- texture :: Ptr SDL_GPUTexture
- mip_level :: Uint32
- layer_or_depth_plane :: Uint32
- clear_color :: SDL_FColor
- load_op :: SDL_GPULoadOp
- store_op :: SDL_GPUStoreOp
- resolve_texture :: Ptr SDL_GPUTexture
- resolve_mip_level :: Uint32
- resolve_layer :: Uint32
- cycle :: CBool
- cycle_resolve_texture :: CBool
- padding1 :: Uint8
- padding2 :: Uint8
- data SDL_GPUDepthStencilTargetInfo = SDL_GPUDepthStencilTargetInfo {}
- data SDL_GPUBlitInfo = SDL_GPUBlitInfo {}
- data SDL_GPUBufferBinding = SDL_GPUBufferBinding {
- buffer :: Ptr SDL_GPUBuffer
- offset :: Uint32
- data SDL_GPUTextureSamplerBinding = SDL_GPUTextureSamplerBinding {}
- data SDL_GPUStorageBufferReadWriteBinding = SDL_GPUStorageBufferReadWriteBinding {}
- data SDL_GPUStorageTextureReadWriteBinding = SDL_GPUStorageTextureReadWriteBinding {}
- sDL_PROP_GPU_DEVICE_CREATE_DEBUGMODE_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_PREFERLOWPOWER_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_VERBOSE_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_NAME_STRING :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_FEATURE_CLIP_DISTANCE_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_FEATURE_DEPTH_CLAMPING_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_FEATURE_INDIRECT_DRAW_FIRST_INSTANCE_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_FEATURE_ANISOTROPY_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_SHADERS_PRIVATE_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_SHADERS_SPIRV_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXBC_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXIL_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_SHADERS_MSL_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_D3D12_ALLOW_FEWER_RESOURCE_SLOTS_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_D3D12_AGILITY_SDK_VERSION_NUMBER :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_D3D12_AGILITY_SDK_PATH_STRING :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION_BOOLEAN :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_VULKAN_OPTIONS_POINTER :: ByteString
- sDL_PROP_GPU_DEVICE_CREATE_METAL_ALLOW_MACFAMILY1_BOOLEAN :: ByteString
- data SDL_GPUVulkanOptions = SDL_GPUVulkanOptions {}
- sDL_PROP_GPU_DEVICE_NAME_STRING :: ByteString
- sDL_PROP_GPU_DEVICE_DRIVER_NAME_STRING :: ByteString
- sDL_PROP_GPU_DEVICE_DRIVER_VERSION_STRING :: ByteString
- sDL_PROP_GPU_DEVICE_DRIVER_INFO_STRING :: ByteString
- sDL_PROP_GPU_COMPUTEPIPELINE_CREATE_NAME_STRING :: ByteString
- sDL_PROP_GPU_GRAPHICSPIPELINE_CREATE_NAME_STRING :: ByteString
- sDL_PROP_GPU_SAMPLER_CREATE_NAME_STRING :: ByteString
- sDL_PROP_GPU_SHADER_CREATE_NAME_STRING :: ByteString
- sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_R_FLOAT :: ByteString
- sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_G_FLOAT :: ByteString
- sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_B_FLOAT :: ByteString
- sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_A_FLOAT :: ByteString
- sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_DEPTH_FLOAT :: ByteString
- sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_NUMBER :: ByteString
- sDL_PROP_GPU_TEXTURE_CREATE_NAME_STRING :: ByteString
- sDL_PROP_GPU_BUFFER_CREATE_NAME_STRING :: ByteString
- sDL_PROP_GPU_TRANSFERBUFFER_CREATE_NAME_STRING :: ByteString
Documentation
data SDL_GPUDevice Source #
- C declaration
struct SDL_GPUDevice, defined atSDL3/SDL_gpu.h 411:16
data SDL_GPUBuffer Source #
An opaque handle representing a buffer.
Used for vertices, indices, indirect draw commands, and general compute data.
- See also
sDL_CreateGPUBuffer,sDL_UploadToGPUBuffer,sDL_DownloadFromGPUBuffer,sDL_CopyGPUBufferToBuffer,sDL_BindGPUVertexBuffers,sDL_BindGPUIndexBuffer,sDL_BindGPUVertexStorageBuffers,sDL_BindGPUFragmentStorageBuffers,sDL_DrawGPUPrimitivesIndirect,sDL_DrawGPUIndexedPrimitivesIndirect,sDL_BindGPUComputeStorageBuffers,sDL_DispatchGPUComputeIndirect,sDL_ReleaseGPUBuffer- C declaration
struct SDL_GPUBuffer, defined atSDL3/SDL_gpu.h 435:16
Since: 3.2.0
data SDL_GPUTransferBuffer Source #
An opaque handle representing a transfer buffer.
Used for transferring data to and from the device.
- See also
sDL_CreateGPUTransferBuffer,sDL_MapGPUTransferBuffer,sDL_UnmapGPUTransferBuffer,sDL_UploadToGPUBuffer,sDL_UploadToGPUTexture,sDL_DownloadFromGPUBuffer,sDL_DownloadFromGPUTexture,sDL_ReleaseGPUTransferBuffer- C declaration
struct SDL_GPUTransferBuffer, defined atSDL3/SDL_gpu.h 453:16
Since: 3.2.0
data SDL_GPUTexture Source #
An opaque handle representing a texture.
- See also
sDL_CreateGPUTexture,sDL_UploadToGPUTexture,sDL_DownloadFromGPUTexture,sDL_CopyGPUTextureToTexture,sDL_BindGPUVertexSamplers,sDL_BindGPUVertexStorageTextures,sDL_BindGPUFragmentSamplers,sDL_BindGPUFragmentStorageTextures,sDL_BindGPUComputeStorageTextures,sDL_GenerateMipmapsForGPUTexture,sDL_BlitGPUTexture,sDL_ReleaseGPUTexture- C declaration
struct SDL_GPUTexture, defined atSDL3/SDL_gpu.h 473:16
Since: 3.2.0
data SDL_GPUSampler Source #
An opaque handle representing a sampler.
- See also
sDL_CreateGPUSampler,sDL_BindGPUVertexSamplers,sDL_BindGPUFragmentSamplers,sDL_ReleaseGPUSampler- C declaration
struct SDL_GPUSampler, defined atSDL3/SDL_gpu.h 485:16
Since: 3.2.0
data SDL_GPUShader Source #
An opaque handle representing a compiled shader object.
- See also
sDL_CreateGPUShader,sDL_CreateGPUGraphicsPipeline,sDL_ReleaseGPUShader- C declaration
struct SDL_GPUShader, defined atSDL3/SDL_gpu.h 496:16
Since: 3.2.0
data SDL_GPUComputePipeline Source #
An opaque handle representing a compute pipeline.
Used during compute passes.
- See also
sDL_CreateGPUComputePipeline,sDL_BindGPUComputePipeline,sDL_ReleaseGPUComputePipeline- C declaration
struct SDL_GPUComputePipeline, defined atSDL3/SDL_gpu.h 509:16
Since: 3.2.0
data SDL_GPUGraphicsPipeline Source #
An opaque handle representing a graphics pipeline.
Used during render passes.
- See also
sDL_CreateGPUGraphicsPipeline,sDL_BindGPUGraphicsPipeline,sDL_ReleaseGPUGraphicsPipeline- C declaration
struct SDL_GPUGraphicsPipeline, defined atSDL3/SDL_gpu.h 522:16
Since: 3.2.0
data SDL_GPUCommandBuffer Source #
An opaque handle representing a command buffer.
Most state is managed via command buffers. When setting state using a command buffer, that state is local to the command buffer.
Commands only begin execution on the GPU once SDL_SubmitGPUCommandBuffer is called. Once the command buffer is submitted, it is no longer valid to use it.
Command buffers are executed in submission order. If you submit command buffer A and then command buffer B all commands in A will begin executing before any command in B begins executing.
In multi-threading scenarios, you should only access a command buffer on the thread you acquired it from.
- See also
sDL_AcquireGPUCommandBuffer,sDL_SubmitGPUCommandBuffer,sDL_SubmitGPUCommandBufferAndAcquireFence- C declaration
struct SDL_GPUCommandBuffer, defined atSDL3/SDL_gpu.h 547:16
Since: 3.2.0
data SDL_GPURenderPass Source #
An opaque handle representing a render pass.
This handle is transient and should not be held or referenced after SDL_EndGPURenderPass is called.
- See also
sDL_BeginGPURenderPass,sDL_EndGPURenderPass- C declaration
struct SDL_GPURenderPass, defined atSDL3/SDL_gpu.h 560:16
Since: 3.2.0
data SDL_GPUComputePass Source #
An opaque handle representing a compute pass.
This handle is transient and should not be held or referenced after SDL_EndGPUComputePass is called.
- See also
sDL_BeginGPUComputePass,sDL_EndGPUComputePass- C declaration
struct SDL_GPUComputePass, defined atSDL3/SDL_gpu.h 573:16
Since: 3.2.0
data SDL_GPUCopyPass Source #
An opaque handle representing a copy pass.
This handle is transient and should not be held or referenced after SDL_EndGPUCopyPass is called.
- See also
sDL_BeginGPUCopyPass,sDL_EndGPUCopyPass- C declaration
struct SDL_GPUCopyPass, defined atSDL3/SDL_gpu.h 586:16
Since: 3.2.0
data SDL_GPUFence Source #
An opaque handle representing a fence.
- See also
sDL_SubmitGPUCommandBufferAndAcquireFence,sDL_QueryGPUFence,sDL_WaitForGPUFences,sDL_ReleaseGPUFence- C declaration
struct SDL_GPUFence, defined atSDL3/SDL_gpu.h 598:16
Since: 3.2.0
newtype SDL_GPUPrimitiveType Source #
Specifies the primitive topology of a graphics pipeline.
If you are using POINTLIST you must include a point size output in the vertex shader.
- For HLSL compiling to SPIRV you must decorate a float output with [[vk::builtin("PointSize")]].
- For GLSL you must set the gl_PointSize builtin.
- For MSL you must include a float output with the [[point_size]] decorator.
Note that sized point topology is totally unsupported on D3D12. Any size other than 1 will be ignored. In general, you should avoid using point topology for both compatibility and performance reasons. You WILL regret using it.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUPrimitiveType, defined atSDL3/SDL_gpu.h 621:14
Since: 3.2.0
Constructors
| SDL_GPUPrimitiveType | |
Instances
pattern SDL_GPU_PRIMITIVETYPE_TRIANGLELIST :: SDL_GPUPrimitiveType Source #
A series of separate triangles.
- C declaration
SDL_GPU_PRIMITIVETYPE_TRIANGLELIST, defined atSDL3/SDL_gpu.h 623:5
pattern SDL_GPU_PRIMITIVETYPE_TRIANGLESTRIP :: SDL_GPUPrimitiveType Source #
A series of connected triangles.
- C declaration
SDL_GPU_PRIMITIVETYPE_TRIANGLESTRIP, defined atSDL3/SDL_gpu.h 624:5
pattern SDL_GPU_PRIMITIVETYPE_LINELIST :: SDL_GPUPrimitiveType Source #
A series of separate lines.
- C declaration
SDL_GPU_PRIMITIVETYPE_LINELIST, defined atSDL3/SDL_gpu.h 625:5
pattern SDL_GPU_PRIMITIVETYPE_LINESTRIP :: SDL_GPUPrimitiveType Source #
A series of connected lines.
- C declaration
SDL_GPU_PRIMITIVETYPE_LINESTRIP, defined atSDL3/SDL_gpu.h 626:5
pattern SDL_GPU_PRIMITIVETYPE_POINTLIST :: SDL_GPUPrimitiveType Source #
A series of separate points.
- C declaration
SDL_GPU_PRIMITIVETYPE_POINTLIST, defined atSDL3/SDL_gpu.h 627:5
newtype SDL_GPULoadOp Source #
Specifies how the contents of a texture attached to a render pass are treated at the beginning of the render pass.
- See also
sDL_BeginGPURenderPass- C declaration
enum SDL_GPULoadOp, defined atSDL3/SDL_gpu.h 638:14
Since: 3.2.0
Constructors
| SDL_GPULoadOp | |
Instances
| Storable SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPULoadOp -> Int # alignment :: SDL_GPULoadOp -> Int # peekElemOff :: Ptr SDL_GPULoadOp -> Int -> IO SDL_GPULoadOp # pokeElemOff :: Ptr SDL_GPULoadOp -> Int -> SDL_GPULoadOp -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPULoadOp # pokeByteOff :: Ptr b -> Int -> SDL_GPULoadOp -> IO () # peek :: Ptr SDL_GPULoadOp -> IO SDL_GPULoadOp # poke :: Ptr SDL_GPULoadOp -> SDL_GPULoadOp -> IO () # | |||||
| Generic SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Read SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPULoadOp # readList :: ReadS [SDL_GPULoadOp] # | |||||
| Show SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPULoadOp -> ShowS # show :: SDL_GPULoadOp -> String # showList :: [SDL_GPULoadOp] -> ShowS # | |||||
| Eq SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPULoadOp -> SDL_GPULoadOp -> Bool # (/=) :: SDL_GPULoadOp -> SDL_GPULoadOp -> Bool # | |||||
| Ord SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPULoadOp -> SDL_GPULoadOp -> Ordering # (<) :: SDL_GPULoadOp -> SDL_GPULoadOp -> Bool # (<=) :: SDL_GPULoadOp -> SDL_GPULoadOp -> Bool # (>) :: SDL_GPULoadOp -> SDL_GPULoadOp -> Bool # (>=) :: SDL_GPULoadOp -> SDL_GPULoadOp -> Bool # max :: SDL_GPULoadOp -> SDL_GPULoadOp -> SDL_GPULoadOp # min :: SDL_GPULoadOp -> SDL_GPULoadOp -> SDL_GPULoadOp # | |||||
| Prim SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPULoadOp -> Int# # sizeOf# :: SDL_GPULoadOp -> Int# # alignmentOfType# :: Proxy SDL_GPULoadOp -> Int# # alignment# :: SDL_GPULoadOp -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPULoadOp # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPULoadOp #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPULoadOp -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPULoadOp -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPULoadOp # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPULoadOp #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPULoadOp -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPULoadOp -> State# s -> State# s # | |||||
| CEnum SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPULoadOp -> SDL_GPULoadOp # fromCEnum :: SDL_GPULoadOp -> CEnumZ SDL_GPULoadOp # declaredValues :: proxy SDL_GPULoadOp -> DeclaredValues SDL_GPULoadOp # showsUndeclared :: proxy SDL_GPULoadOp -> Int -> CEnumZ SDL_GPULoadOp -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPULoadOp # isDeclared :: SDL_GPULoadOp -> Bool # | |||||
| SequentialCEnum SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods | |||||
| ReadRaw SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPULoadOp -> IO SDL_GPULoadOp # | |||||
| StaticSize SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| WriteRaw SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPULoadOp -> SDL_GPULoadOp -> IO () # | |||||
| HasCField SDL_GPULoadOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPULoadOp ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPULoadOp -> (ty -> SDL_GPULoadOp, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPULoadOp) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPULoadOp -> Ptr ty # | |||||
| type Rep SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPULoadOp = D1 ('MetaData "SDL_GPULoadOp" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPULoadOp" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPULoadOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPULoadOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_LOADOP_LOAD :: SDL_GPULoadOp Source #
The previous contents of the texture will be preserved.
- C declaration
SDL_GPU_LOADOP_LOAD, defined atSDL3/SDL_gpu.h 640:5
pattern SDL_GPU_LOADOP_CLEAR :: SDL_GPULoadOp Source #
The contents of the texture will be cleared to a color.
- C declaration
SDL_GPU_LOADOP_CLEAR, defined atSDL3/SDL_gpu.h 641:5
pattern SDL_GPU_LOADOP_DONT_CARE :: SDL_GPULoadOp Source #
The previous contents of the texture need not be preserved. The contents will be undefined.
- C declaration
SDL_GPU_LOADOP_DONT_CARE, defined atSDL3/SDL_gpu.h 642:5
newtype SDL_GPUStoreOp Source #
Specifies how the contents of a texture attached to a render pass are treated at the end of the render pass.
- See also
sDL_BeginGPURenderPass- C declaration
enum SDL_GPUStoreOp, defined atSDL3/SDL_gpu.h 653:14
Since: 3.2.0
Constructors
| SDL_GPUStoreOp | |
Instances
| Storable SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUStoreOp -> Int # alignment :: SDL_GPUStoreOp -> Int # peekElemOff :: Ptr SDL_GPUStoreOp -> Int -> IO SDL_GPUStoreOp # pokeElemOff :: Ptr SDL_GPUStoreOp -> Int -> SDL_GPUStoreOp -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUStoreOp # pokeByteOff :: Ptr b -> Int -> SDL_GPUStoreOp -> IO () # peek :: Ptr SDL_GPUStoreOp -> IO SDL_GPUStoreOp # poke :: Ptr SDL_GPUStoreOp -> SDL_GPUStoreOp -> IO () # | |||||
| Generic SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUStoreOp -> Rep SDL_GPUStoreOp x # to :: Rep SDL_GPUStoreOp x -> SDL_GPUStoreOp # | |||||
| Read SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUStoreOp # readList :: ReadS [SDL_GPUStoreOp] # | |||||
| Show SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUStoreOp -> ShowS # show :: SDL_GPUStoreOp -> String # showList :: [SDL_GPUStoreOp] -> ShowS # | |||||
| Eq SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> Bool # (/=) :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> Bool # | |||||
| Ord SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> Ordering # (<) :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> Bool # (<=) :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> Bool # (>) :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> Bool # (>=) :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> Bool # max :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> SDL_GPUStoreOp # min :: SDL_GPUStoreOp -> SDL_GPUStoreOp -> SDL_GPUStoreOp # | |||||
| Prim SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUStoreOp -> Int# # sizeOf# :: SDL_GPUStoreOp -> Int# # alignmentOfType# :: Proxy SDL_GPUStoreOp -> Int# # alignment# :: SDL_GPUStoreOp -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUStoreOp # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUStoreOp #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUStoreOp -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUStoreOp -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUStoreOp # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUStoreOp #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUStoreOp -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUStoreOp -> State# s -> State# s # | |||||
| CEnum SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUStoreOp -> SDL_GPUStoreOp # fromCEnum :: SDL_GPUStoreOp -> CEnumZ SDL_GPUStoreOp # declaredValues :: proxy SDL_GPUStoreOp -> DeclaredValues SDL_GPUStoreOp # showsUndeclared :: proxy SDL_GPUStoreOp -> Int -> CEnumZ SDL_GPUStoreOp -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUStoreOp # isDeclared :: SDL_GPUStoreOp -> Bool # mkDeclared :: CEnumZ SDL_GPUStoreOp -> Maybe SDL_GPUStoreOp # | |||||
| SequentialCEnum SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods | |||||
| ReadRaw SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUStoreOp -> IO SDL_GPUStoreOp # | |||||
| StaticSize SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUStoreOp -> Int # staticAlignment :: Proxy SDL_GPUStoreOp -> Int # | |||||
| WriteRaw SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUStoreOp -> SDL_GPUStoreOp -> IO () # | |||||
| HasCField SDL_GPUStoreOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUStoreOp ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStoreOp -> (ty -> SDL_GPUStoreOp, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUStoreOp) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStoreOp -> Ptr ty # | |||||
| type Rep SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUStoreOp = D1 ('MetaData "SDL_GPUStoreOp" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUStoreOp" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUStoreOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStoreOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_STOREOP_STORE :: SDL_GPUStoreOp Source #
The contents generated during the render pass will be written to memory.
- C declaration
SDL_GPU_STOREOP_STORE, defined atSDL3/SDL_gpu.h 655:5
pattern SDL_GPU_STOREOP_DONT_CARE :: SDL_GPUStoreOp Source #
The contents generated during the render pass are not needed and may be discarded. The contents will be undefined.
- C declaration
SDL_GPU_STOREOP_DONT_CARE, defined atSDL3/SDL_gpu.h 656:5
pattern SDL_GPU_STOREOP_RESOLVE :: SDL_GPUStoreOp Source #
The multisample contents generated during the render pass will be resolved to a non-multisample texture. The contents in the multisample texture may then be discarded and will be undefined.
- C declaration
SDL_GPU_STOREOP_RESOLVE, defined atSDL3/SDL_gpu.h 657:5
pattern SDL_GPU_STOREOP_RESOLVE_AND_STORE :: SDL_GPUStoreOp Source #
The multisample contents generated during the render pass will be resolved to a non-multisample texture. The contents in the multisample texture will be written to memory.
- C declaration
SDL_GPU_STOREOP_RESOLVE_AND_STORE, defined atSDL3/SDL_gpu.h 658:5
newtype SDL_GPUIndexElementSize Source #
Specifies the size of elements in an index buffer.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUIndexElementSize, defined atSDL3/SDL_gpu.h 668:14
Since: 3.2.0
Constructors
| SDL_GPUIndexElementSize | |
Instances
| Storable SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUIndexElementSize -> Int # alignment :: SDL_GPUIndexElementSize -> Int # peekElemOff :: Ptr SDL_GPUIndexElementSize -> Int -> IO SDL_GPUIndexElementSize # pokeElemOff :: Ptr SDL_GPUIndexElementSize -> Int -> SDL_GPUIndexElementSize -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUIndexElementSize # pokeByteOff :: Ptr b -> Int -> SDL_GPUIndexElementSize -> IO () # peek :: Ptr SDL_GPUIndexElementSize -> IO SDL_GPUIndexElementSize # poke :: Ptr SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> IO () # | |||||
| Generic SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUIndexElementSize -> Rep SDL_GPUIndexElementSize x # to :: Rep SDL_GPUIndexElementSize x -> SDL_GPUIndexElementSize # | |||||
| Read SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Show SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUIndexElementSize -> ShowS # show :: SDL_GPUIndexElementSize -> String # showList :: [SDL_GPUIndexElementSize] -> ShowS # | |||||
| Eq SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> Bool # (/=) :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> Bool # | |||||
| Ord SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> Ordering # (<) :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> Bool # (<=) :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> Bool # (>) :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> Bool # (>=) :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> Bool # max :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize # min :: SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize # | |||||
| Prim SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUIndexElementSize -> Int# # sizeOf# :: SDL_GPUIndexElementSize -> Int# # alignmentOfType# :: Proxy SDL_GPUIndexElementSize -> Int# # alignment# :: SDL_GPUIndexElementSize -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUIndexElementSize # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUIndexElementSize #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUIndexElementSize -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUIndexElementSize -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUIndexElementSize # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUIndexElementSize #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUIndexElementSize -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUIndexElementSize -> State# s -> State# s # | |||||
| CEnum SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize # fromCEnum :: SDL_GPUIndexElementSize -> CEnumZ SDL_GPUIndexElementSize # declaredValues :: proxy SDL_GPUIndexElementSize -> DeclaredValues SDL_GPUIndexElementSize # showsUndeclared :: proxy SDL_GPUIndexElementSize -> Int -> CEnumZ SDL_GPUIndexElementSize -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUIndexElementSize # isDeclared :: SDL_GPUIndexElementSize -> Bool # mkDeclared :: CEnumZ SDL_GPUIndexElementSize -> Maybe SDL_GPUIndexElementSize # | |||||
| SequentialCEnum SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUIndexElementSize -> IO SDL_GPUIndexElementSize # | |||||
| StaticSize SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUIndexElementSize -> SDL_GPUIndexElementSize -> IO () # | |||||
| HasCField SDL_GPUIndexElementSize "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUIndexElementSize ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndexElementSize -> (ty -> SDL_GPUIndexElementSize, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUIndexElementSize) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndexElementSize -> Ptr ty # | |||||
| type Rep SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUIndexElementSize = D1 ('MetaData "SDL_GPUIndexElementSize" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUIndexElementSize" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUIndexElementSize Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndexElementSize "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_INDEXELEMENTSIZE_16BIT :: SDL_GPUIndexElementSize Source #
The index elements are 16-bit.
- C declaration
SDL_GPU_INDEXELEMENTSIZE_16BIT, defined atSDL3/SDL_gpu.h 670:5
pattern SDL_GPU_INDEXELEMENTSIZE_32BIT :: SDL_GPUIndexElementSize Source #
The index elements are 32-bit.
- C declaration
SDL_GPU_INDEXELEMENTSIZE_32BIT, defined atSDL3/SDL_gpu.h 671:5
newtype SDL_GPUTextureFormat Source #
Specifies the pixel format of a texture.
Texture format support varies depending on driver, hardware, and usage flags. In general, you should use SDL_GPUTextureSupportsFormat to query if a format is supported before using it. However, there are a few guaranteed formats.
FIXME: Check universal support for 32-bit component formats FIXME: Check universal support for SIMULTANEOUS_READ_WRITE
For SAMPLER usage, the following formats are universally supported:
- R8G8B8A8_UNORM
- B8G8R8A8_UNORM
- R8_UNORM
- R8_SNORM
- R8G8_UNORM
- R8G8_SNORM
- R8G8B8A8_SNORM
- R16_FLOAT
- R16G16_FLOAT
- R16G16B16A16_FLOAT
- R32_FLOAT
- R32G32_FLOAT
- R32G32B32A32_FLOAT
- R11G11B10_UFLOAT
- R8G8B8A8_UNORM_SRGB
- B8G8R8A8_UNORM_SRGB
- D16_UNORM
For COLOR_TARGET usage, the following formats are universally supported:
- R8G8B8A8_UNORM
- B8G8R8A8_UNORM
- R8_UNORM
- R16_FLOAT
- R16G16_FLOAT
- R16G16B16A16_FLOAT
- R32_FLOAT
- R32G32_FLOAT
- R32G32B32A32_FLOAT
- R8_UINT
- R8G8_UINT
- R8G8B8A8_UINT
- R16_UINT
- R16G16_UINT
- R16G16B16A16_UINT
- R8_INT
- R8G8_INT
- R8G8B8A8_INT
- R16_INT
- R16G16_INT
- R16G16B16A16_INT
- R8G8B8A8_UNORM_SRGB
- B8G8R8A8_UNORM_SRGB
For STORAGE usages, the following formats are universally supported:
- R8G8B8A8_UNORM
- R8G8B8A8_SNORM
- R16G16B16A16_FLOAT
- R32_FLOAT
- R32G32_FLOAT
- R32G32B32A32_FLOAT
- R8G8B8A8_UINT
- R16G16B16A16_UINT
- R8G8B8A8_INT
- R16G16B16A16_INT
For DEPTH_STENCIL_TARGET usage, the following formats are universally supported:
- D16_UNORM
- Either (but not necessarily both!) D24_UNORM or D32_FLOAT
- Either (but not necessarily both!) D24_UNORM_S8_UINT or D32_FLOAT_S8_UINT
Unless D16_UNORM is sufficient for your purposes, always check which of D24/D32 is supported before creating a depth-stencil texture!
- See also
sDL_CreateGPUTexture,sDL_GPUTextureSupportsFormat- C declaration
enum SDL_GPUTextureFormat, defined atSDL3/SDL_gpu.h 759:14
Since: 3.2.0
Constructors
| SDL_GPUTextureFormat | |
Instances
| Storable SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTextureFormat -> Int # alignment :: SDL_GPUTextureFormat -> Int # peekElemOff :: Ptr SDL_GPUTextureFormat -> Int -> IO SDL_GPUTextureFormat # pokeElemOff :: Ptr SDL_GPUTextureFormat -> Int -> SDL_GPUTextureFormat -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTextureFormat # pokeByteOff :: Ptr b -> Int -> SDL_GPUTextureFormat -> IO () # peek :: Ptr SDL_GPUTextureFormat -> IO SDL_GPUTextureFormat # poke :: Ptr SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> IO () # | |||||
| Generic SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUTextureFormat -> Rep SDL_GPUTextureFormat x # to :: Rep SDL_GPUTextureFormat x -> SDL_GPUTextureFormat # | |||||
| Read SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUTextureFormat # readList :: ReadS [SDL_GPUTextureFormat] # | |||||
| Show SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTextureFormat -> ShowS # show :: SDL_GPUTextureFormat -> String # showList :: [SDL_GPUTextureFormat] -> ShowS # | |||||
| Eq SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> Bool # (/=) :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> Bool # | |||||
| Ord SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> Ordering # (<) :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> Bool # (<=) :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> Bool # (>) :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> Bool # (>=) :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> Bool # max :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> SDL_GPUTextureFormat # min :: SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> SDL_GPUTextureFormat # | |||||
| Prim SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUTextureFormat -> Int# # sizeOf# :: SDL_GPUTextureFormat -> Int# # alignmentOfType# :: Proxy SDL_GPUTextureFormat -> Int# # alignment# :: SDL_GPUTextureFormat -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUTextureFormat # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUTextureFormat #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUTextureFormat -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUTextureFormat -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUTextureFormat # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUTextureFormat #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUTextureFormat -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUTextureFormat -> State# s -> State# s # | |||||
| CEnum SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUTextureFormat -> SDL_GPUTextureFormat # fromCEnum :: SDL_GPUTextureFormat -> CEnumZ SDL_GPUTextureFormat # declaredValues :: proxy SDL_GPUTextureFormat -> DeclaredValues SDL_GPUTextureFormat # showsUndeclared :: proxy SDL_GPUTextureFormat -> Int -> CEnumZ SDL_GPUTextureFormat -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUTextureFormat # isDeclared :: SDL_GPUTextureFormat -> Bool # mkDeclared :: CEnumZ SDL_GPUTextureFormat -> Maybe SDL_GPUTextureFormat # | |||||
| SequentialCEnum SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTextureFormat -> IO SDL_GPUTextureFormat # | |||||
| StaticSize SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTextureFormat -> SDL_GPUTextureFormat -> IO () # | |||||
| HasCField SDL_GPUTextureFormat "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUTextureFormat ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureFormat -> (ty -> SDL_GPUTextureFormat, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUTextureFormat) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureFormat -> Ptr ty # | |||||
| type Rep SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTextureFormat = D1 ('MetaData "SDL_GPUTextureFormat" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUTextureFormat" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUTextureFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureFormat "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_TEXTUREFORMAT_INVALID :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_INVALID, defined atSDL3/SDL_gpu.h 761:5
pattern SDL_GPU_TEXTUREFORMAT_A8_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_A8_UNORM, defined atSDL3/SDL_gpu.h 764:5
pattern SDL_GPU_TEXTUREFORMAT_R8_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8_UNORM, defined atSDL3/SDL_gpu.h 765:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8_UNORM, defined atSDL3/SDL_gpu.h 766:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UNORM, defined atSDL3/SDL_gpu.h 767:5
pattern SDL_GPU_TEXTUREFORMAT_R16_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16_UNORM, defined atSDL3/SDL_gpu.h 768:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16_UNORM, defined atSDL3/SDL_gpu.h 769:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16B16A16_UNORM, defined atSDL3/SDL_gpu.h 770:5
pattern SDL_GPU_TEXTUREFORMAT_R10G10B10A2_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R10G10B10A2_UNORM, defined atSDL3/SDL_gpu.h 771:5
pattern SDL_GPU_TEXTUREFORMAT_B5G6R5_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_B5G6R5_UNORM, defined atSDL3/SDL_gpu.h 772:5
pattern SDL_GPU_TEXTUREFORMAT_B5G5R5A1_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_B5G5R5A1_UNORM, defined atSDL3/SDL_gpu.h 773:5
pattern SDL_GPU_TEXTUREFORMAT_B4G4R4A4_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_B4G4R4A4_UNORM, defined atSDL3/SDL_gpu.h 774:5
pattern SDL_GPU_TEXTUREFORMAT_B8G8R8A8_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_B8G8R8A8_UNORM, defined atSDL3/SDL_gpu.h 775:5
pattern SDL_GPU_TEXTUREFORMAT_BC1_RGBA_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC1_RGBA_UNORM, defined atSDL3/SDL_gpu.h 777:5
pattern SDL_GPU_TEXTUREFORMAT_BC2_RGBA_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC2_RGBA_UNORM, defined atSDL3/SDL_gpu.h 778:5
pattern SDL_GPU_TEXTUREFORMAT_BC3_RGBA_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC3_RGBA_UNORM, defined atSDL3/SDL_gpu.h 779:5
pattern SDL_GPU_TEXTUREFORMAT_BC4_R_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC4_R_UNORM, defined atSDL3/SDL_gpu.h 780:5
pattern SDL_GPU_TEXTUREFORMAT_BC5_RG_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC5_RG_UNORM, defined atSDL3/SDL_gpu.h 781:5
pattern SDL_GPU_TEXTUREFORMAT_BC7_RGBA_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC7_RGBA_UNORM, defined atSDL3/SDL_gpu.h 782:5
pattern SDL_GPU_TEXTUREFORMAT_BC6H_RGB_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC6H_RGB_FLOAT, defined atSDL3/SDL_gpu.h 784:5
pattern SDL_GPU_TEXTUREFORMAT_BC6H_RGB_UFLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC6H_RGB_UFLOAT, defined atSDL3/SDL_gpu.h 786:5
pattern SDL_GPU_TEXTUREFORMAT_R8_SNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8_SNORM, defined atSDL3/SDL_gpu.h 788:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8_SNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8_SNORM, defined atSDL3/SDL_gpu.h 789:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_SNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8B8A8_SNORM, defined atSDL3/SDL_gpu.h 790:5
pattern SDL_GPU_TEXTUREFORMAT_R16_SNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16_SNORM, defined atSDL3/SDL_gpu.h 791:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16_SNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16_SNORM, defined atSDL3/SDL_gpu.h 792:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_SNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16B16A16_SNORM, defined atSDL3/SDL_gpu.h 793:5
pattern SDL_GPU_TEXTUREFORMAT_R16_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16_FLOAT, defined atSDL3/SDL_gpu.h 795:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16_FLOAT, defined atSDL3/SDL_gpu.h 796:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16B16A16_FLOAT, defined atSDL3/SDL_gpu.h 797:5
pattern SDL_GPU_TEXTUREFORMAT_R32_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32_FLOAT, defined atSDL3/SDL_gpu.h 798:5
pattern SDL_GPU_TEXTUREFORMAT_R32G32_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32G32_FLOAT, defined atSDL3/SDL_gpu.h 799:5
pattern SDL_GPU_TEXTUREFORMAT_R32G32B32A32_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32G32B32A32_FLOAT, defined atSDL3/SDL_gpu.h 800:5
pattern SDL_GPU_TEXTUREFORMAT_R11G11B10_UFLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R11G11B10_UFLOAT, defined atSDL3/SDL_gpu.h 802:5
pattern SDL_GPU_TEXTUREFORMAT_R8_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8_UINT, defined atSDL3/SDL_gpu.h 804:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8_UINT, defined atSDL3/SDL_gpu.h 805:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UINT, defined atSDL3/SDL_gpu.h 806:5
pattern SDL_GPU_TEXTUREFORMAT_R16_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16_UINT, defined atSDL3/SDL_gpu.h 807:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16_UINT, defined atSDL3/SDL_gpu.h 808:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16B16A16_UINT, defined atSDL3/SDL_gpu.h 809:5
pattern SDL_GPU_TEXTUREFORMAT_R32_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32_UINT, defined atSDL3/SDL_gpu.h 810:5
pattern SDL_GPU_TEXTUREFORMAT_R32G32_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32G32_UINT, defined atSDL3/SDL_gpu.h 811:5
pattern SDL_GPU_TEXTUREFORMAT_R32G32B32A32_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32G32B32A32_UINT, defined atSDL3/SDL_gpu.h 812:5
pattern SDL_GPU_TEXTUREFORMAT_R8_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8_INT, defined atSDL3/SDL_gpu.h 814:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8_INT, defined atSDL3/SDL_gpu.h 815:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8B8A8_INT, defined atSDL3/SDL_gpu.h 816:5
pattern SDL_GPU_TEXTUREFORMAT_R16_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16_INT, defined atSDL3/SDL_gpu.h 817:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16_INT, defined atSDL3/SDL_gpu.h 818:5
pattern SDL_GPU_TEXTUREFORMAT_R16G16B16A16_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R16G16B16A16_INT, defined atSDL3/SDL_gpu.h 819:5
pattern SDL_GPU_TEXTUREFORMAT_R32_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32_INT, defined atSDL3/SDL_gpu.h 820:5
pattern SDL_GPU_TEXTUREFORMAT_R32G32_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32G32_INT, defined atSDL3/SDL_gpu.h 821:5
pattern SDL_GPU_TEXTUREFORMAT_R32G32B32A32_INT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R32G32B32A32_INT, defined atSDL3/SDL_gpu.h 822:5
pattern SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_R8G8B8A8_UNORM_SRGB, defined atSDL3/SDL_gpu.h 824:5
pattern SDL_GPU_TEXTUREFORMAT_B8G8R8A8_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_B8G8R8A8_UNORM_SRGB, defined atSDL3/SDL_gpu.h 825:5
pattern SDL_GPU_TEXTUREFORMAT_BC1_RGBA_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC1_RGBA_UNORM_SRGB, defined atSDL3/SDL_gpu.h 827:5
pattern SDL_GPU_TEXTUREFORMAT_BC2_RGBA_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC2_RGBA_UNORM_SRGB, defined atSDL3/SDL_gpu.h 828:5
pattern SDL_GPU_TEXTUREFORMAT_BC3_RGBA_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC3_RGBA_UNORM_SRGB, defined atSDL3/SDL_gpu.h 829:5
pattern SDL_GPU_TEXTUREFORMAT_BC7_RGBA_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_BC7_RGBA_UNORM_SRGB, defined atSDL3/SDL_gpu.h 830:5
pattern SDL_GPU_TEXTUREFORMAT_D16_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_D16_UNORM, defined atSDL3/SDL_gpu.h 832:5
pattern SDL_GPU_TEXTUREFORMAT_D24_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_D24_UNORM, defined atSDL3/SDL_gpu.h 833:5
pattern SDL_GPU_TEXTUREFORMAT_D32_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_D32_FLOAT, defined atSDL3/SDL_gpu.h 834:5
pattern SDL_GPU_TEXTUREFORMAT_D24_UNORM_S8_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_D24_UNORM_S8_UINT, defined atSDL3/SDL_gpu.h 835:5
pattern SDL_GPU_TEXTUREFORMAT_D32_FLOAT_S8_UINT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_D32_FLOAT_S8_UINT, defined atSDL3/SDL_gpu.h 836:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_4x4_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_4x4_UNORM, defined atSDL3/SDL_gpu.h 838:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x4_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_5x4_UNORM, defined atSDL3/SDL_gpu.h 839:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x5_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_5x5_UNORM, defined atSDL3/SDL_gpu.h 840:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x5_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_6x5_UNORM, defined atSDL3/SDL_gpu.h 841:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x6_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_6x6_UNORM, defined atSDL3/SDL_gpu.h 842:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x5_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x5_UNORM, defined atSDL3/SDL_gpu.h 843:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x6_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x6_UNORM, defined atSDL3/SDL_gpu.h 844:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x8_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x8_UNORM, defined atSDL3/SDL_gpu.h 845:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x5_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x5_UNORM, defined atSDL3/SDL_gpu.h 846:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x6_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x6_UNORM, defined atSDL3/SDL_gpu.h 847:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x8_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x8_UNORM, defined atSDL3/SDL_gpu.h 848:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x10_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x10_UNORM, defined atSDL3/SDL_gpu.h 849:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x10_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_12x10_UNORM, defined atSDL3/SDL_gpu.h 850:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x12_UNORM :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_12x12_UNORM, defined atSDL3/SDL_gpu.h 851:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_4x4_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_4x4_UNORM_SRGB, defined atSDL3/SDL_gpu.h 853:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x4_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_5x4_UNORM_SRGB, defined atSDL3/SDL_gpu.h 854:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x5_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_5x5_UNORM_SRGB, defined atSDL3/SDL_gpu.h 855:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x5_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_6x5_UNORM_SRGB, defined atSDL3/SDL_gpu.h 856:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x6_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_6x6_UNORM_SRGB, defined atSDL3/SDL_gpu.h 857:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x5_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x5_UNORM_SRGB, defined atSDL3/SDL_gpu.h 858:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x6_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x6_UNORM_SRGB, defined atSDL3/SDL_gpu.h 859:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x8_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x8_UNORM_SRGB, defined atSDL3/SDL_gpu.h 860:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x5_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x5_UNORM_SRGB, defined atSDL3/SDL_gpu.h 861:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x6_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x6_UNORM_SRGB, defined atSDL3/SDL_gpu.h 862:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x8_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x8_UNORM_SRGB, defined atSDL3/SDL_gpu.h 863:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x10_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x10_UNORM_SRGB, defined atSDL3/SDL_gpu.h 864:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x10_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_12x10_UNORM_SRGB, defined atSDL3/SDL_gpu.h 865:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x12_UNORM_SRGB :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_12x12_UNORM_SRGB, defined atSDL3/SDL_gpu.h 866:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_4x4_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_4x4_FLOAT, defined atSDL3/SDL_gpu.h 868:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x4_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_5x4_FLOAT, defined atSDL3/SDL_gpu.h 869:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_5x5_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_5x5_FLOAT, defined atSDL3/SDL_gpu.h 870:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x5_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_6x5_FLOAT, defined atSDL3/SDL_gpu.h 871:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_6x6_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_6x6_FLOAT, defined atSDL3/SDL_gpu.h 872:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x5_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x5_FLOAT, defined atSDL3/SDL_gpu.h 873:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x6_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x6_FLOAT, defined atSDL3/SDL_gpu.h 874:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_8x8_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_8x8_FLOAT, defined atSDL3/SDL_gpu.h 875:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x5_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x5_FLOAT, defined atSDL3/SDL_gpu.h 876:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x6_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x6_FLOAT, defined atSDL3/SDL_gpu.h 877:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x8_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x8_FLOAT, defined atSDL3/SDL_gpu.h 878:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_10x10_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_10x10_FLOAT, defined atSDL3/SDL_gpu.h 879:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x10_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_12x10_FLOAT, defined atSDL3/SDL_gpu.h 880:5
pattern SDL_GPU_TEXTUREFORMAT_ASTC_12x12_FLOAT :: SDL_GPUTextureFormat Source #
- C declaration
SDL_GPU_TEXTUREFORMAT_ASTC_12x12_FLOAT, defined atSDL3/SDL_gpu.h 881:5
newtype SDL_GPUTextureUsageFlags Source #
Specifies how a texture is intended to be used by the client.
A texture must have at least one usage flag. Note that combining SAMPLER with STORAGE_READ flags is invalid.
With regards to compute storage usage, READ | WRITE means that you can have shader A that only writes into the texture and shader B that only reads from the texture and bind the same texture to either shader respectively. SIMULTANEOUS means that you can do reads and writes within the same shader or compute pass. It also implies that atomic ops can be used, since those are read-modify-write operations. If you use SIMULTANEOUS, you are responsible for avoiding data races, as there is no data synchronization within a compute pass. Note that SIMULTANEOUS usage is only supported by a limited number of texture formats.
- See also
sDL_CreateGPUTexture- C declaration
SDL_GPUTextureUsageFlags, defined atSDL3/SDL_gpu.h 904:16
Since: 3.2.0
Constructors
| SDL_GPUTextureUsageFlags | |
Instances
| Bits SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (.&.) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # (.|.) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # xor :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # complement :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # shift :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # rotate :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # zeroBits :: SDL_GPUTextureUsageFlags # bit :: Int -> SDL_GPUTextureUsageFlags # setBit :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # clearBit :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # complementBit :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # testBit :: SDL_GPUTextureUsageFlags -> Int -> Bool # bitSizeMaybe :: SDL_GPUTextureUsageFlags -> Maybe Int # bitSize :: SDL_GPUTextureUsageFlags -> Int # isSigned :: SDL_GPUTextureUsageFlags -> Bool # shiftL :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # unsafeShiftL :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # shiftR :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # unsafeShiftR :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # rotateL :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # rotateR :: SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags # popCount :: SDL_GPUTextureUsageFlags -> Int # | |||||
| FiniteBits SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods finiteBitSize :: SDL_GPUTextureUsageFlags -> Int # | |||||
| Bounded SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Enum SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods succ :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # pred :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # toEnum :: Int -> SDL_GPUTextureUsageFlags # fromEnum :: SDL_GPUTextureUsageFlags -> Int # enumFrom :: SDL_GPUTextureUsageFlags -> [SDL_GPUTextureUsageFlags] # enumFromThen :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> [SDL_GPUTextureUsageFlags] # enumFromTo :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> [SDL_GPUTextureUsageFlags] # enumFromThenTo :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> [SDL_GPUTextureUsageFlags] # | |||||
| Storable SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTextureUsageFlags -> Int # alignment :: SDL_GPUTextureUsageFlags -> Int # peekElemOff :: Ptr SDL_GPUTextureUsageFlags -> Int -> IO SDL_GPUTextureUsageFlags # pokeElemOff :: Ptr SDL_GPUTextureUsageFlags -> Int -> SDL_GPUTextureUsageFlags -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTextureUsageFlags # pokeByteOff :: Ptr b -> Int -> SDL_GPUTextureUsageFlags -> IO () # peek :: Ptr SDL_GPUTextureUsageFlags -> IO SDL_GPUTextureUsageFlags # poke :: Ptr SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> IO () # | |||||
| Generic SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUTextureUsageFlags -> Rep SDL_GPUTextureUsageFlags x # to :: Rep SDL_GPUTextureUsageFlags x -> SDL_GPUTextureUsageFlags # | |||||
| Ix SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods range :: (SDL_GPUTextureUsageFlags, SDL_GPUTextureUsageFlags) -> [SDL_GPUTextureUsageFlags] # index :: (SDL_GPUTextureUsageFlags, SDL_GPUTextureUsageFlags) -> SDL_GPUTextureUsageFlags -> Int # unsafeIndex :: (SDL_GPUTextureUsageFlags, SDL_GPUTextureUsageFlags) -> SDL_GPUTextureUsageFlags -> Int # inRange :: (SDL_GPUTextureUsageFlags, SDL_GPUTextureUsageFlags) -> SDL_GPUTextureUsageFlags -> Bool # rangeSize :: (SDL_GPUTextureUsageFlags, SDL_GPUTextureUsageFlags) -> Int # unsafeRangeSize :: (SDL_GPUTextureUsageFlags, SDL_GPUTextureUsageFlags) -> Int # | |||||
| Num SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (+) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # (-) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # (*) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # negate :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # abs :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # signum :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # | |||||
| Read SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Integral SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods quot :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # rem :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # div :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # mod :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # quotRem :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> (SDL_GPUTextureUsageFlags, SDL_GPUTextureUsageFlags) # divMod :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> (SDL_GPUTextureUsageFlags, SDL_GPUTextureUsageFlags) # | |||||
| Real SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| Show SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTextureUsageFlags -> ShowS # show :: SDL_GPUTextureUsageFlags -> String # showList :: [SDL_GPUTextureUsageFlags] -> ShowS # | |||||
| Eq SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> Bool # (/=) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> Bool # | |||||
| Ord SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> Ordering # (<) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> Bool # (<=) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> Bool # (>) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> Bool # (>=) :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> Bool # max :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # min :: SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags # | |||||
| Prim SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUTextureUsageFlags -> Int# # sizeOf# :: SDL_GPUTextureUsageFlags -> Int# # alignmentOfType# :: Proxy SDL_GPUTextureUsageFlags -> Int# # alignment# :: SDL_GPUTextureUsageFlags -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUTextureUsageFlags # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUTextureUsageFlags #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUTextureUsageFlags -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUTextureUsageFlags -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUTextureUsageFlags # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUTextureUsageFlags #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUTextureUsageFlags -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUTextureUsageFlags -> State# s -> State# s # | |||||
| HasFFIType SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTextureUsageFlags -> IO SDL_GPUTextureUsageFlags # | |||||
| StaticSize SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTextureUsageFlags -> SDL_GPUTextureUsageFlags -> IO () # | |||||
| Bitfield SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods narrow :: SDL_GPUTextureUsageFlags -> Int -> Word64 # extend :: Word64 -> Int -> SDL_GPUTextureUsageFlags # | |||||
| HasCField SDL_GPUTextureUsageFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_GPUTextureUsageFlags ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureUsageFlags -> (ty -> SDL_GPUTextureUsageFlags, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_GPUTextureUsageFlags) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureUsageFlags -> Ptr ty # | |||||
| type Rep SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTextureUsageFlags = D1 ('MetaData "SDL_GPUTextureUsageFlags" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUTextureUsageFlags" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_GPUTextureUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureUsageFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
sDL_GPU_TEXTUREUSAGE_SAMPLER :: CUInt Source #
Texture supports sampling.
- C declaration
macro SDL_GPU_TEXTUREUSAGE_SAMPLER, defined atSDL3/SDL_gpu.h 906:9
sDL_GPU_TEXTUREUSAGE_COLOR_TARGET :: CUInt Source #
Texture is a color render target.
- C declaration
macro SDL_GPU_TEXTUREUSAGE_COLOR_TARGET, defined atSDL3/SDL_gpu.h 907:9
sDL_GPU_TEXTUREUSAGE_DEPTH_STENCIL_TARGET :: CUInt Source #
Texture is a depth stencil target.
- C declaration
macro SDL_GPU_TEXTUREUSAGE_DEPTH_STENCIL_TARGET, defined atSDL3/SDL_gpu.h 908:9
sDL_GPU_TEXTUREUSAGE_GRAPHICS_STORAGE_READ :: CUInt Source #
Texture supports storage reads in graphics stages.
- C declaration
macro SDL_GPU_TEXTUREUSAGE_GRAPHICS_STORAGE_READ, defined atSDL3/SDL_gpu.h 909:9
sDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_READ :: CUInt Source #
Texture supports storage reads in the compute stage.
- C declaration
macro SDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_READ, defined atSDL3/SDL_gpu.h 910:9
sDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_WRITE :: CUInt Source #
Texture supports storage writes in the compute stage.
- C declaration
macro SDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_WRITE, defined atSDL3/SDL_gpu.h 911:9
sDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE :: CUInt Source #
Texture supports reads and writes in the same compute shader. This is NOT equivalent to READ | WRITE.
- C declaration
macro SDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE, defined atSDL3/SDL_gpu.h 912:9
newtype SDL_GPUTextureType Source #
Specifies the type of a texture.
- See also
sDL_CreateGPUTexture- C declaration
enum SDL_GPUTextureType, defined atSDL3/SDL_gpu.h 921:14
Since: 3.2.0
Constructors
| SDL_GPUTextureType | |
Instances
| Storable SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTextureType -> Int # alignment :: SDL_GPUTextureType -> Int # peekElemOff :: Ptr SDL_GPUTextureType -> Int -> IO SDL_GPUTextureType # pokeElemOff :: Ptr SDL_GPUTextureType -> Int -> SDL_GPUTextureType -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTextureType # pokeByteOff :: Ptr b -> Int -> SDL_GPUTextureType -> IO () # peek :: Ptr SDL_GPUTextureType -> IO SDL_GPUTextureType # poke :: Ptr SDL_GPUTextureType -> SDL_GPUTextureType -> IO () # | |||||
| Generic SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUTextureType -> Rep SDL_GPUTextureType x # to :: Rep SDL_GPUTextureType x -> SDL_GPUTextureType # | |||||
| Read SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUTextureType # readList :: ReadS [SDL_GPUTextureType] # | |||||
| Show SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTextureType -> ShowS # show :: SDL_GPUTextureType -> String # showList :: [SDL_GPUTextureType] -> ShowS # | |||||
| Eq SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTextureType -> SDL_GPUTextureType -> Bool # (/=) :: SDL_GPUTextureType -> SDL_GPUTextureType -> Bool # | |||||
| Ord SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUTextureType -> SDL_GPUTextureType -> Ordering # (<) :: SDL_GPUTextureType -> SDL_GPUTextureType -> Bool # (<=) :: SDL_GPUTextureType -> SDL_GPUTextureType -> Bool # (>) :: SDL_GPUTextureType -> SDL_GPUTextureType -> Bool # (>=) :: SDL_GPUTextureType -> SDL_GPUTextureType -> Bool # max :: SDL_GPUTextureType -> SDL_GPUTextureType -> SDL_GPUTextureType # min :: SDL_GPUTextureType -> SDL_GPUTextureType -> SDL_GPUTextureType # | |||||
| Prim SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUTextureType -> Int# # sizeOf# :: SDL_GPUTextureType -> Int# # alignmentOfType# :: Proxy SDL_GPUTextureType -> Int# # alignment# :: SDL_GPUTextureType -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUTextureType # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUTextureType #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUTextureType -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUTextureType -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUTextureType # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUTextureType #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUTextureType -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUTextureType -> State# s -> State# s # | |||||
| CEnum SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUTextureType -> SDL_GPUTextureType # fromCEnum :: SDL_GPUTextureType -> CEnumZ SDL_GPUTextureType # declaredValues :: proxy SDL_GPUTextureType -> DeclaredValues SDL_GPUTextureType # showsUndeclared :: proxy SDL_GPUTextureType -> Int -> CEnumZ SDL_GPUTextureType -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUTextureType # isDeclared :: SDL_GPUTextureType -> Bool # mkDeclared :: CEnumZ SDL_GPUTextureType -> Maybe SDL_GPUTextureType # | |||||
| SequentialCEnum SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUTextureType -> FFIType SDL_GPUTextureType # fromFFIType :: FFIType SDL_GPUTextureType -> SDL_GPUTextureType # | |||||
| ReadRaw SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTextureType -> IO SDL_GPUTextureType # | |||||
| StaticSize SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUTextureType -> Int # | |||||
| WriteRaw SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTextureType -> SDL_GPUTextureType -> IO () # | |||||
| HasCField SDL_GPUTextureType "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUTextureType ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureType -> (ty -> SDL_GPUTextureType, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUTextureType) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureType -> Ptr ty # | |||||
| type Rep SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTextureType = D1 ('MetaData "SDL_GPUTextureType" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUTextureType" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUTextureType Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureType "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_TEXTURETYPE_2D :: SDL_GPUTextureType Source #
The texture is a 2-dimensional image.
- C declaration
SDL_GPU_TEXTURETYPE_2D, defined atSDL3/SDL_gpu.h 923:5
pattern SDL_GPU_TEXTURETYPE_2D_ARRAY :: SDL_GPUTextureType Source #
The texture is a 2-dimensional array image.
- C declaration
SDL_GPU_TEXTURETYPE_2D_ARRAY, defined atSDL3/SDL_gpu.h 924:5
pattern SDL_GPU_TEXTURETYPE_3D :: SDL_GPUTextureType Source #
The texture is a 3-dimensional image.
- C declaration
SDL_GPU_TEXTURETYPE_3D, defined atSDL3/SDL_gpu.h 925:5
pattern SDL_GPU_TEXTURETYPE_CUBE :: SDL_GPUTextureType Source #
The texture is a cube image.
- C declaration
SDL_GPU_TEXTURETYPE_CUBE, defined atSDL3/SDL_gpu.h 926:5
pattern SDL_GPU_TEXTURETYPE_CUBE_ARRAY :: SDL_GPUTextureType Source #
The texture is a cube array image.
- C declaration
SDL_GPU_TEXTURETYPE_CUBE_ARRAY, defined atSDL3/SDL_gpu.h 927:5
newtype SDL_GPUSampleCount Source #
Specifies the sample count of a texture.
Used in multisampling. Note that this value only applies when the texture is used as a render target.
- See also
sDL_CreateGPUTexture,sDL_GPUTextureSupportsSampleCount- C declaration
enum SDL_GPUSampleCount, defined atSDL3/SDL_gpu.h 941:14
Since: 3.2.0
Constructors
| SDL_GPUSampleCount | |
Instances
| Storable SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUSampleCount -> Int # alignment :: SDL_GPUSampleCount -> Int # peekElemOff :: Ptr SDL_GPUSampleCount -> Int -> IO SDL_GPUSampleCount # pokeElemOff :: Ptr SDL_GPUSampleCount -> Int -> SDL_GPUSampleCount -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUSampleCount # pokeByteOff :: Ptr b -> Int -> SDL_GPUSampleCount -> IO () # peek :: Ptr SDL_GPUSampleCount -> IO SDL_GPUSampleCount # poke :: Ptr SDL_GPUSampleCount -> SDL_GPUSampleCount -> IO () # | |||||
| Generic SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUSampleCount -> Rep SDL_GPUSampleCount x # to :: Rep SDL_GPUSampleCount x -> SDL_GPUSampleCount # | |||||
| Read SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUSampleCount # readList :: ReadS [SDL_GPUSampleCount] # | |||||
| Show SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUSampleCount -> ShowS # show :: SDL_GPUSampleCount -> String # showList :: [SDL_GPUSampleCount] -> ShowS # | |||||
| Eq SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> Bool # (/=) :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> Bool # | |||||
| Ord SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> Ordering # (<) :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> Bool # (<=) :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> Bool # (>) :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> Bool # (>=) :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> Bool # max :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> SDL_GPUSampleCount # min :: SDL_GPUSampleCount -> SDL_GPUSampleCount -> SDL_GPUSampleCount # | |||||
| Prim SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUSampleCount -> Int# # sizeOf# :: SDL_GPUSampleCount -> Int# # alignmentOfType# :: Proxy SDL_GPUSampleCount -> Int# # alignment# :: SDL_GPUSampleCount -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUSampleCount # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUSampleCount #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUSampleCount -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUSampleCount -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUSampleCount # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUSampleCount #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUSampleCount -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUSampleCount -> State# s -> State# s # | |||||
| CEnum SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUSampleCount -> SDL_GPUSampleCount # fromCEnum :: SDL_GPUSampleCount -> CEnumZ SDL_GPUSampleCount # declaredValues :: proxy SDL_GPUSampleCount -> DeclaredValues SDL_GPUSampleCount # showsUndeclared :: proxy SDL_GPUSampleCount -> Int -> CEnumZ SDL_GPUSampleCount -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUSampleCount # isDeclared :: SDL_GPUSampleCount -> Bool # mkDeclared :: CEnumZ SDL_GPUSampleCount -> Maybe SDL_GPUSampleCount # | |||||
| SequentialCEnum SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUSampleCount -> FFIType SDL_GPUSampleCount # fromFFIType :: FFIType SDL_GPUSampleCount -> SDL_GPUSampleCount # | |||||
| ReadRaw SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUSampleCount -> IO SDL_GPUSampleCount # | |||||
| StaticSize SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUSampleCount -> Int # | |||||
| WriteRaw SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUSampleCount -> SDL_GPUSampleCount -> IO () # | |||||
| HasCField SDL_GPUSampleCount "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUSampleCount ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSampleCount -> (ty -> SDL_GPUSampleCount, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUSampleCount) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSampleCount -> Ptr ty # | |||||
| type Rep SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUSampleCount = D1 ('MetaData "SDL_GPUSampleCount" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUSampleCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUSampleCount Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSampleCount "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_SAMPLECOUNT_1 :: SDL_GPUSampleCount Source #
No multisampling.
- C declaration
SDL_GPU_SAMPLECOUNT_1, defined atSDL3/SDL_gpu.h 943:5
pattern SDL_GPU_SAMPLECOUNT_2 :: SDL_GPUSampleCount Source #
MSAA 2x
- C declaration
SDL_GPU_SAMPLECOUNT_2, defined atSDL3/SDL_gpu.h 944:5
pattern SDL_GPU_SAMPLECOUNT_4 :: SDL_GPUSampleCount Source #
MSAA 4x
- C declaration
SDL_GPU_SAMPLECOUNT_4, defined atSDL3/SDL_gpu.h 945:5
pattern SDL_GPU_SAMPLECOUNT_8 :: SDL_GPUSampleCount Source #
MSAA 8x
- C declaration
SDL_GPU_SAMPLECOUNT_8, defined atSDL3/SDL_gpu.h 946:5
newtype SDL_GPUCubeMapFace Source #
Specifies the face of a cube map.
Can be passed in as the layer field in texture-related structs.
- C declaration
enum SDL_GPUCubeMapFace, defined atSDL3/SDL_gpu.h 957:14
Since: 3.2.0
Constructors
| SDL_GPUCubeMapFace | |
Instances
| Storable SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUCubeMapFace -> Int # alignment :: SDL_GPUCubeMapFace -> Int # peekElemOff :: Ptr SDL_GPUCubeMapFace -> Int -> IO SDL_GPUCubeMapFace # pokeElemOff :: Ptr SDL_GPUCubeMapFace -> Int -> SDL_GPUCubeMapFace -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUCubeMapFace # pokeByteOff :: Ptr b -> Int -> SDL_GPUCubeMapFace -> IO () # peek :: Ptr SDL_GPUCubeMapFace -> IO SDL_GPUCubeMapFace # poke :: Ptr SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> IO () # | |||||
| Generic SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUCubeMapFace -> Rep SDL_GPUCubeMapFace x # to :: Rep SDL_GPUCubeMapFace x -> SDL_GPUCubeMapFace # | |||||
| Read SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUCubeMapFace # readList :: ReadS [SDL_GPUCubeMapFace] # | |||||
| Show SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUCubeMapFace -> ShowS # show :: SDL_GPUCubeMapFace -> String # showList :: [SDL_GPUCubeMapFace] -> ShowS # | |||||
| Eq SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> Bool # (/=) :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> Bool # | |||||
| Ord SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> Ordering # (<) :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> Bool # (<=) :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> Bool # (>) :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> Bool # (>=) :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> Bool # max :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace # min :: SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace # | |||||
| Prim SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUCubeMapFace -> Int# # sizeOf# :: SDL_GPUCubeMapFace -> Int# # alignmentOfType# :: Proxy SDL_GPUCubeMapFace -> Int# # alignment# :: SDL_GPUCubeMapFace -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUCubeMapFace # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUCubeMapFace #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUCubeMapFace -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUCubeMapFace -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUCubeMapFace # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUCubeMapFace #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUCubeMapFace -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUCubeMapFace -> State# s -> State# s # | |||||
| CEnum SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace # fromCEnum :: SDL_GPUCubeMapFace -> CEnumZ SDL_GPUCubeMapFace # declaredValues :: proxy SDL_GPUCubeMapFace -> DeclaredValues SDL_GPUCubeMapFace # showsUndeclared :: proxy SDL_GPUCubeMapFace -> Int -> CEnumZ SDL_GPUCubeMapFace -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUCubeMapFace # isDeclared :: SDL_GPUCubeMapFace -> Bool # mkDeclared :: CEnumZ SDL_GPUCubeMapFace -> Maybe SDL_GPUCubeMapFace # | |||||
| SequentialCEnum SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUCubeMapFace -> FFIType SDL_GPUCubeMapFace # fromFFIType :: FFIType SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace # | |||||
| ReadRaw SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUCubeMapFace -> IO SDL_GPUCubeMapFace # | |||||
| StaticSize SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUCubeMapFace -> Int # | |||||
| WriteRaw SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUCubeMapFace -> SDL_GPUCubeMapFace -> IO () # | |||||
| HasCField SDL_GPUCubeMapFace "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUCubeMapFace ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUCubeMapFace -> (ty -> SDL_GPUCubeMapFace, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUCubeMapFace) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUCubeMapFace -> Ptr ty # | |||||
| type Rep SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUCubeMapFace = D1 ('MetaData "SDL_GPUCubeMapFace" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUCubeMapFace" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUCubeMapFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUCubeMapFace "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_CUBEMAPFACE_POSITIVEX :: SDL_GPUCubeMapFace Source #
- C declaration
SDL_GPU_CUBEMAPFACE_POSITIVEX, defined atSDL3/SDL_gpu.h 959:5
pattern SDL_GPU_CUBEMAPFACE_NEGATIVEX :: SDL_GPUCubeMapFace Source #
- C declaration
SDL_GPU_CUBEMAPFACE_NEGATIVEX, defined atSDL3/SDL_gpu.h 960:5
pattern SDL_GPU_CUBEMAPFACE_POSITIVEY :: SDL_GPUCubeMapFace Source #
- C declaration
SDL_GPU_CUBEMAPFACE_POSITIVEY, defined atSDL3/SDL_gpu.h 961:5
pattern SDL_GPU_CUBEMAPFACE_NEGATIVEY :: SDL_GPUCubeMapFace Source #
- C declaration
SDL_GPU_CUBEMAPFACE_NEGATIVEY, defined atSDL3/SDL_gpu.h 962:5
pattern SDL_GPU_CUBEMAPFACE_POSITIVEZ :: SDL_GPUCubeMapFace Source #
- C declaration
SDL_GPU_CUBEMAPFACE_POSITIVEZ, defined atSDL3/SDL_gpu.h 963:5
pattern SDL_GPU_CUBEMAPFACE_NEGATIVEZ :: SDL_GPUCubeMapFace Source #
- C declaration
SDL_GPU_CUBEMAPFACE_NEGATIVEZ, defined atSDL3/SDL_gpu.h 964:5
newtype SDL_GPUBufferUsageFlags Source #
Specifies how a buffer is intended to be used by the client.
A buffer must have at least one usage flag.
If a buffer has multiple read usages, this may lead to a performance penalty due to more conservative memory barriers, but it also may not necessarily affect the performance.
Unlike textures, READ | WRITE can be used for simultaneous read-write usage. The same data synchronization concerns as textures apply.
If you use a STORAGE flag, the data in the buffer must respect std140 layout conventions. In practical terms this means you must ensure that vec3 and vec4 fields are 16-byte aligned.
- See also
sDL_CreateGPUBuffer- C declaration
SDL_GPUBufferUsageFlags, defined atSDL3/SDL_gpu.h 986:16
Since: 3.2.0
Constructors
| SDL_GPUBufferUsageFlags | |
Instances
| Bits SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (.&.) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # (.|.) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # xor :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # complement :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # shift :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # rotate :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # zeroBits :: SDL_GPUBufferUsageFlags # bit :: Int -> SDL_GPUBufferUsageFlags # setBit :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # clearBit :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # complementBit :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # testBit :: SDL_GPUBufferUsageFlags -> Int -> Bool # bitSizeMaybe :: SDL_GPUBufferUsageFlags -> Maybe Int # bitSize :: SDL_GPUBufferUsageFlags -> Int # isSigned :: SDL_GPUBufferUsageFlags -> Bool # shiftL :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # unsafeShiftL :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # shiftR :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # unsafeShiftR :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # rotateL :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # rotateR :: SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags # popCount :: SDL_GPUBufferUsageFlags -> Int # | |||||
| FiniteBits SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods finiteBitSize :: SDL_GPUBufferUsageFlags -> Int # | |||||
| Bounded SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Enum SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods succ :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # pred :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # toEnum :: Int -> SDL_GPUBufferUsageFlags # fromEnum :: SDL_GPUBufferUsageFlags -> Int # enumFrom :: SDL_GPUBufferUsageFlags -> [SDL_GPUBufferUsageFlags] # enumFromThen :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> [SDL_GPUBufferUsageFlags] # enumFromTo :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> [SDL_GPUBufferUsageFlags] # enumFromThenTo :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> [SDL_GPUBufferUsageFlags] # | |||||
| Storable SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBufferUsageFlags -> Int # alignment :: SDL_GPUBufferUsageFlags -> Int # peekElemOff :: Ptr SDL_GPUBufferUsageFlags -> Int -> IO SDL_GPUBufferUsageFlags # pokeElemOff :: Ptr SDL_GPUBufferUsageFlags -> Int -> SDL_GPUBufferUsageFlags -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBufferUsageFlags # pokeByteOff :: Ptr b -> Int -> SDL_GPUBufferUsageFlags -> IO () # peek :: Ptr SDL_GPUBufferUsageFlags -> IO SDL_GPUBufferUsageFlags # poke :: Ptr SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> IO () # | |||||
| Generic SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBufferUsageFlags -> Rep SDL_GPUBufferUsageFlags x # to :: Rep SDL_GPUBufferUsageFlags x -> SDL_GPUBufferUsageFlags # | |||||
| Ix SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods range :: (SDL_GPUBufferUsageFlags, SDL_GPUBufferUsageFlags) -> [SDL_GPUBufferUsageFlags] # index :: (SDL_GPUBufferUsageFlags, SDL_GPUBufferUsageFlags) -> SDL_GPUBufferUsageFlags -> Int # unsafeIndex :: (SDL_GPUBufferUsageFlags, SDL_GPUBufferUsageFlags) -> SDL_GPUBufferUsageFlags -> Int # inRange :: (SDL_GPUBufferUsageFlags, SDL_GPUBufferUsageFlags) -> SDL_GPUBufferUsageFlags -> Bool # rangeSize :: (SDL_GPUBufferUsageFlags, SDL_GPUBufferUsageFlags) -> Int # unsafeRangeSize :: (SDL_GPUBufferUsageFlags, SDL_GPUBufferUsageFlags) -> Int # | |||||
| Num SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (+) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # (-) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # (*) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # negate :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # abs :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # signum :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # | |||||
| Read SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Integral SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods quot :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # rem :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # div :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # mod :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # quotRem :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> (SDL_GPUBufferUsageFlags, SDL_GPUBufferUsageFlags) # divMod :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> (SDL_GPUBufferUsageFlags, SDL_GPUBufferUsageFlags) # | |||||
| Real SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| Show SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBufferUsageFlags -> ShowS # show :: SDL_GPUBufferUsageFlags -> String # showList :: [SDL_GPUBufferUsageFlags] -> ShowS # | |||||
| Eq SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> Bool # (/=) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> Bool # | |||||
| Ord SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> Ordering # (<) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> Bool # (<=) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> Bool # (>) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> Bool # (>=) :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> Bool # max :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # min :: SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags # | |||||
| Prim SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUBufferUsageFlags -> Int# # sizeOf# :: SDL_GPUBufferUsageFlags -> Int# # alignmentOfType# :: Proxy SDL_GPUBufferUsageFlags -> Int# # alignment# :: SDL_GPUBufferUsageFlags -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUBufferUsageFlags # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUBufferUsageFlags #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUBufferUsageFlags -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUBufferUsageFlags -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUBufferUsageFlags # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUBufferUsageFlags #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUBufferUsageFlags -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUBufferUsageFlags -> State# s -> State# s # | |||||
| HasFFIType SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUBufferUsageFlags -> IO SDL_GPUBufferUsageFlags # | |||||
| StaticSize SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBufferUsageFlags -> SDL_GPUBufferUsageFlags -> IO () # | |||||
| Bitfield SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods narrow :: SDL_GPUBufferUsageFlags -> Int -> Word64 # extend :: Word64 -> Int -> SDL_GPUBufferUsageFlags # | |||||
| HasCField SDL_GPUBufferUsageFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_GPUBufferUsageFlags ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferUsageFlags -> (ty -> SDL_GPUBufferUsageFlags, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_GPUBufferUsageFlags) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferUsageFlags -> Ptr ty # | |||||
| type Rep SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBufferUsageFlags = D1 ('MetaData "SDL_GPUBufferUsageFlags" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUBufferUsageFlags" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_GPUBufferUsageFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBufferUsageFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
sDL_GPU_BUFFERUSAGE_VERTEX :: CUInt Source #
Buffer is a vertex buffer.
- C declaration
macro SDL_GPU_BUFFERUSAGE_VERTEX, defined atSDL3/SDL_gpu.h 988:9
sDL_GPU_BUFFERUSAGE_INDEX :: CUInt Source #
Buffer is an index buffer.
- C declaration
macro SDL_GPU_BUFFERUSAGE_INDEX, defined atSDL3/SDL_gpu.h 989:9
sDL_GPU_BUFFERUSAGE_INDIRECT :: CUInt Source #
Buffer is an indirect buffer.
- C declaration
macro SDL_GPU_BUFFERUSAGE_INDIRECT, defined atSDL3/SDL_gpu.h 990:9
sDL_GPU_BUFFERUSAGE_GRAPHICS_STORAGE_READ :: CUInt Source #
Buffer supports storage reads in graphics stages.
- C declaration
macro SDL_GPU_BUFFERUSAGE_GRAPHICS_STORAGE_READ, defined atSDL3/SDL_gpu.h 991:9
sDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_READ :: CUInt Source #
Buffer supports storage reads in the compute stage.
- C declaration
macro SDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_READ, defined atSDL3/SDL_gpu.h 992:9
sDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_WRITE :: CUInt Source #
Buffer supports storage writes in the compute stage.
- C declaration
macro SDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_WRITE, defined atSDL3/SDL_gpu.h 993:9
newtype SDL_GPUTransferBufferUsage Source #
Specifies how a transfer buffer is intended to be used by the client.
Note that mapping and copying FROM an upload transfer buffer or TO a download transfer buffer is undefined behavior.
- See also
sDL_CreateGPUTransferBuffer- C declaration
enum SDL_GPUTransferBufferUsage, defined atSDL3/SDL_gpu.h 1005:14
Since: 3.2.0
Constructors
| SDL_GPUTransferBufferUsage | |
Instances
| Storable SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTransferBufferUsage -> Int # alignment :: SDL_GPUTransferBufferUsage -> Int # peekElemOff :: Ptr SDL_GPUTransferBufferUsage -> Int -> IO SDL_GPUTransferBufferUsage # pokeElemOff :: Ptr SDL_GPUTransferBufferUsage -> Int -> SDL_GPUTransferBufferUsage -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTransferBufferUsage # pokeByteOff :: Ptr b -> Int -> SDL_GPUTransferBufferUsage -> IO () # peek :: Ptr SDL_GPUTransferBufferUsage -> IO SDL_GPUTransferBufferUsage # poke :: Ptr SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> IO () # | |||||
| Generic SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUTransferBufferUsage -> Rep SDL_GPUTransferBufferUsage x # to :: Rep SDL_GPUTransferBufferUsage x -> SDL_GPUTransferBufferUsage # | |||||
| Read SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Show SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTransferBufferUsage -> ShowS # show :: SDL_GPUTransferBufferUsage -> String # showList :: [SDL_GPUTransferBufferUsage] -> ShowS # | |||||
| Eq SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> Bool # (/=) :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> Bool # | |||||
| Ord SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> Ordering # (<) :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> Bool # (<=) :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> Bool # (>) :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> Bool # (>=) :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> Bool # max :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage # min :: SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage # | |||||
| Prim SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUTransferBufferUsage -> Int# # sizeOf# :: SDL_GPUTransferBufferUsage -> Int# # alignmentOfType# :: Proxy SDL_GPUTransferBufferUsage -> Int# # alignment# :: SDL_GPUTransferBufferUsage -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUTransferBufferUsage # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUTransferBufferUsage #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUTransferBufferUsage -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUTransferBufferUsage -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUTransferBufferUsage # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUTransferBufferUsage #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUTransferBufferUsage -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUTransferBufferUsage -> State# s -> State# s # | |||||
| CEnum SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage # fromCEnum :: SDL_GPUTransferBufferUsage -> CEnumZ SDL_GPUTransferBufferUsage # declaredValues :: proxy SDL_GPUTransferBufferUsage -> DeclaredValues SDL_GPUTransferBufferUsage # showsUndeclared :: proxy SDL_GPUTransferBufferUsage -> Int -> CEnumZ SDL_GPUTransferBufferUsage -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUTransferBufferUsage # isDeclared :: SDL_GPUTransferBufferUsage -> Bool # mkDeclared :: CEnumZ SDL_GPUTransferBufferUsage -> Maybe SDL_GPUTransferBufferUsage # | |||||
| SequentialCEnum SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTransferBufferUsage -> IO SDL_GPUTransferBufferUsage # | |||||
| StaticSize SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUTransferBufferUsage -> Int # staticAlignment :: Proxy SDL_GPUTransferBufferUsage -> Int # | |||||
| WriteRaw SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTransferBufferUsage -> SDL_GPUTransferBufferUsage -> IO () # | |||||
| HasCField SDL_GPUTransferBufferUsage "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUTransferBufferUsage ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTransferBufferUsage -> (ty -> SDL_GPUTransferBufferUsage, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUTransferBufferUsage) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTransferBufferUsage -> Ptr ty # | |||||
| type Rep SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTransferBufferUsage = D1 ('MetaData "SDL_GPUTransferBufferUsage" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUTransferBufferUsage" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUTransferBufferUsage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTransferBufferUsage "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_TRANSFERBUFFERUSAGE_UPLOAD :: SDL_GPUTransferBufferUsage Source #
- C declaration
SDL_GPU_TRANSFERBUFFERUSAGE_UPLOAD, defined atSDL3/SDL_gpu.h 1007:5
pattern SDL_GPU_TRANSFERBUFFERUSAGE_DOWNLOAD :: SDL_GPUTransferBufferUsage Source #
- C declaration
SDL_GPU_TRANSFERBUFFERUSAGE_DOWNLOAD, defined atSDL3/SDL_gpu.h 1008:5
newtype SDL_GPUShaderStage Source #
Specifies which stage a shader program corresponds to.
- See also
sDL_CreateGPUShader- C declaration
enum SDL_GPUShaderStage, defined atSDL3/SDL_gpu.h 1018:14
Since: 3.2.0
Constructors
| SDL_GPUShaderStage | |
Instances
| Storable SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUShaderStage -> Int # alignment :: SDL_GPUShaderStage -> Int # peekElemOff :: Ptr SDL_GPUShaderStage -> Int -> IO SDL_GPUShaderStage # pokeElemOff :: Ptr SDL_GPUShaderStage -> Int -> SDL_GPUShaderStage -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUShaderStage # pokeByteOff :: Ptr b -> Int -> SDL_GPUShaderStage -> IO () # peek :: Ptr SDL_GPUShaderStage -> IO SDL_GPUShaderStage # poke :: Ptr SDL_GPUShaderStage -> SDL_GPUShaderStage -> IO () # | |||||
| Generic SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUShaderStage -> Rep SDL_GPUShaderStage x # to :: Rep SDL_GPUShaderStage x -> SDL_GPUShaderStage # | |||||
| Read SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUShaderStage # readList :: ReadS [SDL_GPUShaderStage] # | |||||
| Show SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUShaderStage -> ShowS # show :: SDL_GPUShaderStage -> String # showList :: [SDL_GPUShaderStage] -> ShowS # | |||||
| Eq SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> Bool # (/=) :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> Bool # | |||||
| Ord SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> Ordering # (<) :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> Bool # (<=) :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> Bool # (>) :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> Bool # (>=) :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> Bool # max :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> SDL_GPUShaderStage # min :: SDL_GPUShaderStage -> SDL_GPUShaderStage -> SDL_GPUShaderStage # | |||||
| Prim SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUShaderStage -> Int# # sizeOf# :: SDL_GPUShaderStage -> Int# # alignmentOfType# :: Proxy SDL_GPUShaderStage -> Int# # alignment# :: SDL_GPUShaderStage -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUShaderStage # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUShaderStage #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUShaderStage -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUShaderStage -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUShaderStage # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUShaderStage #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUShaderStage -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUShaderStage -> State# s -> State# s # | |||||
| CEnum SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUShaderStage -> SDL_GPUShaderStage # fromCEnum :: SDL_GPUShaderStage -> CEnumZ SDL_GPUShaderStage # declaredValues :: proxy SDL_GPUShaderStage -> DeclaredValues SDL_GPUShaderStage # showsUndeclared :: proxy SDL_GPUShaderStage -> Int -> CEnumZ SDL_GPUShaderStage -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUShaderStage # isDeclared :: SDL_GPUShaderStage -> Bool # mkDeclared :: CEnumZ SDL_GPUShaderStage -> Maybe SDL_GPUShaderStage # | |||||
| SequentialCEnum SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUShaderStage -> FFIType SDL_GPUShaderStage # fromFFIType :: FFIType SDL_GPUShaderStage -> SDL_GPUShaderStage # | |||||
| ReadRaw SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUShaderStage -> IO SDL_GPUShaderStage # | |||||
| StaticSize SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUShaderStage -> Int # | |||||
| WriteRaw SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUShaderStage -> SDL_GPUShaderStage -> IO () # | |||||
| HasCField SDL_GPUShaderStage "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUShaderStage ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderStage -> (ty -> SDL_GPUShaderStage, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUShaderStage) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderStage -> Ptr ty # | |||||
| type Rep SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUShaderStage = D1 ('MetaData "SDL_GPUShaderStage" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUShaderStage" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUShaderStage Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderStage "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_SHADERSTAGE_VERTEX :: SDL_GPUShaderStage Source #
- C declaration
SDL_GPU_SHADERSTAGE_VERTEX, defined atSDL3/SDL_gpu.h 1020:5
pattern SDL_GPU_SHADERSTAGE_FRAGMENT :: SDL_GPUShaderStage Source #
- C declaration
SDL_GPU_SHADERSTAGE_FRAGMENT, defined atSDL3/SDL_gpu.h 1021:5
newtype SDL_GPUShaderFormat Source #
Specifies the format of shader code.
Each format corresponds to a specific backend that accepts it.
- See also
sDL_CreateGPUShader- C declaration
SDL_GPUShaderFormat, defined atSDL3/SDL_gpu.h 1033:16
Since: 3.2.0
Constructors
| SDL_GPUShaderFormat | |
Instances
| Bits SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (.&.) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # (.|.) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # xor :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # complement :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat # shift :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # rotate :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # zeroBits :: SDL_GPUShaderFormat # bit :: Int -> SDL_GPUShaderFormat # setBit :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # clearBit :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # complementBit :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # testBit :: SDL_GPUShaderFormat -> Int -> Bool # bitSizeMaybe :: SDL_GPUShaderFormat -> Maybe Int # bitSize :: SDL_GPUShaderFormat -> Int # isSigned :: SDL_GPUShaderFormat -> Bool # shiftL :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # unsafeShiftL :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # shiftR :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # unsafeShiftR :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # rotateL :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # rotateR :: SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat # popCount :: SDL_GPUShaderFormat -> Int # | |||||
| FiniteBits SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods finiteBitSize :: SDL_GPUShaderFormat -> Int # | |||||
| Bounded SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Enum SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods succ :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat # pred :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat # toEnum :: Int -> SDL_GPUShaderFormat # fromEnum :: SDL_GPUShaderFormat -> Int # enumFrom :: SDL_GPUShaderFormat -> [SDL_GPUShaderFormat] # enumFromThen :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> [SDL_GPUShaderFormat] # enumFromTo :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> [SDL_GPUShaderFormat] # enumFromThenTo :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> [SDL_GPUShaderFormat] # | |||||
| Storable SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUShaderFormat -> Int # alignment :: SDL_GPUShaderFormat -> Int # peekElemOff :: Ptr SDL_GPUShaderFormat -> Int -> IO SDL_GPUShaderFormat # pokeElemOff :: Ptr SDL_GPUShaderFormat -> Int -> SDL_GPUShaderFormat -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUShaderFormat # pokeByteOff :: Ptr b -> Int -> SDL_GPUShaderFormat -> IO () # peek :: Ptr SDL_GPUShaderFormat -> IO SDL_GPUShaderFormat # poke :: Ptr SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> IO () # | |||||
| Generic SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUShaderFormat -> Rep SDL_GPUShaderFormat x # to :: Rep SDL_GPUShaderFormat x -> SDL_GPUShaderFormat # | |||||
| Ix SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods range :: (SDL_GPUShaderFormat, SDL_GPUShaderFormat) -> [SDL_GPUShaderFormat] # index :: (SDL_GPUShaderFormat, SDL_GPUShaderFormat) -> SDL_GPUShaderFormat -> Int # unsafeIndex :: (SDL_GPUShaderFormat, SDL_GPUShaderFormat) -> SDL_GPUShaderFormat -> Int # inRange :: (SDL_GPUShaderFormat, SDL_GPUShaderFormat) -> SDL_GPUShaderFormat -> Bool # rangeSize :: (SDL_GPUShaderFormat, SDL_GPUShaderFormat) -> Int # unsafeRangeSize :: (SDL_GPUShaderFormat, SDL_GPUShaderFormat) -> Int # | |||||
| Num SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (+) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # (-) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # (*) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # negate :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat # abs :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat # | |||||
| Read SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUShaderFormat # readList :: ReadS [SDL_GPUShaderFormat] # | |||||
| Integral SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods quot :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # rem :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # div :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # mod :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # quotRem :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> (SDL_GPUShaderFormat, SDL_GPUShaderFormat) # divMod :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> (SDL_GPUShaderFormat, SDL_GPUShaderFormat) # toInteger :: SDL_GPUShaderFormat -> Integer # | |||||
| Real SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| Show SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUShaderFormat -> ShowS # show :: SDL_GPUShaderFormat -> String # showList :: [SDL_GPUShaderFormat] -> ShowS # | |||||
| Eq SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> Bool # (/=) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> Bool # | |||||
| Ord SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> Ordering # (<) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> Bool # (<=) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> Bool # (>) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> Bool # (>=) :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> Bool # max :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # min :: SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> SDL_GPUShaderFormat # | |||||
| Prim SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUShaderFormat -> Int# # sizeOf# :: SDL_GPUShaderFormat -> Int# # alignmentOfType# :: Proxy SDL_GPUShaderFormat -> Int# # alignment# :: SDL_GPUShaderFormat -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUShaderFormat # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUShaderFormat #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUShaderFormat -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUShaderFormat -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUShaderFormat # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUShaderFormat #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUShaderFormat -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUShaderFormat -> State# s -> State# s # | |||||
| HasFFIType SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUShaderFormat -> IO SDL_GPUShaderFormat # | |||||
| StaticSize SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUShaderFormat -> Int # | |||||
| WriteRaw SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUShaderFormat -> SDL_GPUShaderFormat -> IO () # | |||||
| Bitfield SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods narrow :: SDL_GPUShaderFormat -> Int -> Word64 # extend :: Word64 -> Int -> SDL_GPUShaderFormat # | |||||
| HasCField SDL_GPUShaderFormat "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "unwrap" SDL_GPUShaderFormat ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderFormat -> (ty -> SDL_GPUShaderFormat, ty) # | |||||
| ty ~ Uint32 => HasField "unwrap" (Ptr SDL_GPUShaderFormat) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderFormat -> Ptr ty # | |||||
| type Rep SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUShaderFormat = D1 ('MetaData "SDL_GPUShaderFormat" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUShaderFormat" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint32))) | |||||
| type FFIType SDL_GPUShaderFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderFormat "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
sDL_GPU_SHADERFORMAT_INVALID :: CInt Source #
- C declaration
macro SDL_GPU_SHADERFORMAT_INVALID, defined atSDL3/SDL_gpu.h 1035:9
sDL_GPU_SHADERFORMAT_PRIVATE :: CUInt Source #
Shaders for NDA'd platforms.
- C declaration
macro SDL_GPU_SHADERFORMAT_PRIVATE, defined atSDL3/SDL_gpu.h 1036:9
sDL_GPU_SHADERFORMAT_SPIRV :: CUInt Source #
SPIR-V shaders for Vulkan.
- C declaration
macro SDL_GPU_SHADERFORMAT_SPIRV, defined atSDL3/SDL_gpu.h 1037:9
sDL_GPU_SHADERFORMAT_DXBC :: CUInt Source #
DXBC SM5_1 shaders for D3D12.
- C declaration
macro SDL_GPU_SHADERFORMAT_DXBC, defined atSDL3/SDL_gpu.h 1038:9
sDL_GPU_SHADERFORMAT_DXIL :: CUInt Source #
DXIL SM6_0 shaders for D3D12.
- C declaration
macro SDL_GPU_SHADERFORMAT_DXIL, defined atSDL3/SDL_gpu.h 1039:9
sDL_GPU_SHADERFORMAT_MSL :: CUInt Source #
MSL shaders for Metal.
- C declaration
macro SDL_GPU_SHADERFORMAT_MSL, defined atSDL3/SDL_gpu.h 1040:9
sDL_GPU_SHADERFORMAT_METALLIB :: CUInt Source #
Precompiled metallib shaders for Metal.
- C declaration
macro SDL_GPU_SHADERFORMAT_METALLIB, defined atSDL3/SDL_gpu.h 1041:9
newtype SDL_GPUVertexElementFormat Source #
Specifies the format of a vertex attribute.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUVertexElementFormat, defined atSDL3/SDL_gpu.h 1050:14
Since: 3.2.0
Constructors
| SDL_GPUVertexElementFormat | |
Instances
| Storable SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUVertexElementFormat -> Int # alignment :: SDL_GPUVertexElementFormat -> Int # peekElemOff :: Ptr SDL_GPUVertexElementFormat -> Int -> IO SDL_GPUVertexElementFormat # pokeElemOff :: Ptr SDL_GPUVertexElementFormat -> Int -> SDL_GPUVertexElementFormat -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUVertexElementFormat # pokeByteOff :: Ptr b -> Int -> SDL_GPUVertexElementFormat -> IO () # peek :: Ptr SDL_GPUVertexElementFormat -> IO SDL_GPUVertexElementFormat # poke :: Ptr SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> IO () # | |||||
| Generic SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUVertexElementFormat -> Rep SDL_GPUVertexElementFormat x # to :: Rep SDL_GPUVertexElementFormat x -> SDL_GPUVertexElementFormat # | |||||
| Read SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Show SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUVertexElementFormat -> ShowS # show :: SDL_GPUVertexElementFormat -> String # showList :: [SDL_GPUVertexElementFormat] -> ShowS # | |||||
| Eq SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> Bool # (/=) :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> Bool # | |||||
| Ord SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> Ordering # (<) :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> Bool # (<=) :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> Bool # (>) :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> Bool # (>=) :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> Bool # max :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat # min :: SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat # | |||||
| Prim SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUVertexElementFormat -> Int# # sizeOf# :: SDL_GPUVertexElementFormat -> Int# # alignmentOfType# :: Proxy SDL_GPUVertexElementFormat -> Int# # alignment# :: SDL_GPUVertexElementFormat -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUVertexElementFormat # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUVertexElementFormat #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUVertexElementFormat -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUVertexElementFormat -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUVertexElementFormat # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUVertexElementFormat #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUVertexElementFormat -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUVertexElementFormat -> State# s -> State# s # | |||||
| CEnum SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat # fromCEnum :: SDL_GPUVertexElementFormat -> CEnumZ SDL_GPUVertexElementFormat # declaredValues :: proxy SDL_GPUVertexElementFormat -> DeclaredValues SDL_GPUVertexElementFormat # showsUndeclared :: proxy SDL_GPUVertexElementFormat -> Int -> CEnumZ SDL_GPUVertexElementFormat -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUVertexElementFormat # isDeclared :: SDL_GPUVertexElementFormat -> Bool # mkDeclared :: CEnumZ SDL_GPUVertexElementFormat -> Maybe SDL_GPUVertexElementFormat # | |||||
| SequentialCEnum SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUVertexElementFormat -> IO SDL_GPUVertexElementFormat # | |||||
| StaticSize SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUVertexElementFormat -> Int # staticAlignment :: Proxy SDL_GPUVertexElementFormat -> Int # | |||||
| WriteRaw SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUVertexElementFormat -> SDL_GPUVertexElementFormat -> IO () # | |||||
| HasCField SDL_GPUVertexElementFormat "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUVertexElementFormat ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexElementFormat -> (ty -> SDL_GPUVertexElementFormat, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUVertexElementFormat) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexElementFormat -> Ptr ty # | |||||
| type Rep SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUVertexElementFormat = D1 ('MetaData "SDL_GPUVertexElementFormat" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUVertexElementFormat" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUVertexElementFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexElementFormat "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_VERTEXELEMENTFORMAT_INVALID :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_INVALID, defined atSDL3/SDL_gpu.h 1052:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_INT :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_INT, defined atSDL3/SDL_gpu.h 1055:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_INT2 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_INT2, defined atSDL3/SDL_gpu.h 1056:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_INT3 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_INT3, defined atSDL3/SDL_gpu.h 1057:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_INT4 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_INT4, defined atSDL3/SDL_gpu.h 1058:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_UINT :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_UINT, defined atSDL3/SDL_gpu.h 1061:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_UINT2 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_UINT2, defined atSDL3/SDL_gpu.h 1062:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_UINT3 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_UINT3, defined atSDL3/SDL_gpu.h 1063:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_UINT4 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_UINT4, defined atSDL3/SDL_gpu.h 1064:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_FLOAT :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_FLOAT, defined atSDL3/SDL_gpu.h 1067:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_FLOAT2 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_FLOAT2, defined atSDL3/SDL_gpu.h 1068:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_FLOAT3 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_FLOAT3, defined atSDL3/SDL_gpu.h 1069:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_FLOAT4 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_FLOAT4, defined atSDL3/SDL_gpu.h 1070:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_BYTE2 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_BYTE2, defined atSDL3/SDL_gpu.h 1073:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_BYTE4 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_BYTE4, defined atSDL3/SDL_gpu.h 1074:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_UBYTE2 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_UBYTE2, defined atSDL3/SDL_gpu.h 1077:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_UBYTE4 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_UBYTE4, defined atSDL3/SDL_gpu.h 1078:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_BYTE2_NORM :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_BYTE2_NORM, defined atSDL3/SDL_gpu.h 1081:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_BYTE4_NORM :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_BYTE4_NORM, defined atSDL3/SDL_gpu.h 1082:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_UBYTE2_NORM :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_UBYTE2_NORM, defined atSDL3/SDL_gpu.h 1085:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_UBYTE4_NORM :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_UBYTE4_NORM, defined atSDL3/SDL_gpu.h 1086:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_SHORT2 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_SHORT2, defined atSDL3/SDL_gpu.h 1089:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_SHORT4 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_SHORT4, defined atSDL3/SDL_gpu.h 1090:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_USHORT2 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_USHORT2, defined atSDL3/SDL_gpu.h 1093:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_USHORT4 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_USHORT4, defined atSDL3/SDL_gpu.h 1094:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_SHORT2_NORM :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_SHORT2_NORM, defined atSDL3/SDL_gpu.h 1097:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_SHORT4_NORM :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_SHORT4_NORM, defined atSDL3/SDL_gpu.h 1098:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_USHORT2_NORM :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_USHORT2_NORM, defined atSDL3/SDL_gpu.h 1101:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_USHORT4_NORM :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_USHORT4_NORM, defined atSDL3/SDL_gpu.h 1102:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_HALF2 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_HALF2, defined atSDL3/SDL_gpu.h 1105:5
pattern SDL_GPU_VERTEXELEMENTFORMAT_HALF4 :: SDL_GPUVertexElementFormat Source #
- C declaration
SDL_GPU_VERTEXELEMENTFORMAT_HALF4, defined atSDL3/SDL_gpu.h 1106:5
newtype SDL_GPUVertexInputRate Source #
Specifies the rate at which vertex attributes are pulled from buffers.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUVertexInputRate, defined atSDL3/SDL_gpu.h 1116:14
Since: 3.2.0
Constructors
| SDL_GPUVertexInputRate | |
Instances
| Storable SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUVertexInputRate -> Int # alignment :: SDL_GPUVertexInputRate -> Int # peekElemOff :: Ptr SDL_GPUVertexInputRate -> Int -> IO SDL_GPUVertexInputRate # pokeElemOff :: Ptr SDL_GPUVertexInputRate -> Int -> SDL_GPUVertexInputRate -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUVertexInputRate # pokeByteOff :: Ptr b -> Int -> SDL_GPUVertexInputRate -> IO () # peek :: Ptr SDL_GPUVertexInputRate -> IO SDL_GPUVertexInputRate # poke :: Ptr SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> IO () # | |||||
| Generic SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUVertexInputRate -> Rep SDL_GPUVertexInputRate x # to :: Rep SDL_GPUVertexInputRate x -> SDL_GPUVertexInputRate # | |||||
| Read SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Show SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUVertexInputRate -> ShowS # show :: SDL_GPUVertexInputRate -> String # showList :: [SDL_GPUVertexInputRate] -> ShowS # | |||||
| Eq SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> Bool # (/=) :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> Bool # | |||||
| Ord SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> Ordering # (<) :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> Bool # (<=) :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> Bool # (>) :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> Bool # (>=) :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> Bool # max :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate # min :: SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate # | |||||
| Prim SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUVertexInputRate -> Int# # sizeOf# :: SDL_GPUVertexInputRate -> Int# # alignmentOfType# :: Proxy SDL_GPUVertexInputRate -> Int# # alignment# :: SDL_GPUVertexInputRate -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUVertexInputRate # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUVertexInputRate #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUVertexInputRate -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUVertexInputRate -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUVertexInputRate # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUVertexInputRate #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUVertexInputRate -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUVertexInputRate -> State# s -> State# s # | |||||
| CEnum SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate # fromCEnum :: SDL_GPUVertexInputRate -> CEnumZ SDL_GPUVertexInputRate # declaredValues :: proxy SDL_GPUVertexInputRate -> DeclaredValues SDL_GPUVertexInputRate # showsUndeclared :: proxy SDL_GPUVertexInputRate -> Int -> CEnumZ SDL_GPUVertexInputRate -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUVertexInputRate # isDeclared :: SDL_GPUVertexInputRate -> Bool # mkDeclared :: CEnumZ SDL_GPUVertexInputRate -> Maybe SDL_GPUVertexInputRate # | |||||
| SequentialCEnum SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUVertexInputRate -> IO SDL_GPUVertexInputRate # | |||||
| StaticSize SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUVertexInputRate -> SDL_GPUVertexInputRate -> IO () # | |||||
| HasCField SDL_GPUVertexInputRate "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUVertexInputRate ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexInputRate -> (ty -> SDL_GPUVertexInputRate, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUVertexInputRate) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexInputRate -> Ptr ty # | |||||
| type Rep SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUVertexInputRate = D1 ('MetaData "SDL_GPUVertexInputRate" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUVertexInputRate" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUVertexInputRate Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexInputRate "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_VERTEXINPUTRATE_VERTEX :: SDL_GPUVertexInputRate Source #
Attribute addressing is a function of the vertex index.
- C declaration
SDL_GPU_VERTEXINPUTRATE_VERTEX, defined atSDL3/SDL_gpu.h 1118:5
pattern SDL_GPU_VERTEXINPUTRATE_INSTANCE :: SDL_GPUVertexInputRate Source #
Attribute addressing is a function of the instance index.
- C declaration
SDL_GPU_VERTEXINPUTRATE_INSTANCE, defined atSDL3/SDL_gpu.h 1119:5
newtype SDL_GPUFillMode Source #
Specifies the fill mode of the graphics pipeline.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUFillMode, defined atSDL3/SDL_gpu.h 1129:14
Since: 3.2.0
Constructors
| SDL_GPUFillMode | |
Instances
| Storable SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUFillMode -> Int # alignment :: SDL_GPUFillMode -> Int # peekElemOff :: Ptr SDL_GPUFillMode -> Int -> IO SDL_GPUFillMode # pokeElemOff :: Ptr SDL_GPUFillMode -> Int -> SDL_GPUFillMode -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUFillMode # pokeByteOff :: Ptr b -> Int -> SDL_GPUFillMode -> IO () # peek :: Ptr SDL_GPUFillMode -> IO SDL_GPUFillMode # poke :: Ptr SDL_GPUFillMode -> SDL_GPUFillMode -> IO () # | |||||
| Generic SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUFillMode -> Rep SDL_GPUFillMode x # to :: Rep SDL_GPUFillMode x -> SDL_GPUFillMode # | |||||
| Read SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUFillMode # readList :: ReadS [SDL_GPUFillMode] # | |||||
| Show SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUFillMode -> ShowS # show :: SDL_GPUFillMode -> String # showList :: [SDL_GPUFillMode] -> ShowS # | |||||
| Eq SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUFillMode -> SDL_GPUFillMode -> Bool # (/=) :: SDL_GPUFillMode -> SDL_GPUFillMode -> Bool # | |||||
| Ord SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUFillMode -> SDL_GPUFillMode -> Ordering # (<) :: SDL_GPUFillMode -> SDL_GPUFillMode -> Bool # (<=) :: SDL_GPUFillMode -> SDL_GPUFillMode -> Bool # (>) :: SDL_GPUFillMode -> SDL_GPUFillMode -> Bool # (>=) :: SDL_GPUFillMode -> SDL_GPUFillMode -> Bool # max :: SDL_GPUFillMode -> SDL_GPUFillMode -> SDL_GPUFillMode # min :: SDL_GPUFillMode -> SDL_GPUFillMode -> SDL_GPUFillMode # | |||||
| Prim SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUFillMode -> Int# # sizeOf# :: SDL_GPUFillMode -> Int# # alignmentOfType# :: Proxy SDL_GPUFillMode -> Int# # alignment# :: SDL_GPUFillMode -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUFillMode # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUFillMode #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUFillMode -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUFillMode -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUFillMode # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUFillMode #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUFillMode -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUFillMode -> State# s -> State# s # | |||||
| CEnum SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUFillMode -> SDL_GPUFillMode # fromCEnum :: SDL_GPUFillMode -> CEnumZ SDL_GPUFillMode # declaredValues :: proxy SDL_GPUFillMode -> DeclaredValues SDL_GPUFillMode # showsUndeclared :: proxy SDL_GPUFillMode -> Int -> CEnumZ SDL_GPUFillMode -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUFillMode # isDeclared :: SDL_GPUFillMode -> Bool # mkDeclared :: CEnumZ SDL_GPUFillMode -> Maybe SDL_GPUFillMode # | |||||
| SequentialCEnum SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods | |||||
| ReadRaw SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUFillMode -> IO SDL_GPUFillMode # | |||||
| StaticSize SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUFillMode -> Int # staticAlignment :: Proxy SDL_GPUFillMode -> Int # | |||||
| WriteRaw SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUFillMode -> SDL_GPUFillMode -> IO () # | |||||
| HasCField SDL_GPUFillMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUFillMode ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUFillMode -> (ty -> SDL_GPUFillMode, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUFillMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUFillMode -> Ptr ty # | |||||
| type Rep SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUFillMode = D1 ('MetaData "SDL_GPUFillMode" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUFillMode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUFillMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUFillMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_FILLMODE_FILL :: SDL_GPUFillMode Source #
Polygons will be rendered via rasterization.
- C declaration
SDL_GPU_FILLMODE_FILL, defined atSDL3/SDL_gpu.h 1131:5
pattern SDL_GPU_FILLMODE_LINE :: SDL_GPUFillMode Source #
Polygon edges will be drawn as line segments.
- C declaration
SDL_GPU_FILLMODE_LINE, defined atSDL3/SDL_gpu.h 1132:5
newtype SDL_GPUCullMode Source #
Specifies the facing direction in which triangle faces will be culled.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUCullMode, defined atSDL3/SDL_gpu.h 1142:14
Since: 3.2.0
Constructors
| SDL_GPUCullMode | |
Instances
| Storable SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUCullMode -> Int # alignment :: SDL_GPUCullMode -> Int # peekElemOff :: Ptr SDL_GPUCullMode -> Int -> IO SDL_GPUCullMode # pokeElemOff :: Ptr SDL_GPUCullMode -> Int -> SDL_GPUCullMode -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUCullMode # pokeByteOff :: Ptr b -> Int -> SDL_GPUCullMode -> IO () # peek :: Ptr SDL_GPUCullMode -> IO SDL_GPUCullMode # poke :: Ptr SDL_GPUCullMode -> SDL_GPUCullMode -> IO () # | |||||
| Generic SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUCullMode -> Rep SDL_GPUCullMode x # to :: Rep SDL_GPUCullMode x -> SDL_GPUCullMode # | |||||
| Read SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUCullMode # readList :: ReadS [SDL_GPUCullMode] # | |||||
| Show SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUCullMode -> ShowS # show :: SDL_GPUCullMode -> String # showList :: [SDL_GPUCullMode] -> ShowS # | |||||
| Eq SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUCullMode -> SDL_GPUCullMode -> Bool # (/=) :: SDL_GPUCullMode -> SDL_GPUCullMode -> Bool # | |||||
| Ord SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUCullMode -> SDL_GPUCullMode -> Ordering # (<) :: SDL_GPUCullMode -> SDL_GPUCullMode -> Bool # (<=) :: SDL_GPUCullMode -> SDL_GPUCullMode -> Bool # (>) :: SDL_GPUCullMode -> SDL_GPUCullMode -> Bool # (>=) :: SDL_GPUCullMode -> SDL_GPUCullMode -> Bool # max :: SDL_GPUCullMode -> SDL_GPUCullMode -> SDL_GPUCullMode # min :: SDL_GPUCullMode -> SDL_GPUCullMode -> SDL_GPUCullMode # | |||||
| Prim SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUCullMode -> Int# # sizeOf# :: SDL_GPUCullMode -> Int# # alignmentOfType# :: Proxy SDL_GPUCullMode -> Int# # alignment# :: SDL_GPUCullMode -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUCullMode # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUCullMode #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUCullMode -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUCullMode -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUCullMode # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUCullMode #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUCullMode -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUCullMode -> State# s -> State# s # | |||||
| CEnum SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUCullMode -> SDL_GPUCullMode # fromCEnum :: SDL_GPUCullMode -> CEnumZ SDL_GPUCullMode # declaredValues :: proxy SDL_GPUCullMode -> DeclaredValues SDL_GPUCullMode # showsUndeclared :: proxy SDL_GPUCullMode -> Int -> CEnumZ SDL_GPUCullMode -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUCullMode # isDeclared :: SDL_GPUCullMode -> Bool # mkDeclared :: CEnumZ SDL_GPUCullMode -> Maybe SDL_GPUCullMode # | |||||
| SequentialCEnum SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods | |||||
| ReadRaw SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUCullMode -> IO SDL_GPUCullMode # | |||||
| StaticSize SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUCullMode -> Int # staticAlignment :: Proxy SDL_GPUCullMode -> Int # | |||||
| WriteRaw SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUCullMode -> SDL_GPUCullMode -> IO () # | |||||
| HasCField SDL_GPUCullMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUCullMode ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUCullMode -> (ty -> SDL_GPUCullMode, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUCullMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUCullMode -> Ptr ty # | |||||
| type Rep SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUCullMode = D1 ('MetaData "SDL_GPUCullMode" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUCullMode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUCullMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUCullMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_CULLMODE_NONE :: SDL_GPUCullMode Source #
No triangles are culled.
- C declaration
SDL_GPU_CULLMODE_NONE, defined atSDL3/SDL_gpu.h 1144:5
pattern SDL_GPU_CULLMODE_FRONT :: SDL_GPUCullMode Source #
Front-facing triangles are culled.
- C declaration
SDL_GPU_CULLMODE_FRONT, defined atSDL3/SDL_gpu.h 1145:5
pattern SDL_GPU_CULLMODE_BACK :: SDL_GPUCullMode Source #
Back-facing triangles are culled.
- C declaration
SDL_GPU_CULLMODE_BACK, defined atSDL3/SDL_gpu.h 1146:5
newtype SDL_GPUFrontFace Source #
Specifies the vertex winding that will cause a triangle to be determined to be front-facing.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUFrontFace, defined atSDL3/SDL_gpu.h 1157:14
Since: 3.2.0
Constructors
| SDL_GPUFrontFace | |
Instances
| Storable SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUFrontFace -> Int # alignment :: SDL_GPUFrontFace -> Int # peekElemOff :: Ptr SDL_GPUFrontFace -> Int -> IO SDL_GPUFrontFace # pokeElemOff :: Ptr SDL_GPUFrontFace -> Int -> SDL_GPUFrontFace -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUFrontFace # pokeByteOff :: Ptr b -> Int -> SDL_GPUFrontFace -> IO () # peek :: Ptr SDL_GPUFrontFace -> IO SDL_GPUFrontFace # poke :: Ptr SDL_GPUFrontFace -> SDL_GPUFrontFace -> IO () # | |||||
| Generic SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUFrontFace -> Rep SDL_GPUFrontFace x # to :: Rep SDL_GPUFrontFace x -> SDL_GPUFrontFace # | |||||
| Read SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUFrontFace # readList :: ReadS [SDL_GPUFrontFace] # | |||||
| Show SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUFrontFace -> ShowS # show :: SDL_GPUFrontFace -> String # showList :: [SDL_GPUFrontFace] -> ShowS # | |||||
| Eq SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> Bool # (/=) :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> Bool # | |||||
| Ord SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> Ordering # (<) :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> Bool # (<=) :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> Bool # (>) :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> Bool # (>=) :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> Bool # max :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> SDL_GPUFrontFace # min :: SDL_GPUFrontFace -> SDL_GPUFrontFace -> SDL_GPUFrontFace # | |||||
| Prim SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUFrontFace -> Int# # sizeOf# :: SDL_GPUFrontFace -> Int# # alignmentOfType# :: Proxy SDL_GPUFrontFace -> Int# # alignment# :: SDL_GPUFrontFace -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUFrontFace # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUFrontFace #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUFrontFace -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUFrontFace -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUFrontFace # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUFrontFace #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUFrontFace -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUFrontFace -> State# s -> State# s # | |||||
| CEnum SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUFrontFace -> SDL_GPUFrontFace # fromCEnum :: SDL_GPUFrontFace -> CEnumZ SDL_GPUFrontFace # declaredValues :: proxy SDL_GPUFrontFace -> DeclaredValues SDL_GPUFrontFace # showsUndeclared :: proxy SDL_GPUFrontFace -> Int -> CEnumZ SDL_GPUFrontFace -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUFrontFace # isDeclared :: SDL_GPUFrontFace -> Bool # mkDeclared :: CEnumZ SDL_GPUFrontFace -> Maybe SDL_GPUFrontFace # | |||||
| SequentialCEnum SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUFrontFace -> FFIType SDL_GPUFrontFace # fromFFIType :: FFIType SDL_GPUFrontFace -> SDL_GPUFrontFace # | |||||
| ReadRaw SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| StaticSize SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUFrontFace -> Int # staticAlignment :: Proxy SDL_GPUFrontFace -> Int # | |||||
| WriteRaw SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUFrontFace -> SDL_GPUFrontFace -> IO () # | |||||
| HasCField SDL_GPUFrontFace "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUFrontFace ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUFrontFace -> (ty -> SDL_GPUFrontFace, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUFrontFace) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUFrontFace -> Ptr ty # | |||||
| type Rep SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUFrontFace = D1 ('MetaData "SDL_GPUFrontFace" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUFrontFace" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUFrontFace Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUFrontFace "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_FRONTFACE_COUNTER_CLOCKWISE :: SDL_GPUFrontFace Source #
A triangle with counter-clockwise vertex winding will be considered front-facing.
- C declaration
SDL_GPU_FRONTFACE_COUNTER_CLOCKWISE, defined atSDL3/SDL_gpu.h 1159:5
pattern SDL_GPU_FRONTFACE_CLOCKWISE :: SDL_GPUFrontFace Source #
A triangle with clockwise vertex winding will be considered front-facing.
- C declaration
SDL_GPU_FRONTFACE_CLOCKWISE, defined atSDL3/SDL_gpu.h 1160:5
newtype SDL_GPUCompareOp Source #
Specifies a comparison operator for depth, stencil and sampler operations.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUCompareOp, defined atSDL3/SDL_gpu.h 1170:14
Since: 3.2.0
Constructors
| SDL_GPUCompareOp | |
Instances
| Storable SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUCompareOp -> Int # alignment :: SDL_GPUCompareOp -> Int # peekElemOff :: Ptr SDL_GPUCompareOp -> Int -> IO SDL_GPUCompareOp # pokeElemOff :: Ptr SDL_GPUCompareOp -> Int -> SDL_GPUCompareOp -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUCompareOp # pokeByteOff :: Ptr b -> Int -> SDL_GPUCompareOp -> IO () # peek :: Ptr SDL_GPUCompareOp -> IO SDL_GPUCompareOp # poke :: Ptr SDL_GPUCompareOp -> SDL_GPUCompareOp -> IO () # | |||||
| Generic SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUCompareOp -> Rep SDL_GPUCompareOp x # to :: Rep SDL_GPUCompareOp x -> SDL_GPUCompareOp # | |||||
| Read SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUCompareOp # readList :: ReadS [SDL_GPUCompareOp] # | |||||
| Show SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUCompareOp -> ShowS # show :: SDL_GPUCompareOp -> String # showList :: [SDL_GPUCompareOp] -> ShowS # | |||||
| Eq SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> Bool # (/=) :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> Bool # | |||||
| Ord SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> Ordering # (<) :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> Bool # (<=) :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> Bool # (>) :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> Bool # (>=) :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> Bool # max :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> SDL_GPUCompareOp # min :: SDL_GPUCompareOp -> SDL_GPUCompareOp -> SDL_GPUCompareOp # | |||||
| Prim SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUCompareOp -> Int# # sizeOf# :: SDL_GPUCompareOp -> Int# # alignmentOfType# :: Proxy SDL_GPUCompareOp -> Int# # alignment# :: SDL_GPUCompareOp -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUCompareOp # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUCompareOp #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUCompareOp -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUCompareOp -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUCompareOp # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUCompareOp #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUCompareOp -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUCompareOp -> State# s -> State# s # | |||||
| CEnum SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUCompareOp -> SDL_GPUCompareOp # fromCEnum :: SDL_GPUCompareOp -> CEnumZ SDL_GPUCompareOp # declaredValues :: proxy SDL_GPUCompareOp -> DeclaredValues SDL_GPUCompareOp # showsUndeclared :: proxy SDL_GPUCompareOp -> Int -> CEnumZ SDL_GPUCompareOp -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUCompareOp # isDeclared :: SDL_GPUCompareOp -> Bool # mkDeclared :: CEnumZ SDL_GPUCompareOp -> Maybe SDL_GPUCompareOp # | |||||
| SequentialCEnum SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUCompareOp -> FFIType SDL_GPUCompareOp # fromFFIType :: FFIType SDL_GPUCompareOp -> SDL_GPUCompareOp # | |||||
| ReadRaw SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| StaticSize SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUCompareOp -> Int # staticAlignment :: Proxy SDL_GPUCompareOp -> Int # | |||||
| WriteRaw SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUCompareOp -> SDL_GPUCompareOp -> IO () # | |||||
| HasCField SDL_GPUCompareOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUCompareOp ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUCompareOp -> (ty -> SDL_GPUCompareOp, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUCompareOp) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUCompareOp -> Ptr ty # | |||||
| type Rep SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUCompareOp = D1 ('MetaData "SDL_GPUCompareOp" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUCompareOp" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUCompareOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUCompareOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_COMPAREOP_INVALID :: SDL_GPUCompareOp Source #
- C declaration
SDL_GPU_COMPAREOP_INVALID, defined atSDL3/SDL_gpu.h 1172:5
pattern SDL_GPU_COMPAREOP_NEVER :: SDL_GPUCompareOp Source #
The comparison always evaluates false.
- C declaration
SDL_GPU_COMPAREOP_NEVER, defined atSDL3/SDL_gpu.h 1173:5
pattern SDL_GPU_COMPAREOP_LESS :: SDL_GPUCompareOp Source #
The comparison evaluates reference < test.
- C declaration
SDL_GPU_COMPAREOP_LESS, defined atSDL3/SDL_gpu.h 1174:5
pattern SDL_GPU_COMPAREOP_EQUAL :: SDL_GPUCompareOp Source #
The comparison evaluates reference == test.
- C declaration
SDL_GPU_COMPAREOP_EQUAL, defined atSDL3/SDL_gpu.h 1175:5
pattern SDL_GPU_COMPAREOP_LESS_OR_EQUAL :: SDL_GPUCompareOp Source #
The comparison evaluates reference <= test.
- C declaration
SDL_GPU_COMPAREOP_LESS_OR_EQUAL, defined atSDL3/SDL_gpu.h 1176:5
pattern SDL_GPU_COMPAREOP_GREATER :: SDL_GPUCompareOp Source #
The comparison evaluates reference > test.
- C declaration
SDL_GPU_COMPAREOP_GREATER, defined atSDL3/SDL_gpu.h 1177:5
pattern SDL_GPU_COMPAREOP_NOT_EQUAL :: SDL_GPUCompareOp Source #
The comparison evaluates reference != test.
- C declaration
SDL_GPU_COMPAREOP_NOT_EQUAL, defined atSDL3/SDL_gpu.h 1178:5
pattern SDL_GPU_COMPAREOP_GREATER_OR_EQUAL :: SDL_GPUCompareOp Source #
The comparison evaluates reference >= test.
- C declaration
SDL_GPU_COMPAREOP_GREATER_OR_EQUAL, defined atSDL3/SDL_gpu.h 1179:5
pattern SDL_GPU_COMPAREOP_ALWAYS :: SDL_GPUCompareOp Source #
The comparison always evaluates true.
- C declaration
SDL_GPU_COMPAREOP_ALWAYS, defined atSDL3/SDL_gpu.h 1180:5
newtype SDL_GPUStencilOp Source #
Specifies what happens to a stored stencil value if stencil tests fail or pass.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUStencilOp, defined atSDL3/SDL_gpu.h 1191:14
Since: 3.2.0
Constructors
| SDL_GPUStencilOp | |
Instances
| Storable SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUStencilOp -> Int # alignment :: SDL_GPUStencilOp -> Int # peekElemOff :: Ptr SDL_GPUStencilOp -> Int -> IO SDL_GPUStencilOp # pokeElemOff :: Ptr SDL_GPUStencilOp -> Int -> SDL_GPUStencilOp -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUStencilOp # pokeByteOff :: Ptr b -> Int -> SDL_GPUStencilOp -> IO () # peek :: Ptr SDL_GPUStencilOp -> IO SDL_GPUStencilOp # poke :: Ptr SDL_GPUStencilOp -> SDL_GPUStencilOp -> IO () # | |||||
| Generic SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUStencilOp -> Rep SDL_GPUStencilOp x # to :: Rep SDL_GPUStencilOp x -> SDL_GPUStencilOp # | |||||
| Read SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUStencilOp # readList :: ReadS [SDL_GPUStencilOp] # | |||||
| Show SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUStencilOp -> ShowS # show :: SDL_GPUStencilOp -> String # showList :: [SDL_GPUStencilOp] -> ShowS # | |||||
| Eq SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> Bool # (/=) :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> Bool # | |||||
| Ord SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> Ordering # (<) :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> Bool # (<=) :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> Bool # (>) :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> Bool # (>=) :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> Bool # max :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> SDL_GPUStencilOp # min :: SDL_GPUStencilOp -> SDL_GPUStencilOp -> SDL_GPUStencilOp # | |||||
| Prim SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUStencilOp -> Int# # sizeOf# :: SDL_GPUStencilOp -> Int# # alignmentOfType# :: Proxy SDL_GPUStencilOp -> Int# # alignment# :: SDL_GPUStencilOp -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUStencilOp # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUStencilOp #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUStencilOp -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUStencilOp -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUStencilOp # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUStencilOp #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUStencilOp -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUStencilOp -> State# s -> State# s # | |||||
| CEnum SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUStencilOp -> SDL_GPUStencilOp # fromCEnum :: SDL_GPUStencilOp -> CEnumZ SDL_GPUStencilOp # declaredValues :: proxy SDL_GPUStencilOp -> DeclaredValues SDL_GPUStencilOp # showsUndeclared :: proxy SDL_GPUStencilOp -> Int -> CEnumZ SDL_GPUStencilOp -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUStencilOp # isDeclared :: SDL_GPUStencilOp -> Bool # mkDeclared :: CEnumZ SDL_GPUStencilOp -> Maybe SDL_GPUStencilOp # | |||||
| SequentialCEnum SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUStencilOp -> FFIType SDL_GPUStencilOp # fromFFIType :: FFIType SDL_GPUStencilOp -> SDL_GPUStencilOp # | |||||
| ReadRaw SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| StaticSize SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUStencilOp -> Int # staticAlignment :: Proxy SDL_GPUStencilOp -> Int # | |||||
| WriteRaw SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUStencilOp -> SDL_GPUStencilOp -> IO () # | |||||
| HasCField SDL_GPUStencilOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUStencilOp ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStencilOp -> (ty -> SDL_GPUStencilOp, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUStencilOp) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStencilOp -> Ptr ty # | |||||
| type Rep SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUStencilOp = D1 ('MetaData "SDL_GPUStencilOp" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUStencilOp" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUStencilOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStencilOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_STENCILOP_INVALID :: SDL_GPUStencilOp Source #
- C declaration
SDL_GPU_STENCILOP_INVALID, defined atSDL3/SDL_gpu.h 1193:5
pattern SDL_GPU_STENCILOP_KEEP :: SDL_GPUStencilOp Source #
Keeps the current value.
- C declaration
SDL_GPU_STENCILOP_KEEP, defined atSDL3/SDL_gpu.h 1194:5
pattern SDL_GPU_STENCILOP_ZERO :: SDL_GPUStencilOp Source #
Sets the value to 0.
- C declaration
SDL_GPU_STENCILOP_ZERO, defined atSDL3/SDL_gpu.h 1195:5
pattern SDL_GPU_STENCILOP_REPLACE :: SDL_GPUStencilOp Source #
Sets the value to reference.
- C declaration
SDL_GPU_STENCILOP_REPLACE, defined atSDL3/SDL_gpu.h 1196:5
pattern SDL_GPU_STENCILOP_INCREMENT_AND_CLAMP :: SDL_GPUStencilOp Source #
Increments the current value and clamps to the maximum value.
- C declaration
SDL_GPU_STENCILOP_INCREMENT_AND_CLAMP, defined atSDL3/SDL_gpu.h 1197:5
pattern SDL_GPU_STENCILOP_DECREMENT_AND_CLAMP :: SDL_GPUStencilOp Source #
Decrements the current value and clamps to 0.
- C declaration
SDL_GPU_STENCILOP_DECREMENT_AND_CLAMP, defined atSDL3/SDL_gpu.h 1198:5
pattern SDL_GPU_STENCILOP_INVERT :: SDL_GPUStencilOp Source #
Bitwise-inverts the current value.
- C declaration
SDL_GPU_STENCILOP_INVERT, defined atSDL3/SDL_gpu.h 1199:5
pattern SDL_GPU_STENCILOP_INCREMENT_AND_WRAP :: SDL_GPUStencilOp Source #
Increments the current value and wraps back to 0.
- C declaration
SDL_GPU_STENCILOP_INCREMENT_AND_WRAP, defined atSDL3/SDL_gpu.h 1200:5
pattern SDL_GPU_STENCILOP_DECREMENT_AND_WRAP :: SDL_GPUStencilOp Source #
Decrements the current value and wraps to the maximum value.
- C declaration
SDL_GPU_STENCILOP_DECREMENT_AND_WRAP, defined atSDL3/SDL_gpu.h 1201:5
newtype SDL_GPUBlendOp Source #
Specifies the operator to be used when pixels in a render target are blended with existing pixels in the texture.
The source color is the value written by the fragment shader. The destination color is the value currently existing in the texture.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUBlendOp, defined atSDL3/SDL_gpu.h 1215:14
Since: 3.2.0
Constructors
| SDL_GPUBlendOp | |
Instances
| Storable SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBlendOp -> Int # alignment :: SDL_GPUBlendOp -> Int # peekElemOff :: Ptr SDL_GPUBlendOp -> Int -> IO SDL_GPUBlendOp # pokeElemOff :: Ptr SDL_GPUBlendOp -> Int -> SDL_GPUBlendOp -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBlendOp # pokeByteOff :: Ptr b -> Int -> SDL_GPUBlendOp -> IO () # peek :: Ptr SDL_GPUBlendOp -> IO SDL_GPUBlendOp # poke :: Ptr SDL_GPUBlendOp -> SDL_GPUBlendOp -> IO () # | |||||
| Generic SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBlendOp -> Rep SDL_GPUBlendOp x # to :: Rep SDL_GPUBlendOp x -> SDL_GPUBlendOp # | |||||
| Read SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUBlendOp # readList :: ReadS [SDL_GPUBlendOp] # | |||||
| Show SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBlendOp -> ShowS # show :: SDL_GPUBlendOp -> String # showList :: [SDL_GPUBlendOp] -> ShowS # | |||||
| Eq SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> Bool # (/=) :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> Bool # | |||||
| Ord SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> Ordering # (<) :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> Bool # (<=) :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> Bool # (>) :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> Bool # (>=) :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> Bool # max :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> SDL_GPUBlendOp # min :: SDL_GPUBlendOp -> SDL_GPUBlendOp -> SDL_GPUBlendOp # | |||||
| Prim SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUBlendOp -> Int# # sizeOf# :: SDL_GPUBlendOp -> Int# # alignmentOfType# :: Proxy SDL_GPUBlendOp -> Int# # alignment# :: SDL_GPUBlendOp -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUBlendOp # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUBlendOp #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUBlendOp -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUBlendOp -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUBlendOp # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUBlendOp #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUBlendOp -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUBlendOp -> State# s -> State# s # | |||||
| CEnum SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUBlendOp -> SDL_GPUBlendOp # fromCEnum :: SDL_GPUBlendOp -> CEnumZ SDL_GPUBlendOp # declaredValues :: proxy SDL_GPUBlendOp -> DeclaredValues SDL_GPUBlendOp # showsUndeclared :: proxy SDL_GPUBlendOp -> Int -> CEnumZ SDL_GPUBlendOp -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUBlendOp # isDeclared :: SDL_GPUBlendOp -> Bool # mkDeclared :: CEnumZ SDL_GPUBlendOp -> Maybe SDL_GPUBlendOp # | |||||
| SequentialCEnum SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods | |||||
| ReadRaw SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUBlendOp -> IO SDL_GPUBlendOp # | |||||
| StaticSize SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUBlendOp -> Int # staticAlignment :: Proxy SDL_GPUBlendOp -> Int # | |||||
| WriteRaw SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBlendOp -> SDL_GPUBlendOp -> IO () # | |||||
| HasCField SDL_GPUBlendOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUBlendOp ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlendOp -> (ty -> SDL_GPUBlendOp, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUBlendOp) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlendOp -> Ptr ty # | |||||
| type Rep SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBlendOp = D1 ('MetaData "SDL_GPUBlendOp" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUBlendOp" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUBlendOp Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlendOp "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_BLENDOP_INVALID :: SDL_GPUBlendOp Source #
- C declaration
SDL_GPU_BLENDOP_INVALID, defined atSDL3/SDL_gpu.h 1217:5
pattern SDL_GPU_BLENDOP_ADD :: SDL_GPUBlendOp Source #
(source * source_factor) + (destination * destination_factor)
- C declaration
SDL_GPU_BLENDOP_ADD, defined atSDL3/SDL_gpu.h 1218:5
pattern SDL_GPU_BLENDOP_SUBTRACT :: SDL_GPUBlendOp Source #
(source * source_factor) - (destination * destination_factor)
- C declaration
SDL_GPU_BLENDOP_SUBTRACT, defined atSDL3/SDL_gpu.h 1219:5
pattern SDL_GPU_BLENDOP_REVERSE_SUBTRACT :: SDL_GPUBlendOp Source #
(destination * destination_factor) - (source * source_factor)
- C declaration
SDL_GPU_BLENDOP_REVERSE_SUBTRACT, defined atSDL3/SDL_gpu.h 1220:5
pattern SDL_GPU_BLENDOP_MIN :: SDL_GPUBlendOp Source #
min(source, destination)
- C declaration
SDL_GPU_BLENDOP_MIN, defined atSDL3/SDL_gpu.h 1221:5
pattern SDL_GPU_BLENDOP_MAX :: SDL_GPUBlendOp Source #
max(source, destination)
- C declaration
SDL_GPU_BLENDOP_MAX, defined atSDL3/SDL_gpu.h 1222:5
newtype SDL_GPUBlendFactor Source #
Specifies a blending factor to be used when pixels in a render target are blended with existing pixels in the texture.
The source color is the value written by the fragment shader. The destination color is the value currently existing in the texture.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
enum SDL_GPUBlendFactor, defined atSDL3/SDL_gpu.h 1236:14
Since: 3.2.0
Constructors
| SDL_GPUBlendFactor | |
Instances
| Storable SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBlendFactor -> Int # alignment :: SDL_GPUBlendFactor -> Int # peekElemOff :: Ptr SDL_GPUBlendFactor -> Int -> IO SDL_GPUBlendFactor # pokeElemOff :: Ptr SDL_GPUBlendFactor -> Int -> SDL_GPUBlendFactor -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBlendFactor # pokeByteOff :: Ptr b -> Int -> SDL_GPUBlendFactor -> IO () # peek :: Ptr SDL_GPUBlendFactor -> IO SDL_GPUBlendFactor # poke :: Ptr SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> IO () # | |||||
| Generic SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBlendFactor -> Rep SDL_GPUBlendFactor x # to :: Rep SDL_GPUBlendFactor x -> SDL_GPUBlendFactor # | |||||
| Read SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUBlendFactor # readList :: ReadS [SDL_GPUBlendFactor] # | |||||
| Show SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBlendFactor -> ShowS # show :: SDL_GPUBlendFactor -> String # showList :: [SDL_GPUBlendFactor] -> ShowS # | |||||
| Eq SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> Bool # (/=) :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> Bool # | |||||
| Ord SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> Ordering # (<) :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> Bool # (<=) :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> Bool # (>) :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> Bool # (>=) :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> Bool # max :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> SDL_GPUBlendFactor # min :: SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> SDL_GPUBlendFactor # | |||||
| Prim SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUBlendFactor -> Int# # sizeOf# :: SDL_GPUBlendFactor -> Int# # alignmentOfType# :: Proxy SDL_GPUBlendFactor -> Int# # alignment# :: SDL_GPUBlendFactor -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUBlendFactor # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUBlendFactor #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUBlendFactor -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUBlendFactor -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUBlendFactor # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUBlendFactor #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUBlendFactor -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUBlendFactor -> State# s -> State# s # | |||||
| CEnum SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUBlendFactor -> SDL_GPUBlendFactor # fromCEnum :: SDL_GPUBlendFactor -> CEnumZ SDL_GPUBlendFactor # declaredValues :: proxy SDL_GPUBlendFactor -> DeclaredValues SDL_GPUBlendFactor # showsUndeclared :: proxy SDL_GPUBlendFactor -> Int -> CEnumZ SDL_GPUBlendFactor -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUBlendFactor # isDeclared :: SDL_GPUBlendFactor -> Bool # mkDeclared :: CEnumZ SDL_GPUBlendFactor -> Maybe SDL_GPUBlendFactor # | |||||
| SequentialCEnum SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUBlendFactor -> FFIType SDL_GPUBlendFactor # fromFFIType :: FFIType SDL_GPUBlendFactor -> SDL_GPUBlendFactor # | |||||
| ReadRaw SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUBlendFactor -> IO SDL_GPUBlendFactor # | |||||
| StaticSize SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUBlendFactor -> Int # | |||||
| WriteRaw SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBlendFactor -> SDL_GPUBlendFactor -> IO () # | |||||
| HasCField SDL_GPUBlendFactor "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUBlendFactor ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlendFactor -> (ty -> SDL_GPUBlendFactor, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUBlendFactor) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlendFactor -> Ptr ty # | |||||
| type Rep SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBlendFactor = D1 ('MetaData "SDL_GPUBlendFactor" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUBlendFactor" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUBlendFactor Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlendFactor "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_BLENDFACTOR_INVALID :: SDL_GPUBlendFactor Source #
- C declaration
SDL_GPU_BLENDFACTOR_INVALID, defined atSDL3/SDL_gpu.h 1238:5
pattern SDL_GPU_BLENDFACTOR_ZERO :: SDL_GPUBlendFactor Source #
0
- C declaration
SDL_GPU_BLENDFACTOR_ZERO, defined atSDL3/SDL_gpu.h 1239:5
pattern SDL_GPU_BLENDFACTOR_ONE :: SDL_GPUBlendFactor Source #
1
- C declaration
SDL_GPU_BLENDFACTOR_ONE, defined atSDL3/SDL_gpu.h 1240:5
pattern SDL_GPU_BLENDFACTOR_SRC_COLOR :: SDL_GPUBlendFactor Source #
source color
- C declaration
SDL_GPU_BLENDFACTOR_SRC_COLOR, defined atSDL3/SDL_gpu.h 1241:5
pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_SRC_COLOR :: SDL_GPUBlendFactor Source #
1 - source color
- C declaration
SDL_GPU_BLENDFACTOR_ONE_MINUS_SRC_COLOR, defined atSDL3/SDL_gpu.h 1242:5
pattern SDL_GPU_BLENDFACTOR_DST_COLOR :: SDL_GPUBlendFactor Source #
destination color
- C declaration
SDL_GPU_BLENDFACTOR_DST_COLOR, defined atSDL3/SDL_gpu.h 1243:5
pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_DST_COLOR :: SDL_GPUBlendFactor Source #
1 - destination color
- C declaration
SDL_GPU_BLENDFACTOR_ONE_MINUS_DST_COLOR, defined atSDL3/SDL_gpu.h 1244:5
pattern SDL_GPU_BLENDFACTOR_SRC_ALPHA :: SDL_GPUBlendFactor Source #
source alpha
- C declaration
SDL_GPU_BLENDFACTOR_SRC_ALPHA, defined atSDL3/SDL_gpu.h 1245:5
pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_SRC_ALPHA :: SDL_GPUBlendFactor Source #
1 - source alpha
- C declaration
SDL_GPU_BLENDFACTOR_ONE_MINUS_SRC_ALPHA, defined atSDL3/SDL_gpu.h 1246:5
pattern SDL_GPU_BLENDFACTOR_DST_ALPHA :: SDL_GPUBlendFactor Source #
destination alpha
- C declaration
SDL_GPU_BLENDFACTOR_DST_ALPHA, defined atSDL3/SDL_gpu.h 1247:5
pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_DST_ALPHA :: SDL_GPUBlendFactor Source #
1 - destination alpha
- C declaration
SDL_GPU_BLENDFACTOR_ONE_MINUS_DST_ALPHA, defined atSDL3/SDL_gpu.h 1248:5
pattern SDL_GPU_BLENDFACTOR_CONSTANT_COLOR :: SDL_GPUBlendFactor Source #
blend constant
- C declaration
SDL_GPU_BLENDFACTOR_CONSTANT_COLOR, defined atSDL3/SDL_gpu.h 1249:5
pattern SDL_GPU_BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR :: SDL_GPUBlendFactor Source #
1 - blend constant
- C declaration
SDL_GPU_BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR, defined atSDL3/SDL_gpu.h 1250:5
pattern SDL_GPU_BLENDFACTOR_SRC_ALPHA_SATURATE :: SDL_GPUBlendFactor Source #
min(source alpha, 1 - destination alpha)
- C declaration
SDL_GPU_BLENDFACTOR_SRC_ALPHA_SATURATE, defined atSDL3/SDL_gpu.h 1251:5
newtype SDL_GPUColorComponentFlags Source #
Specifies which color components are written in a graphics pipeline.
- See also
sDL_CreateGPUGraphicsPipeline- C declaration
SDL_GPUColorComponentFlags, defined atSDL3/SDL_gpu.h 1261:15
Since: 3.2.0
Constructors
| SDL_GPUColorComponentFlags | |
Instances
| Bits SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (.&.) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # (.|.) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # xor :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # complement :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # shift :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # rotate :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # zeroBits :: SDL_GPUColorComponentFlags # bit :: Int -> SDL_GPUColorComponentFlags # setBit :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # clearBit :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # complementBit :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # testBit :: SDL_GPUColorComponentFlags -> Int -> Bool # bitSizeMaybe :: SDL_GPUColorComponentFlags -> Maybe Int # bitSize :: SDL_GPUColorComponentFlags -> Int # isSigned :: SDL_GPUColorComponentFlags -> Bool # shiftL :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # unsafeShiftL :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # shiftR :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # unsafeShiftR :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # rotateL :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # rotateR :: SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags # | |||||
| FiniteBits SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Bounded SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Enum SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods succ :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # pred :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # toEnum :: Int -> SDL_GPUColorComponentFlags # fromEnum :: SDL_GPUColorComponentFlags -> Int # enumFrom :: SDL_GPUColorComponentFlags -> [SDL_GPUColorComponentFlags] # enumFromThen :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> [SDL_GPUColorComponentFlags] # enumFromTo :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> [SDL_GPUColorComponentFlags] # enumFromThenTo :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> [SDL_GPUColorComponentFlags] # | |||||
| Storable SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUColorComponentFlags -> Int # alignment :: SDL_GPUColorComponentFlags -> Int # peekElemOff :: Ptr SDL_GPUColorComponentFlags -> Int -> IO SDL_GPUColorComponentFlags # pokeElemOff :: Ptr SDL_GPUColorComponentFlags -> Int -> SDL_GPUColorComponentFlags -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUColorComponentFlags # pokeByteOff :: Ptr b -> Int -> SDL_GPUColorComponentFlags -> IO () # peek :: Ptr SDL_GPUColorComponentFlags -> IO SDL_GPUColorComponentFlags # poke :: Ptr SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> IO () # | |||||
| Generic SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUColorComponentFlags -> Rep SDL_GPUColorComponentFlags x # to :: Rep SDL_GPUColorComponentFlags x -> SDL_GPUColorComponentFlags # | |||||
| Ix SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods range :: (SDL_GPUColorComponentFlags, SDL_GPUColorComponentFlags) -> [SDL_GPUColorComponentFlags] # index :: (SDL_GPUColorComponentFlags, SDL_GPUColorComponentFlags) -> SDL_GPUColorComponentFlags -> Int # unsafeIndex :: (SDL_GPUColorComponentFlags, SDL_GPUColorComponentFlags) -> SDL_GPUColorComponentFlags -> Int # inRange :: (SDL_GPUColorComponentFlags, SDL_GPUColorComponentFlags) -> SDL_GPUColorComponentFlags -> Bool # rangeSize :: (SDL_GPUColorComponentFlags, SDL_GPUColorComponentFlags) -> Int # unsafeRangeSize :: (SDL_GPUColorComponentFlags, SDL_GPUColorComponentFlags) -> Int # | |||||
| Num SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (+) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # (-) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # (*) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # negate :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # abs :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # signum :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # | |||||
| Read SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Integral SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods quot :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # rem :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # div :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # mod :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # quotRem :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> (SDL_GPUColorComponentFlags, SDL_GPUColorComponentFlags) # divMod :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> (SDL_GPUColorComponentFlags, SDL_GPUColorComponentFlags) # | |||||
| Real SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| Show SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUColorComponentFlags -> ShowS # show :: SDL_GPUColorComponentFlags -> String # showList :: [SDL_GPUColorComponentFlags] -> ShowS # | |||||
| Eq SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> Bool # (/=) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> Bool # | |||||
| Ord SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> Ordering # (<) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> Bool # (<=) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> Bool # (>) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> Bool # (>=) :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> Bool # max :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # min :: SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags # | |||||
| Prim SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUColorComponentFlags -> Int# # sizeOf# :: SDL_GPUColorComponentFlags -> Int# # alignmentOfType# :: Proxy SDL_GPUColorComponentFlags -> Int# # alignment# :: SDL_GPUColorComponentFlags -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUColorComponentFlags # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUColorComponentFlags #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUColorComponentFlags -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUColorComponentFlags -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUColorComponentFlags # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUColorComponentFlags #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUColorComponentFlags -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUColorComponentFlags -> State# s -> State# s # | |||||
| HasFFIType SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUColorComponentFlags -> IO SDL_GPUColorComponentFlags # | |||||
| StaticSize SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUColorComponentFlags -> Int # staticAlignment :: Proxy SDL_GPUColorComponentFlags -> Int # | |||||
| WriteRaw SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUColorComponentFlags -> SDL_GPUColorComponentFlags -> IO () # | |||||
| Bitfield SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods narrow :: SDL_GPUColorComponentFlags -> Int -> Word64 # extend :: Word64 -> Int -> SDL_GPUColorComponentFlags # | |||||
| HasCField SDL_GPUColorComponentFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint8 => HasField "unwrap" SDL_GPUColorComponentFlags ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorComponentFlags -> (ty -> SDL_GPUColorComponentFlags, ty) # | |||||
| ty ~ Uint8 => HasField "unwrap" (Ptr SDL_GPUColorComponentFlags) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorComponentFlags -> Ptr ty # | |||||
| type Rep SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUColorComponentFlags = D1 ('MetaData "SDL_GPUColorComponentFlags" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUColorComponentFlags" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Uint8))) | |||||
| type FFIType SDL_GPUColorComponentFlags Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorComponentFlags "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
sDL_GPU_COLORCOMPONENT_R :: CUInt Source #
the red component
- C declaration
macro SDL_GPU_COLORCOMPONENT_R, defined atSDL3/SDL_gpu.h 1263:9
sDL_GPU_COLORCOMPONENT_G :: CUInt Source #
the green component
- C declaration
macro SDL_GPU_COLORCOMPONENT_G, defined atSDL3/SDL_gpu.h 1264:9
sDL_GPU_COLORCOMPONENT_B :: CUInt Source #
the blue component
- C declaration
macro SDL_GPU_COLORCOMPONENT_B, defined atSDL3/SDL_gpu.h 1265:9
sDL_GPU_COLORCOMPONENT_A :: CUInt Source #
the alpha component
- C declaration
macro SDL_GPU_COLORCOMPONENT_A, defined atSDL3/SDL_gpu.h 1266:9
newtype SDL_GPUFilter Source #
Specifies a filter operation used by a sampler.
- See also
sDL_CreateGPUSampler- C declaration
enum SDL_GPUFilter, defined atSDL3/SDL_gpu.h 1275:14
Since: 3.2.0
Constructors
| SDL_GPUFilter | |
Instances
| Storable SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUFilter -> Int # alignment :: SDL_GPUFilter -> Int # peekElemOff :: Ptr SDL_GPUFilter -> Int -> IO SDL_GPUFilter # pokeElemOff :: Ptr SDL_GPUFilter -> Int -> SDL_GPUFilter -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUFilter # pokeByteOff :: Ptr b -> Int -> SDL_GPUFilter -> IO () # peek :: Ptr SDL_GPUFilter -> IO SDL_GPUFilter # poke :: Ptr SDL_GPUFilter -> SDL_GPUFilter -> IO () # | |||||
| Generic SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Read SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUFilter # readList :: ReadS [SDL_GPUFilter] # | |||||
| Show SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUFilter -> ShowS # show :: SDL_GPUFilter -> String # showList :: [SDL_GPUFilter] -> ShowS # | |||||
| Eq SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUFilter -> SDL_GPUFilter -> Bool # (/=) :: SDL_GPUFilter -> SDL_GPUFilter -> Bool # | |||||
| Ord SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUFilter -> SDL_GPUFilter -> Ordering # (<) :: SDL_GPUFilter -> SDL_GPUFilter -> Bool # (<=) :: SDL_GPUFilter -> SDL_GPUFilter -> Bool # (>) :: SDL_GPUFilter -> SDL_GPUFilter -> Bool # (>=) :: SDL_GPUFilter -> SDL_GPUFilter -> Bool # max :: SDL_GPUFilter -> SDL_GPUFilter -> SDL_GPUFilter # min :: SDL_GPUFilter -> SDL_GPUFilter -> SDL_GPUFilter # | |||||
| Prim SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUFilter -> Int# # sizeOf# :: SDL_GPUFilter -> Int# # alignmentOfType# :: Proxy SDL_GPUFilter -> Int# # alignment# :: SDL_GPUFilter -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUFilter # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUFilter #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUFilter -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUFilter -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUFilter # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUFilter #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUFilter -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUFilter -> State# s -> State# s # | |||||
| CEnum SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUFilter -> SDL_GPUFilter # fromCEnum :: SDL_GPUFilter -> CEnumZ SDL_GPUFilter # declaredValues :: proxy SDL_GPUFilter -> DeclaredValues SDL_GPUFilter # showsUndeclared :: proxy SDL_GPUFilter -> Int -> CEnumZ SDL_GPUFilter -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUFilter # isDeclared :: SDL_GPUFilter -> Bool # | |||||
| SequentialCEnum SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods | |||||
| ReadRaw SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUFilter -> IO SDL_GPUFilter # | |||||
| StaticSize SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| WriteRaw SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUFilter -> SDL_GPUFilter -> IO () # | |||||
| HasCField SDL_GPUFilter "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUFilter ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUFilter -> (ty -> SDL_GPUFilter, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUFilter) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUFilter -> Ptr ty # | |||||
| type Rep SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUFilter = D1 ('MetaData "SDL_GPUFilter" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUFilter" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUFilter Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUFilter "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_FILTER_NEAREST :: SDL_GPUFilter Source #
Point filtering.
- C declaration
SDL_GPU_FILTER_NEAREST, defined atSDL3/SDL_gpu.h 1277:5
pattern SDL_GPU_FILTER_LINEAR :: SDL_GPUFilter Source #
Linear filtering.
- C declaration
SDL_GPU_FILTER_LINEAR, defined atSDL3/SDL_gpu.h 1278:5
newtype SDL_GPUSamplerMipmapMode Source #
Specifies a mipmap mode used by a sampler.
- See also
sDL_CreateGPUSampler- C declaration
enum SDL_GPUSamplerMipmapMode, defined atSDL3/SDL_gpu.h 1288:14
Since: 3.2.0
Constructors
| SDL_GPUSamplerMipmapMode | |
Instances
| Storable SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUSamplerMipmapMode -> Int # alignment :: SDL_GPUSamplerMipmapMode -> Int # peekElemOff :: Ptr SDL_GPUSamplerMipmapMode -> Int -> IO SDL_GPUSamplerMipmapMode # pokeElemOff :: Ptr SDL_GPUSamplerMipmapMode -> Int -> SDL_GPUSamplerMipmapMode -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUSamplerMipmapMode # pokeByteOff :: Ptr b -> Int -> SDL_GPUSamplerMipmapMode -> IO () # peek :: Ptr SDL_GPUSamplerMipmapMode -> IO SDL_GPUSamplerMipmapMode # poke :: Ptr SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> IO () # | |||||
| Generic SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUSamplerMipmapMode -> Rep SDL_GPUSamplerMipmapMode x # to :: Rep SDL_GPUSamplerMipmapMode x -> SDL_GPUSamplerMipmapMode # | |||||
| Read SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Show SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUSamplerMipmapMode -> ShowS # show :: SDL_GPUSamplerMipmapMode -> String # showList :: [SDL_GPUSamplerMipmapMode] -> ShowS # | |||||
| Eq SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> Bool # (/=) :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> Bool # | |||||
| Ord SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> Ordering # (<) :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> Bool # (<=) :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> Bool # (>) :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> Bool # (>=) :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> Bool # max :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode # min :: SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode # | |||||
| Prim SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUSamplerMipmapMode -> Int# # sizeOf# :: SDL_GPUSamplerMipmapMode -> Int# # alignmentOfType# :: Proxy SDL_GPUSamplerMipmapMode -> Int# # alignment# :: SDL_GPUSamplerMipmapMode -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUSamplerMipmapMode # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUSamplerMipmapMode #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUSamplerMipmapMode -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUSamplerMipmapMode -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUSamplerMipmapMode # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUSamplerMipmapMode #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUSamplerMipmapMode -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUSamplerMipmapMode -> State# s -> State# s # | |||||
| CEnum SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode # fromCEnum :: SDL_GPUSamplerMipmapMode -> CEnumZ SDL_GPUSamplerMipmapMode # declaredValues :: proxy SDL_GPUSamplerMipmapMode -> DeclaredValues SDL_GPUSamplerMipmapMode # showsUndeclared :: proxy SDL_GPUSamplerMipmapMode -> Int -> CEnumZ SDL_GPUSamplerMipmapMode -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUSamplerMipmapMode # isDeclared :: SDL_GPUSamplerMipmapMode -> Bool # mkDeclared :: CEnumZ SDL_GPUSamplerMipmapMode -> Maybe SDL_GPUSamplerMipmapMode # | |||||
| SequentialCEnum SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUSamplerMipmapMode -> IO SDL_GPUSamplerMipmapMode # | |||||
| StaticSize SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUSamplerMipmapMode -> SDL_GPUSamplerMipmapMode -> IO () # | |||||
| HasCField SDL_GPUSamplerMipmapMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUSamplerMipmapMode ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerMipmapMode -> (ty -> SDL_GPUSamplerMipmapMode, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUSamplerMipmapMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerMipmapMode -> Ptr ty # | |||||
| type Rep SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUSamplerMipmapMode = D1 ('MetaData "SDL_GPUSamplerMipmapMode" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUSamplerMipmapMode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUSamplerMipmapMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerMipmapMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_SAMPLERMIPMAPMODE_NEAREST :: SDL_GPUSamplerMipmapMode Source #
Point filtering.
- C declaration
SDL_GPU_SAMPLERMIPMAPMODE_NEAREST, defined atSDL3/SDL_gpu.h 1290:5
pattern SDL_GPU_SAMPLERMIPMAPMODE_LINEAR :: SDL_GPUSamplerMipmapMode Source #
Linear filtering.
- C declaration
SDL_GPU_SAMPLERMIPMAPMODE_LINEAR, defined atSDL3/SDL_gpu.h 1291:5
newtype SDL_GPUSamplerAddressMode Source #
Specifies behavior of texture sampling when the coordinates exceed the 0-1 range.
- See also
sDL_CreateGPUSampler- C declaration
enum SDL_GPUSamplerAddressMode, defined atSDL3/SDL_gpu.h 1302:14
Since: 3.2.0
Constructors
| SDL_GPUSamplerAddressMode | |
Instances
| Storable SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUSamplerAddressMode -> Int # alignment :: SDL_GPUSamplerAddressMode -> Int # peekElemOff :: Ptr SDL_GPUSamplerAddressMode -> Int -> IO SDL_GPUSamplerAddressMode # pokeElemOff :: Ptr SDL_GPUSamplerAddressMode -> Int -> SDL_GPUSamplerAddressMode -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUSamplerAddressMode # pokeByteOff :: Ptr b -> Int -> SDL_GPUSamplerAddressMode -> IO () # peek :: Ptr SDL_GPUSamplerAddressMode -> IO SDL_GPUSamplerAddressMode # poke :: Ptr SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> IO () # | |||||
| Generic SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUSamplerAddressMode -> Rep SDL_GPUSamplerAddressMode x # to :: Rep SDL_GPUSamplerAddressMode x -> SDL_GPUSamplerAddressMode # | |||||
| Read SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Show SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUSamplerAddressMode -> ShowS # show :: SDL_GPUSamplerAddressMode -> String # showList :: [SDL_GPUSamplerAddressMode] -> ShowS # | |||||
| Eq SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> Bool # (/=) :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> Bool # | |||||
| Ord SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> Ordering # (<) :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> Bool # (<=) :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> Bool # (>) :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> Bool # (>=) :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> Bool # max :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode # min :: SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode # | |||||
| Prim SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUSamplerAddressMode -> Int# # sizeOf# :: SDL_GPUSamplerAddressMode -> Int# # alignmentOfType# :: Proxy SDL_GPUSamplerAddressMode -> Int# # alignment# :: SDL_GPUSamplerAddressMode -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUSamplerAddressMode # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUSamplerAddressMode #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUSamplerAddressMode -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUSamplerAddressMode -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUSamplerAddressMode # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUSamplerAddressMode #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUSamplerAddressMode -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUSamplerAddressMode -> State# s -> State# s # | |||||
| CEnum SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode # fromCEnum :: SDL_GPUSamplerAddressMode -> CEnumZ SDL_GPUSamplerAddressMode # declaredValues :: proxy SDL_GPUSamplerAddressMode -> DeclaredValues SDL_GPUSamplerAddressMode # showsUndeclared :: proxy SDL_GPUSamplerAddressMode -> Int -> CEnumZ SDL_GPUSamplerAddressMode -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUSamplerAddressMode # isDeclared :: SDL_GPUSamplerAddressMode -> Bool # mkDeclared :: CEnumZ SDL_GPUSamplerAddressMode -> Maybe SDL_GPUSamplerAddressMode # | |||||
| SequentialCEnum SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUSamplerAddressMode -> IO SDL_GPUSamplerAddressMode # | |||||
| StaticSize SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUSamplerAddressMode -> SDL_GPUSamplerAddressMode -> IO () # | |||||
| HasCField SDL_GPUSamplerAddressMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUSamplerAddressMode ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerAddressMode -> (ty -> SDL_GPUSamplerAddressMode, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUSamplerAddressMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerAddressMode -> Ptr ty # | |||||
| type Rep SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUSamplerAddressMode = D1 ('MetaData "SDL_GPUSamplerAddressMode" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUSamplerAddressMode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUSamplerAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerAddressMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_SAMPLERADDRESSMODE_REPEAT :: SDL_GPUSamplerAddressMode Source #
Specifies that the coordinates will wrap around.
- C declaration
SDL_GPU_SAMPLERADDRESSMODE_REPEAT, defined atSDL3/SDL_gpu.h 1304:5
pattern SDL_GPU_SAMPLERADDRESSMODE_MIRRORED_REPEAT :: SDL_GPUSamplerAddressMode Source #
Specifies that the coordinates will wrap around mirrored.
- C declaration
SDL_GPU_SAMPLERADDRESSMODE_MIRRORED_REPEAT, defined atSDL3/SDL_gpu.h 1305:5
pattern SDL_GPU_SAMPLERADDRESSMODE_CLAMP_TO_EDGE :: SDL_GPUSamplerAddressMode Source #
Specifies that the coordinates will clamp to the 0-1 range.
- C declaration
SDL_GPU_SAMPLERADDRESSMODE_CLAMP_TO_EDGE, defined atSDL3/SDL_gpu.h 1306:5
newtype SDL_GPUPresentMode Source #
Specifies the timing that will be used to present swapchain textures to the OS.
VSYNC mode will always be supported. IMMEDIATE and MAILBOX modes may not be supported on certain systems.
It is recommended to query SDL_WindowSupportsGPUPresentMode after claiming the window if you wish to change the present mode to IMMEDIATE or MAILBOX.
- VSYNC: Waits for vblank before presenting. No tearing is possible. If there is a pending image to present, the new image is enqueued for presentation. Disallows tearing at the cost of visual latency.
- IMMEDIATE: Immediately presents. Lowest latency option, but tearing may occur.
- MAILBOX: Waits for vblank before presenting. No tearing is possible. If there is a pending image to present, the pending image is replaced by the new image. Similar to VSYNC, but with reduced visual latency.
- See also
sDL_SetGPUSwapchainParameters,sDL_WindowSupportsGPUPresentMode,sDL_WaitAndAcquireGPUSwapchainTexture- C declaration
enum SDL_GPUPresentMode, defined atSDL3/SDL_gpu.h 1334:14
Since: 3.2.0
Constructors
| SDL_GPUPresentMode | |
Instances
| Storable SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUPresentMode -> Int # alignment :: SDL_GPUPresentMode -> Int # peekElemOff :: Ptr SDL_GPUPresentMode -> Int -> IO SDL_GPUPresentMode # pokeElemOff :: Ptr SDL_GPUPresentMode -> Int -> SDL_GPUPresentMode -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUPresentMode # pokeByteOff :: Ptr b -> Int -> SDL_GPUPresentMode -> IO () # peek :: Ptr SDL_GPUPresentMode -> IO SDL_GPUPresentMode # poke :: Ptr SDL_GPUPresentMode -> SDL_GPUPresentMode -> IO () # | |||||
| Generic SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUPresentMode -> Rep SDL_GPUPresentMode x # to :: Rep SDL_GPUPresentMode x -> SDL_GPUPresentMode # | |||||
| Read SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readsPrec :: Int -> ReadS SDL_GPUPresentMode # readList :: ReadS [SDL_GPUPresentMode] # | |||||
| Show SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUPresentMode -> ShowS # show :: SDL_GPUPresentMode -> String # showList :: [SDL_GPUPresentMode] -> ShowS # | |||||
| Eq SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> Bool # (/=) :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> Bool # | |||||
| Ord SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> Ordering # (<) :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> Bool # (<=) :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> Bool # (>) :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> Bool # (>=) :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> Bool # max :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> SDL_GPUPresentMode # min :: SDL_GPUPresentMode -> SDL_GPUPresentMode -> SDL_GPUPresentMode # | |||||
| Prim SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUPresentMode -> Int# # sizeOf# :: SDL_GPUPresentMode -> Int# # alignmentOfType# :: Proxy SDL_GPUPresentMode -> Int# # alignment# :: SDL_GPUPresentMode -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUPresentMode # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUPresentMode #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUPresentMode -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUPresentMode -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUPresentMode # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUPresentMode #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUPresentMode -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUPresentMode -> State# s -> State# s # | |||||
| CEnum SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUPresentMode -> SDL_GPUPresentMode # fromCEnum :: SDL_GPUPresentMode -> CEnumZ SDL_GPUPresentMode # declaredValues :: proxy SDL_GPUPresentMode -> DeclaredValues SDL_GPUPresentMode # showsUndeclared :: proxy SDL_GPUPresentMode -> Int -> CEnumZ SDL_GPUPresentMode -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUPresentMode # isDeclared :: SDL_GPUPresentMode -> Bool # mkDeclared :: CEnumZ SDL_GPUPresentMode -> Maybe SDL_GPUPresentMode # | |||||
| SequentialCEnum SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toFFIType :: SDL_GPUPresentMode -> FFIType SDL_GPUPresentMode # fromFFIType :: FFIType SDL_GPUPresentMode -> SDL_GPUPresentMode # | |||||
| ReadRaw SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUPresentMode -> IO SDL_GPUPresentMode # | |||||
| StaticSize SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUPresentMode -> Int # | |||||
| WriteRaw SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUPresentMode -> SDL_GPUPresentMode -> IO () # | |||||
| HasCField SDL_GPUPresentMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUPresentMode ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUPresentMode -> (ty -> SDL_GPUPresentMode, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUPresentMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUPresentMode -> Ptr ty # | |||||
| type Rep SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUPresentMode = D1 ('MetaData "SDL_GPUPresentMode" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUPresentMode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUPresentMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUPresentMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_PRESENTMODE_VSYNC :: SDL_GPUPresentMode Source #
- C declaration
SDL_GPU_PRESENTMODE_VSYNC, defined atSDL3/SDL_gpu.h 1336:5
pattern SDL_GPU_PRESENTMODE_IMMEDIATE :: SDL_GPUPresentMode Source #
- C declaration
SDL_GPU_PRESENTMODE_IMMEDIATE, defined atSDL3/SDL_gpu.h 1337:5
pattern SDL_GPU_PRESENTMODE_MAILBOX :: SDL_GPUPresentMode Source #
- C declaration
SDL_GPU_PRESENTMODE_MAILBOX, defined atSDL3/SDL_gpu.h 1338:5
newtype SDL_GPUSwapchainComposition Source #
Specifies the texture format and colorspace of the swapchain textures.
SDR will always be supported. Other compositions may not be supported on certain systems.
It is recommended to query SDL_WindowSupportsGPUSwapchainComposition after claiming the window if you wish to change the swapchain composition from SDR.
- SDR: B8G8R8A8 or R8G8B8A8 swapchain. Pixel values are in sRGB encoding.
- SDR_LINEAR: B8G8R8A8_SRGB or R8G8B8A8_SRGB swapchain. Pixel values are stored in memory in sRGB encoding but accessed in shaders in "linear sRGB" encoding which is sRGB but with a linear transfer function.
- HDR_EXTENDED_LINEAR: R16G16B16A16_FLOAT swapchain. Pixel values are in extended linear sRGB encoding and permits values outside of the [0, 1] range.
- HDR10_ST2084: A2R10G10B10 or A2B10G10R10 swapchain. Pixel values are in BT.2020 ST2084 (PQ) encoding.
- See also
sDL_SetGPUSwapchainParameters,sDL_WindowSupportsGPUSwapchainComposition,sDL_WaitAndAcquireGPUSwapchainTexture- C declaration
enum SDL_GPUSwapchainComposition, defined atSDL3/SDL_gpu.h 1367:14
Since: 3.2.0
Constructors
| SDL_GPUSwapchainComposition | |
Instances
| Storable SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUSwapchainComposition -> Int # alignment :: SDL_GPUSwapchainComposition -> Int # peekElemOff :: Ptr SDL_GPUSwapchainComposition -> Int -> IO SDL_GPUSwapchainComposition # pokeElemOff :: Ptr SDL_GPUSwapchainComposition -> Int -> SDL_GPUSwapchainComposition -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUSwapchainComposition # pokeByteOff :: Ptr b -> Int -> SDL_GPUSwapchainComposition -> IO () # peek :: Ptr SDL_GPUSwapchainComposition -> IO SDL_GPUSwapchainComposition # poke :: Ptr SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> IO () # | |||||
| Generic SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUSwapchainComposition -> Rep SDL_GPUSwapchainComposition x # to :: Rep SDL_GPUSwapchainComposition x -> SDL_GPUSwapchainComposition # | |||||
| Read SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| Show SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUSwapchainComposition -> ShowS # show :: SDL_GPUSwapchainComposition -> String # showList :: [SDL_GPUSwapchainComposition] -> ShowS # | |||||
| Eq SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> Bool # (/=) :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> Bool # | |||||
| Ord SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods compare :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> Ordering # (<) :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> Bool # (<=) :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> Bool # (>) :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> Bool # (>=) :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> Bool # max :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition # min :: SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition # | |||||
| Prim SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOfType# :: Proxy SDL_GPUSwapchainComposition -> Int# # sizeOf# :: SDL_GPUSwapchainComposition -> Int# # alignmentOfType# :: Proxy SDL_GPUSwapchainComposition -> Int# # alignment# :: SDL_GPUSwapchainComposition -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_GPUSwapchainComposition # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_GPUSwapchainComposition #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_GPUSwapchainComposition -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_GPUSwapchainComposition -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_GPUSwapchainComposition # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_GPUSwapchainComposition #) # writeOffAddr# :: Addr# -> Int# -> SDL_GPUSwapchainComposition -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_GPUSwapchainComposition -> State# s -> State# s # | |||||
| CEnum SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods toCEnum :: CEnumZ SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition # fromCEnum :: SDL_GPUSwapchainComposition -> CEnumZ SDL_GPUSwapchainComposition # declaredValues :: proxy SDL_GPUSwapchainComposition -> DeclaredValues SDL_GPUSwapchainComposition # showsUndeclared :: proxy SDL_GPUSwapchainComposition -> Int -> CEnumZ SDL_GPUSwapchainComposition -> ShowS # readPrecUndeclared :: ReadPrec SDL_GPUSwapchainComposition # isDeclared :: SDL_GPUSwapchainComposition -> Bool # mkDeclared :: CEnumZ SDL_GPUSwapchainComposition -> Maybe SDL_GPUSwapchainComposition # | |||||
| SequentialCEnum SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| HasFFIType SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ReadRaw SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUSwapchainComposition -> IO SDL_GPUSwapchainComposition # | |||||
| StaticSize SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUSwapchainComposition -> Int # staticAlignment :: Proxy SDL_GPUSwapchainComposition -> Int # | |||||
| WriteRaw SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUSwapchainComposition -> SDL_GPUSwapchainComposition -> IO () # | |||||
| HasCField SDL_GPUSwapchainComposition "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_GPUSwapchainComposition ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSwapchainComposition -> (ty -> SDL_GPUSwapchainComposition, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_GPUSwapchainComposition) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSwapchainComposition -> Ptr ty # | |||||
| type Rep SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUSwapchainComposition = D1 ('MetaData "SDL_GPUSwapchainComposition" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_GPUSwapchainComposition" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type FFIType SDL_GPUSwapchainComposition Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSwapchainComposition "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
pattern SDL_GPU_SWAPCHAINCOMPOSITION_SDR :: SDL_GPUSwapchainComposition Source #
- C declaration
SDL_GPU_SWAPCHAINCOMPOSITION_SDR, defined atSDL3/SDL_gpu.h 1369:5
pattern SDL_GPU_SWAPCHAINCOMPOSITION_SDR_LINEAR :: SDL_GPUSwapchainComposition Source #
- C declaration
SDL_GPU_SWAPCHAINCOMPOSITION_SDR_LINEAR, defined atSDL3/SDL_gpu.h 1370:5
pattern SDL_GPU_SWAPCHAINCOMPOSITION_HDR_EXTENDED_LINEAR :: SDL_GPUSwapchainComposition Source #
- C declaration
SDL_GPU_SWAPCHAINCOMPOSITION_HDR_EXTENDED_LINEAR, defined atSDL3/SDL_gpu.h 1371:5
pattern SDL_GPU_SWAPCHAINCOMPOSITION_HDR10_ST2084 :: SDL_GPUSwapchainComposition Source #
- C declaration
SDL_GPU_SWAPCHAINCOMPOSITION_HDR10_ST2084, defined atSDL3/SDL_gpu.h 1372:5
data SDL_GPUViewport Source #
A structure specifying a viewport.
- See also
sDL_SetGPUViewport- C declaration
struct SDL_GPUViewport, defined atSDL3/SDL_gpu.h 1384:16
Since: 3.2.0
Constructors
| SDL_GPUViewport | |
Fields
| |
Instances
| Storable SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUViewport -> Int # alignment :: SDL_GPUViewport -> Int # peekElemOff :: Ptr SDL_GPUViewport -> Int -> IO SDL_GPUViewport # pokeElemOff :: Ptr SDL_GPUViewport -> Int -> SDL_GPUViewport -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUViewport # pokeByteOff :: Ptr b -> Int -> SDL_GPUViewport -> IO () # peek :: Ptr SDL_GPUViewport -> IO SDL_GPUViewport # poke :: Ptr SDL_GPUViewport -> SDL_GPUViewport -> IO () # | |||||
| Generic SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUViewport -> Rep SDL_GPUViewport x # to :: Rep SDL_GPUViewport x -> SDL_GPUViewport # | |||||
| Show SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUViewport -> ShowS # show :: SDL_GPUViewport -> String # showList :: [SDL_GPUViewport] -> ShowS # | |||||
| Eq SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUViewport -> SDL_GPUViewport -> Bool # (/=) :: SDL_GPUViewport -> SDL_GPUViewport -> Bool # | |||||
| ReadRaw SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUViewport -> IO SDL_GPUViewport # | |||||
| StaticSize SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUViewport -> Int # staticAlignment :: Proxy SDL_GPUViewport -> Int # | |||||
| WriteRaw SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUViewport -> SDL_GPUViewport -> IO () # | |||||
| IsStruct SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods zero :: SDL_GPUViewport # | |||||
| HasCField SDL_GPUViewport "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUViewport "max_depth" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUViewport "min_depth" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUViewport "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUViewport "x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUViewport "y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CFloat => HasField "h" SDL_GPUViewport ty Source # | The height of the viewport.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUViewport -> (ty -> SDL_GPUViewport, ty) # | |||||
| ty ~ CFloat => HasField "max_depth" SDL_GPUViewport ty Source # | The maximum depth of the viewport.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUViewport -> (ty -> SDL_GPUViewport, ty) # | |||||
| ty ~ CFloat => HasField "min_depth" SDL_GPUViewport ty Source # | The minimum depth of the viewport.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUViewport -> (ty -> SDL_GPUViewport, ty) # | |||||
| ty ~ CFloat => HasField "w" SDL_GPUViewport ty Source # | The width of the viewport.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUViewport -> (ty -> SDL_GPUViewport, ty) # | |||||
| ty ~ CFloat => HasField "x" SDL_GPUViewport ty Source # | The left offset of the viewport.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUViewport -> (ty -> SDL_GPUViewport, ty) # | |||||
| ty ~ CFloat => HasField "y" SDL_GPUViewport ty Source # | The top offset of the viewport.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUViewport -> (ty -> SDL_GPUViewport, ty) # | |||||
| ty ~ CFloat => HasField "h" (Ptr SDL_GPUViewport) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUViewport -> Ptr ty # | |||||
| ty ~ CFloat => HasField "max_depth" (Ptr SDL_GPUViewport) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUViewport -> Ptr ty # | |||||
| ty ~ CFloat => HasField "min_depth" (Ptr SDL_GPUViewport) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUViewport -> Ptr ty # | |||||
| ty ~ CFloat => HasField "w" (Ptr SDL_GPUViewport) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUViewport -> Ptr ty # | |||||
| ty ~ CFloat => HasField "x" (Ptr SDL_GPUViewport) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUViewport -> Ptr ty # | |||||
| ty ~ CFloat => HasField "y" (Ptr SDL_GPUViewport) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUViewport -> Ptr ty # | |||||
| type Rep SDL_GPUViewport Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUViewport = D1 ('MetaData "SDL_GPUViewport" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUViewport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: (S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "w") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat))) :*: (S1 ('MetaSel ('Just "h") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: (S1 ('MetaSel ('Just "min_depth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "max_depth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat))))) | |||||
| type CFieldType SDL_GPUViewport "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUViewport "max_depth" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUViewport "min_depth" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUViewport "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUViewport "x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUViewport "y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUTextureTransferInfo Source #
A structure specifying parameters related to transferring data to or from a texture.
If either of pixels_per_row or rows_per_layer is zero, then width and height of passed SDL_GPUTextureRegion to SDL_UploadToGPUTexture or SDL_DownloadFromGPUTexture are used as default values respectively and data is considered to be tightly packed.
WARNING: On some older/integrated hardware, Direct3D 12 requires texture data row pitch to be 256 byte aligned, and offsets to be aligned to 512 bytes. If they are not, SDL will make a temporary copy of the data that is properly aligned, but this adds overhead to the transfer process. Apps can avoid this by aligning their data appropriately, or using a different GPU backend than Direct3D 12.
- See also
sDL_UploadToGPUTexture,sDL_DownloadFromGPUTexture,SDL_GPUTransferBuffer- C declaration
struct SDL_GPUTextureTransferInfo, defined atSDL3/SDL_gpu.h 1416:16
Since: 3.2.0
Constructors
| SDL_GPUTextureTransferInfo | |
Fields
| |
Instances
| Storable SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTextureTransferInfo -> Int # alignment :: SDL_GPUTextureTransferInfo -> Int # peekElemOff :: Ptr SDL_GPUTextureTransferInfo -> Int -> IO SDL_GPUTextureTransferInfo # pokeElemOff :: Ptr SDL_GPUTextureTransferInfo -> Int -> SDL_GPUTextureTransferInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTextureTransferInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUTextureTransferInfo -> IO () # peek :: Ptr SDL_GPUTextureTransferInfo -> IO SDL_GPUTextureTransferInfo # poke :: Ptr SDL_GPUTextureTransferInfo -> SDL_GPUTextureTransferInfo -> IO () # | |||||
| Generic SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUTextureTransferInfo -> Rep SDL_GPUTextureTransferInfo x # to :: Rep SDL_GPUTextureTransferInfo x -> SDL_GPUTextureTransferInfo # | |||||
| Show SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTextureTransferInfo -> ShowS # show :: SDL_GPUTextureTransferInfo -> String # showList :: [SDL_GPUTextureTransferInfo] -> ShowS # | |||||
| Eq SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTextureTransferInfo -> SDL_GPUTextureTransferInfo -> Bool # (/=) :: SDL_GPUTextureTransferInfo -> SDL_GPUTextureTransferInfo -> Bool # | |||||
| ReadRaw SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTextureTransferInfo -> IO SDL_GPUTextureTransferInfo # | |||||
| StaticSize SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUTextureTransferInfo -> Int # staticAlignment :: Proxy SDL_GPUTextureTransferInfo -> Int # | |||||
| WriteRaw SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTextureTransferInfo -> SDL_GPUTextureTransferInfo -> IO () # | |||||
| IsStruct SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUTextureTransferInfo "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureTransferInfo "pixels_per_row" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureTransferInfo "rows_per_layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureTransferInfo "transfer_buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "offset" SDL_GPUTextureTransferInfo ty Source # | The starting byte of the image data in the transfer buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureTransferInfo -> (ty -> SDL_GPUTextureTransferInfo, ty) # | |||||
| ty ~ Uint32 => HasField "pixels_per_row" SDL_GPUTextureTransferInfo ty Source # | The number of pixels from one row to the next.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureTransferInfo -> (ty -> SDL_GPUTextureTransferInfo, ty) # | |||||
| ty ~ Uint32 => HasField "rows_per_layer" SDL_GPUTextureTransferInfo ty Source # | The number of rows from one layer/depth-slice to the next.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureTransferInfo -> (ty -> SDL_GPUTextureTransferInfo, ty) # | |||||
| ty ~ Ptr SDL_GPUTransferBuffer => HasField "transfer_buffer" SDL_GPUTextureTransferInfo ty Source # | The transfer buffer used in the transfer operation.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureTransferInfo -> (ty -> SDL_GPUTextureTransferInfo, ty) # | |||||
| ty ~ Uint32 => HasField "offset" (Ptr SDL_GPUTextureTransferInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureTransferInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "pixels_per_row" (Ptr SDL_GPUTextureTransferInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureTransferInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "rows_per_layer" (Ptr SDL_GPUTextureTransferInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureTransferInfo -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTransferBuffer => HasField "transfer_buffer" (Ptr SDL_GPUTextureTransferInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureTransferInfo -> Ptr ty # | |||||
| type Rep SDL_GPUTextureTransferInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTextureTransferInfo = D1 ('MetaData "SDL_GPUTextureTransferInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUTextureTransferInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "transfer_buffer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTransferBuffer)) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "pixels_per_row") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "rows_per_layer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) | |||||
| type CFieldType SDL_GPUTextureTransferInfo "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureTransferInfo "pixels_per_row" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureTransferInfo "rows_per_layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureTransferInfo "transfer_buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUTransferBufferLocation Source #
A structure specifying a location in a transfer buffer.
Used when transferring buffer data to or from a transfer buffer.
- See also
sDL_UploadToGPUBuffer,sDL_DownloadFromGPUBuffer,SDL_GPUTransferBuffer- C declaration
struct SDL_GPUTransferBufferLocation, defined atSDL3/SDL_gpu.h 1435:16
Since: 3.2.0
Constructors
| SDL_GPUTransferBufferLocation | |
Fields
| |
Instances
| Storable SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTransferBufferLocation -> Int # alignment :: SDL_GPUTransferBufferLocation -> Int # peekElemOff :: Ptr SDL_GPUTransferBufferLocation -> Int -> IO SDL_GPUTransferBufferLocation # pokeElemOff :: Ptr SDL_GPUTransferBufferLocation -> Int -> SDL_GPUTransferBufferLocation -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTransferBufferLocation # pokeByteOff :: Ptr b -> Int -> SDL_GPUTransferBufferLocation -> IO () # peek :: Ptr SDL_GPUTransferBufferLocation -> IO SDL_GPUTransferBufferLocation # poke :: Ptr SDL_GPUTransferBufferLocation -> SDL_GPUTransferBufferLocation -> IO () # | |||||
| Generic SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTransferBufferLocation -> ShowS # show :: SDL_GPUTransferBufferLocation -> String # showList :: [SDL_GPUTransferBufferLocation] -> ShowS # | |||||
| Eq SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTransferBufferLocation -> IO SDL_GPUTransferBufferLocation # | |||||
| StaticSize SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUTransferBufferLocation -> Int # staticAlignment :: Proxy SDL_GPUTransferBufferLocation -> Int # | |||||
| WriteRaw SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTransferBufferLocation -> SDL_GPUTransferBufferLocation -> IO () # | |||||
| IsStruct SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUTransferBufferLocation "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTransferBufferLocation "transfer_buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "offset" SDL_GPUTransferBufferLocation ty Source # | The starting byte of the buffer data in the transfer buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTransferBufferLocation -> (ty -> SDL_GPUTransferBufferLocation, ty) # | |||||
| ty ~ Ptr SDL_GPUTransferBuffer => HasField "transfer_buffer" SDL_GPUTransferBufferLocation ty Source # | The transfer buffer used in the transfer operation.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTransferBufferLocation -> (ty -> SDL_GPUTransferBufferLocation, ty) # | |||||
| ty ~ Uint32 => HasField "offset" (Ptr SDL_GPUTransferBufferLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTransferBufferLocation -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTransferBuffer => HasField "transfer_buffer" (Ptr SDL_GPUTransferBufferLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTransferBufferLocation -> Ptr ty # | |||||
| type Rep SDL_GPUTransferBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTransferBufferLocation = D1 ('MetaData "SDL_GPUTransferBufferLocation" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUTransferBufferLocation" 'PrefixI 'True) (S1 ('MetaSel ('Just "transfer_buffer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTransferBuffer)) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) | |||||
| type CFieldType SDL_GPUTransferBufferLocation "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTransferBufferLocation "transfer_buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUTextureLocation Source #
A structure specifying a location in a texture.
Used when copying data from one texture to another.
- See also
sDL_CopyGPUTextureToTexture,SDL_GPUTexture- C declaration
struct SDL_GPUTextureLocation, defined atSDL3/SDL_gpu.h 1451:16
Since: 3.2.0
Constructors
| SDL_GPUTextureLocation | |
Fields
| |
Instances
| Storable SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTextureLocation -> Int # alignment :: SDL_GPUTextureLocation -> Int # peekElemOff :: Ptr SDL_GPUTextureLocation -> Int -> IO SDL_GPUTextureLocation # pokeElemOff :: Ptr SDL_GPUTextureLocation -> Int -> SDL_GPUTextureLocation -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTextureLocation # pokeByteOff :: Ptr b -> Int -> SDL_GPUTextureLocation -> IO () # peek :: Ptr SDL_GPUTextureLocation -> IO SDL_GPUTextureLocation # poke :: Ptr SDL_GPUTextureLocation -> SDL_GPUTextureLocation -> IO () # | |||||
| Generic SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUTextureLocation -> Rep SDL_GPUTextureLocation x # to :: Rep SDL_GPUTextureLocation x -> SDL_GPUTextureLocation # | |||||
| Show SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTextureLocation -> ShowS # show :: SDL_GPUTextureLocation -> String # showList :: [SDL_GPUTextureLocation] -> ShowS # | |||||
| Eq SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTextureLocation -> SDL_GPUTextureLocation -> Bool # (/=) :: SDL_GPUTextureLocation -> SDL_GPUTextureLocation -> Bool # | |||||
| ReadRaw SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTextureLocation -> IO SDL_GPUTextureLocation # | |||||
| StaticSize SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTextureLocation -> SDL_GPUTextureLocation -> IO () # | |||||
| IsStruct SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUTextureLocation "layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureLocation "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureLocation "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureLocation "x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureLocation "y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureLocation "z" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "layer" SDL_GPUTextureLocation ty Source # | The layer index of the location.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureLocation -> (ty -> SDL_GPUTextureLocation, ty) # | |||||
| ty ~ Uint32 => HasField "mip_level" SDL_GPUTextureLocation ty Source # | The mip level index of the location.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureLocation -> (ty -> SDL_GPUTextureLocation, ty) # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" SDL_GPUTextureLocation ty Source # | The texture used in the copy operation.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureLocation -> (ty -> SDL_GPUTextureLocation, ty) # | |||||
| ty ~ Uint32 => HasField "x" SDL_GPUTextureLocation ty Source # | The left offset of the location.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureLocation -> (ty -> SDL_GPUTextureLocation, ty) # | |||||
| ty ~ Uint32 => HasField "y" SDL_GPUTextureLocation ty Source # | The top offset of the location.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureLocation -> (ty -> SDL_GPUTextureLocation, ty) # | |||||
| ty ~ Uint32 => HasField "z" SDL_GPUTextureLocation ty Source # | The front offset of the location.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureLocation -> (ty -> SDL_GPUTextureLocation, ty) # | |||||
| ty ~ Uint32 => HasField "layer" (Ptr SDL_GPUTextureLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureLocation -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "mip_level" (Ptr SDL_GPUTextureLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureLocation -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" (Ptr SDL_GPUTextureLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureLocation -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "x" (Ptr SDL_GPUTextureLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureLocation -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "y" (Ptr SDL_GPUTextureLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureLocation -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "z" (Ptr SDL_GPUTextureLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureLocation -> Ptr ty # | |||||
| type Rep SDL_GPUTextureLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTextureLocation = D1 ('MetaData "SDL_GPUTextureLocation" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUTextureLocation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTexture)) :*: (S1 ('MetaSel ('Just "mip_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "layer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) :*: (S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "z") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))))) | |||||
| type CFieldType SDL_GPUTextureLocation "layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureLocation "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureLocation "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureLocation "x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureLocation "y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureLocation "z" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUTextureRegion Source #
A structure specifying a region of a texture.
Used when transferring data to or from a texture.
- See also
sDL_UploadToGPUTexture,sDL_DownloadFromGPUTexture,sDL_CreateGPUTexture,SDL_GPUTexture- C declaration
struct SDL_GPUTextureRegion, defined atSDL3/SDL_gpu.h 1473:16
Since: 3.2.0
Constructors
| SDL_GPUTextureRegion | |
Fields
| |
Instances
| Storable SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTextureRegion -> Int # alignment :: SDL_GPUTextureRegion -> Int # peekElemOff :: Ptr SDL_GPUTextureRegion -> Int -> IO SDL_GPUTextureRegion # pokeElemOff :: Ptr SDL_GPUTextureRegion -> Int -> SDL_GPUTextureRegion -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTextureRegion # pokeByteOff :: Ptr b -> Int -> SDL_GPUTextureRegion -> IO () # peek :: Ptr SDL_GPUTextureRegion -> IO SDL_GPUTextureRegion # poke :: Ptr SDL_GPUTextureRegion -> SDL_GPUTextureRegion -> IO () # | |||||
| Generic SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUTextureRegion -> Rep SDL_GPUTextureRegion x # to :: Rep SDL_GPUTextureRegion x -> SDL_GPUTextureRegion # | |||||
| Show SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTextureRegion -> ShowS # show :: SDL_GPUTextureRegion -> String # showList :: [SDL_GPUTextureRegion] -> ShowS # | |||||
| Eq SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTextureRegion -> SDL_GPUTextureRegion -> Bool # (/=) :: SDL_GPUTextureRegion -> SDL_GPUTextureRegion -> Bool # | |||||
| ReadRaw SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTextureRegion -> IO SDL_GPUTextureRegion # | |||||
| StaticSize SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTextureRegion -> SDL_GPUTextureRegion -> IO () # | |||||
| IsStruct SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUTextureRegion "d" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureRegion "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureRegion "layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureRegion "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureRegion "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureRegion "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureRegion "x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureRegion "y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureRegion "z" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "d" SDL_GPUTextureRegion ty Source # | The depth of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Uint32 => HasField "h" SDL_GPUTextureRegion ty Source # | The height of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Uint32 => HasField "layer" SDL_GPUTextureRegion ty Source # | The layer index to transfer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Uint32 => HasField "mip_level" SDL_GPUTextureRegion ty Source # | The mip level index to transfer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" SDL_GPUTextureRegion ty Source # | The texture used in the copy operation.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Uint32 => HasField "w" SDL_GPUTextureRegion ty Source # | The width of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Uint32 => HasField "x" SDL_GPUTextureRegion ty Source # | The left offset of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Uint32 => HasField "y" SDL_GPUTextureRegion ty Source # | The top offset of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Uint32 => HasField "z" SDL_GPUTextureRegion ty Source # | The front offset of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureRegion -> (ty -> SDL_GPUTextureRegion, ty) # | |||||
| ty ~ Uint32 => HasField "d" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "h" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "layer" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "mip_level" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "w" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "x" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "y" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "z" (Ptr SDL_GPUTextureRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureRegion -> Ptr ty # | |||||
| type Rep SDL_GPUTextureRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTextureRegion = D1 ('MetaData "SDL_GPUTextureRegion" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUTextureRegion" 'PrefixI 'True) (((S1 ('MetaSel ('Just "texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTexture)) :*: S1 ('MetaSel ('Just "mip_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "layer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) :*: ((S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "z") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "w") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "h") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "d") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))))) | |||||
| type CFieldType SDL_GPUTextureRegion "d" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureRegion "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureRegion "layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureRegion "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureRegion "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureRegion "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureRegion "x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureRegion "y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureRegion "z" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUBlitRegion Source #
A structure specifying a region of a texture used in the blit operation.
- See also
sDL_BlitGPUTexture,SDL_GPUTexture- C declaration
struct SDL_GPUBlitRegion, defined atSDL3/SDL_gpu.h 1494:16
Since: 3.2.0
Constructors
| SDL_GPUBlitRegion | |
Fields
| |
Instances
| Storable SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBlitRegion -> Int # alignment :: SDL_GPUBlitRegion -> Int # peekElemOff :: Ptr SDL_GPUBlitRegion -> Int -> IO SDL_GPUBlitRegion # pokeElemOff :: Ptr SDL_GPUBlitRegion -> Int -> SDL_GPUBlitRegion -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBlitRegion # pokeByteOff :: Ptr b -> Int -> SDL_GPUBlitRegion -> IO () # peek :: Ptr SDL_GPUBlitRegion -> IO SDL_GPUBlitRegion # poke :: Ptr SDL_GPUBlitRegion -> SDL_GPUBlitRegion -> IO () # | |||||
| Generic SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBlitRegion -> Rep SDL_GPUBlitRegion x # to :: Rep SDL_GPUBlitRegion x -> SDL_GPUBlitRegion # | |||||
| Show SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBlitRegion -> ShowS # show :: SDL_GPUBlitRegion -> String # showList :: [SDL_GPUBlitRegion] -> ShowS # | |||||
| Eq SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBlitRegion -> SDL_GPUBlitRegion -> Bool # (/=) :: SDL_GPUBlitRegion -> SDL_GPUBlitRegion -> Bool # | |||||
| ReadRaw SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| StaticSize SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUBlitRegion -> Int # | |||||
| WriteRaw SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBlitRegion -> SDL_GPUBlitRegion -> IO () # | |||||
| IsStruct SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUBlitRegion "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitRegion "layer_or_depth_plane" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitRegion "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitRegion "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitRegion "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitRegion "x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitRegion "y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "h" SDL_GPUBlitRegion ty Source # | The height of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitRegion -> (ty -> SDL_GPUBlitRegion, ty) # | |||||
| ty ~ Uint32 => HasField "layer_or_depth_plane" SDL_GPUBlitRegion ty Source # | The layer index or depth plane of the region. This value is treated as a layer index on 2D array and cube textures, and as a depth plane on 3D textures.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitRegion -> (ty -> SDL_GPUBlitRegion, ty) # | |||||
| ty ~ Uint32 => HasField "mip_level" SDL_GPUBlitRegion ty Source # | The mip level index of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitRegion -> (ty -> SDL_GPUBlitRegion, ty) # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" SDL_GPUBlitRegion ty Source # | The texture.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitRegion -> (ty -> SDL_GPUBlitRegion, ty) # | |||||
| ty ~ Uint32 => HasField "w" SDL_GPUBlitRegion ty Source # | The width of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitRegion -> (ty -> SDL_GPUBlitRegion, ty) # | |||||
| ty ~ Uint32 => HasField "x" SDL_GPUBlitRegion ty Source # | The left offset of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitRegion -> (ty -> SDL_GPUBlitRegion, ty) # | |||||
| ty ~ Uint32 => HasField "y" SDL_GPUBlitRegion ty Source # | The top offset of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitRegion -> (ty -> SDL_GPUBlitRegion, ty) # | |||||
| ty ~ Uint32 => HasField "h" (Ptr SDL_GPUBlitRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "layer_or_depth_plane" (Ptr SDL_GPUBlitRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "mip_level" (Ptr SDL_GPUBlitRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitRegion -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" (Ptr SDL_GPUBlitRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "w" (Ptr SDL_GPUBlitRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "x" (Ptr SDL_GPUBlitRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "y" (Ptr SDL_GPUBlitRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitRegion -> Ptr ty # | |||||
| type Rep SDL_GPUBlitRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBlitRegion = D1 ('MetaData "SDL_GPUBlitRegion" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUBlitRegion" 'PrefixI 'True) ((S1 ('MetaSel ('Just "texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTexture)) :*: (S1 ('MetaSel ('Just "mip_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "layer_or_depth_plane") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) :*: ((S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "w") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "h") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))))) | |||||
| type CFieldType SDL_GPUBlitRegion "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitRegion "layer_or_depth_plane" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitRegion "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitRegion "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitRegion "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitRegion "x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitRegion "y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUBufferLocation Source #
A structure specifying a location in a buffer.
Used when copying data between buffers.
- See also
sDL_CopyGPUBufferToBuffer- C declaration
struct SDL_GPUBufferLocation, defined atSDL3/SDL_gpu.h 1514:16
Since: 3.2.0
Constructors
| SDL_GPUBufferLocation | |
Fields
| |
Instances
| Storable SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBufferLocation -> Int # alignment :: SDL_GPUBufferLocation -> Int # peekElemOff :: Ptr SDL_GPUBufferLocation -> Int -> IO SDL_GPUBufferLocation # pokeElemOff :: Ptr SDL_GPUBufferLocation -> Int -> SDL_GPUBufferLocation -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBufferLocation # pokeByteOff :: Ptr b -> Int -> SDL_GPUBufferLocation -> IO () # peek :: Ptr SDL_GPUBufferLocation -> IO SDL_GPUBufferLocation # poke :: Ptr SDL_GPUBufferLocation -> SDL_GPUBufferLocation -> IO () # | |||||
| Generic SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBufferLocation -> Rep SDL_GPUBufferLocation x # to :: Rep SDL_GPUBufferLocation x -> SDL_GPUBufferLocation # | |||||
| Show SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBufferLocation -> ShowS # show :: SDL_GPUBufferLocation -> String # showList :: [SDL_GPUBufferLocation] -> ShowS # | |||||
| Eq SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBufferLocation -> SDL_GPUBufferLocation -> Bool # (/=) :: SDL_GPUBufferLocation -> SDL_GPUBufferLocation -> Bool # | |||||
| ReadRaw SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUBufferLocation -> IO SDL_GPUBufferLocation # | |||||
| StaticSize SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBufferLocation -> SDL_GPUBufferLocation -> IO () # | |||||
| IsStruct SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUBufferLocation "buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBufferLocation "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Ptr SDL_GPUBuffer => HasField "buffer" SDL_GPUBufferLocation ty Source # | The buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferLocation -> (ty -> SDL_GPUBufferLocation, ty) # | |||||
| ty ~ Uint32 => HasField "offset" SDL_GPUBufferLocation ty Source # | The starting byte within the buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferLocation -> (ty -> SDL_GPUBufferLocation, ty) # | |||||
| ty ~ Ptr SDL_GPUBuffer => HasField "buffer" (Ptr SDL_GPUBufferLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferLocation -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "offset" (Ptr SDL_GPUBufferLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferLocation -> Ptr ty # | |||||
| type Rep SDL_GPUBufferLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBufferLocation = D1 ('MetaData "SDL_GPUBufferLocation" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUBufferLocation" 'PrefixI 'True) (S1 ('MetaSel ('Just "buffer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUBuffer)) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) | |||||
| type CFieldType SDL_GPUBufferLocation "buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBufferLocation "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUBufferRegion Source #
A structure specifying a region of a buffer.
Used when transferring data to or from buffers.
- See also
sDL_UploadToGPUBuffer,sDL_DownloadFromGPUBuffer- C declaration
struct SDL_GPUBufferRegion, defined atSDL3/SDL_gpu.h 1530:16
Since: 3.2.0
Constructors
| SDL_GPUBufferRegion | |
Fields | |
Instances
| Storable SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBufferRegion -> Int # alignment :: SDL_GPUBufferRegion -> Int # peekElemOff :: Ptr SDL_GPUBufferRegion -> Int -> IO SDL_GPUBufferRegion # pokeElemOff :: Ptr SDL_GPUBufferRegion -> Int -> SDL_GPUBufferRegion -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBufferRegion # pokeByteOff :: Ptr b -> Int -> SDL_GPUBufferRegion -> IO () # peek :: Ptr SDL_GPUBufferRegion -> IO SDL_GPUBufferRegion # poke :: Ptr SDL_GPUBufferRegion -> SDL_GPUBufferRegion -> IO () # | |||||
| Generic SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBufferRegion -> Rep SDL_GPUBufferRegion x # to :: Rep SDL_GPUBufferRegion x -> SDL_GPUBufferRegion # | |||||
| Show SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBufferRegion -> ShowS # show :: SDL_GPUBufferRegion -> String # showList :: [SDL_GPUBufferRegion] -> ShowS # | |||||
| Eq SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBufferRegion -> SDL_GPUBufferRegion -> Bool # (/=) :: SDL_GPUBufferRegion -> SDL_GPUBufferRegion -> Bool # | |||||
| ReadRaw SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUBufferRegion -> IO SDL_GPUBufferRegion # | |||||
| StaticSize SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUBufferRegion -> Int # | |||||
| WriteRaw SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBufferRegion -> SDL_GPUBufferRegion -> IO () # | |||||
| IsStruct SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUBufferRegion "buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBufferRegion "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBufferRegion "size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Ptr SDL_GPUBuffer => HasField "buffer" SDL_GPUBufferRegion ty Source # | The buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferRegion -> (ty -> SDL_GPUBufferRegion, ty) # | |||||
| ty ~ Uint32 => HasField "offset" SDL_GPUBufferRegion ty Source # | The starting byte within the buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferRegion -> (ty -> SDL_GPUBufferRegion, ty) # | |||||
| ty ~ Uint32 => HasField "size" SDL_GPUBufferRegion ty Source # | The size in bytes of the region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferRegion -> (ty -> SDL_GPUBufferRegion, ty) # | |||||
| ty ~ Ptr SDL_GPUBuffer => HasField "buffer" (Ptr SDL_GPUBufferRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "offset" (Ptr SDL_GPUBufferRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferRegion -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "size" (Ptr SDL_GPUBufferRegion) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferRegion -> Ptr ty # | |||||
| type Rep SDL_GPUBufferRegion Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBufferRegion = D1 ('MetaData "SDL_GPUBufferRegion" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUBufferRegion" 'PrefixI 'True) (S1 ('MetaSel ('Just "buffer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUBuffer)) :*: (S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) | |||||
| type CFieldType SDL_GPUBufferRegion "buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBufferRegion "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBufferRegion "size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUIndirectDrawCommand Source #
A structure specifying the parameters of an indirect draw command.
Note that the first_vertex and first_instance parameters are NOT compatible with built-in vertex/instance ID variables in shaders (for example, SV_VertexID); GPU APIs and shader languages do not define these built-in variables consistently, so if your shader depends on them, the only way to keep behavior consistent and portable is to always pass 0 for the correlating parameter in the draw calls.
- See also
sDL_DrawGPUPrimitivesIndirect- C declaration
struct SDL_GPUIndirectDrawCommand, defined atSDL3/SDL_gpu.h 1551:16
Since: 3.2.0
Constructors
| SDL_GPUIndirectDrawCommand | |
Fields
| |
Instances
| Storable SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUIndirectDrawCommand -> Int # alignment :: SDL_GPUIndirectDrawCommand -> Int # peekElemOff :: Ptr SDL_GPUIndirectDrawCommand -> Int -> IO SDL_GPUIndirectDrawCommand # pokeElemOff :: Ptr SDL_GPUIndirectDrawCommand -> Int -> SDL_GPUIndirectDrawCommand -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUIndirectDrawCommand # pokeByteOff :: Ptr b -> Int -> SDL_GPUIndirectDrawCommand -> IO () # peek :: Ptr SDL_GPUIndirectDrawCommand -> IO SDL_GPUIndirectDrawCommand # poke :: Ptr SDL_GPUIndirectDrawCommand -> SDL_GPUIndirectDrawCommand -> IO () # | |||||
| Generic SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUIndirectDrawCommand -> Rep SDL_GPUIndirectDrawCommand x # to :: Rep SDL_GPUIndirectDrawCommand x -> SDL_GPUIndirectDrawCommand # | |||||
| Show SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUIndirectDrawCommand -> ShowS # show :: SDL_GPUIndirectDrawCommand -> String # showList :: [SDL_GPUIndirectDrawCommand] -> ShowS # | |||||
| Eq SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUIndirectDrawCommand -> SDL_GPUIndirectDrawCommand -> Bool # (/=) :: SDL_GPUIndirectDrawCommand -> SDL_GPUIndirectDrawCommand -> Bool # | |||||
| ReadRaw SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUIndirectDrawCommand -> IO SDL_GPUIndirectDrawCommand # | |||||
| StaticSize SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUIndirectDrawCommand -> Int # staticAlignment :: Proxy SDL_GPUIndirectDrawCommand -> Int # | |||||
| WriteRaw SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUIndirectDrawCommand -> SDL_GPUIndirectDrawCommand -> IO () # | |||||
| IsStruct SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUIndirectDrawCommand "first_instance" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndirectDrawCommand "first_vertex" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndirectDrawCommand "num_instances" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndirectDrawCommand "num_vertices" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "first_instance" SDL_GPUIndirectDrawCommand ty Source # | The ID of the first instance to draw.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndirectDrawCommand -> (ty -> SDL_GPUIndirectDrawCommand, ty) # | |||||
| ty ~ Uint32 => HasField "first_vertex" SDL_GPUIndirectDrawCommand ty Source # | The index of the first vertex to draw.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndirectDrawCommand -> (ty -> SDL_GPUIndirectDrawCommand, ty) # | |||||
| ty ~ Uint32 => HasField "num_instances" SDL_GPUIndirectDrawCommand ty Source # | The number of instances to draw.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndirectDrawCommand -> (ty -> SDL_GPUIndirectDrawCommand, ty) # | |||||
| ty ~ Uint32 => HasField "num_vertices" SDL_GPUIndirectDrawCommand ty Source # | The number of vertices to draw.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndirectDrawCommand -> (ty -> SDL_GPUIndirectDrawCommand, ty) # | |||||
| ty ~ Uint32 => HasField "first_instance" (Ptr SDL_GPUIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndirectDrawCommand -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "first_vertex" (Ptr SDL_GPUIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndirectDrawCommand -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_instances" (Ptr SDL_GPUIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndirectDrawCommand -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_vertices" (Ptr SDL_GPUIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndirectDrawCommand -> Ptr ty # | |||||
| type Rep SDL_GPUIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUIndirectDrawCommand = D1 ('MetaData "SDL_GPUIndirectDrawCommand" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUIndirectDrawCommand" 'PrefixI 'True) ((S1 ('MetaSel ('Just "num_vertices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "num_instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "first_vertex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "first_instance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) | |||||
| type CFieldType SDL_GPUIndirectDrawCommand "first_instance" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndirectDrawCommand "first_vertex" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndirectDrawCommand "num_instances" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndirectDrawCommand "num_vertices" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUIndexedIndirectDrawCommand Source #
A structure specifying the parameters of an indexed indirect draw command.
Note that the first_vertex and first_instance parameters are NOT compatible with built-in vertex/instance ID variables in shaders (for example, SV_VertexID); GPU APIs and shader languages do not define these built-in variables consistently, so if your shader depends on them, the only way to keep behavior consistent and portable is to always pass 0 for the correlating parameter in the draw calls.
- See also
sDL_DrawGPUIndexedPrimitivesIndirect- C declaration
struct SDL_GPUIndexedIndirectDrawCommand, defined atSDL3/SDL_gpu.h 1573:16
Since: 3.2.0
Constructors
| SDL_GPUIndexedIndirectDrawCommand | |
Fields
| |
Instances
| Storable SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUIndexedIndirectDrawCommand -> Int # alignment :: SDL_GPUIndexedIndirectDrawCommand -> Int # peekElemOff :: Ptr SDL_GPUIndexedIndirectDrawCommand -> Int -> IO SDL_GPUIndexedIndirectDrawCommand # pokeElemOff :: Ptr SDL_GPUIndexedIndirectDrawCommand -> Int -> SDL_GPUIndexedIndirectDrawCommand -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUIndexedIndirectDrawCommand # pokeByteOff :: Ptr b -> Int -> SDL_GPUIndexedIndirectDrawCommand -> IO () # peek :: Ptr SDL_GPUIndexedIndirectDrawCommand -> IO SDL_GPUIndexedIndirectDrawCommand # poke :: Ptr SDL_GPUIndexedIndirectDrawCommand -> SDL_GPUIndexedIndirectDrawCommand -> IO () # | |||||
| Generic SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUIndexedIndirectDrawCommand -> ShowS # | |||||
| Eq SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| WriteRaw SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUIndexedIndirectDrawCommand -> SDL_GPUIndexedIndirectDrawCommand -> IO () # | |||||
| IsStruct SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUIndexedIndirectDrawCommand "first_index" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndexedIndirectDrawCommand "first_instance" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndexedIndirectDrawCommand "num_indices" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndexedIndirectDrawCommand "num_instances" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndexedIndirectDrawCommand "vertex_offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "first_index" SDL_GPUIndexedIndirectDrawCommand ty Source # | The base index within the index buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndexedIndirectDrawCommand -> (ty -> SDL_GPUIndexedIndirectDrawCommand, ty) # | |||||
| ty ~ Uint32 => HasField "first_instance" SDL_GPUIndexedIndirectDrawCommand ty Source # | The ID of the first instance to draw.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndexedIndirectDrawCommand -> (ty -> SDL_GPUIndexedIndirectDrawCommand, ty) # | |||||
| ty ~ Uint32 => HasField "num_indices" SDL_GPUIndexedIndirectDrawCommand ty Source # | The number of indices to draw per instance.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndexedIndirectDrawCommand -> (ty -> SDL_GPUIndexedIndirectDrawCommand, ty) # | |||||
| ty ~ Uint32 => HasField "num_instances" SDL_GPUIndexedIndirectDrawCommand ty Source # | The number of instances to draw.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndexedIndirectDrawCommand -> (ty -> SDL_GPUIndexedIndirectDrawCommand, ty) # | |||||
| ty ~ Sint32 => HasField "vertex_offset" SDL_GPUIndexedIndirectDrawCommand ty Source # | The value added to the vertex index before indexing into the vertex buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndexedIndirectDrawCommand -> (ty -> SDL_GPUIndexedIndirectDrawCommand, ty) # | |||||
| ty ~ Uint32 => HasField "first_index" (Ptr SDL_GPUIndexedIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndexedIndirectDrawCommand -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "first_instance" (Ptr SDL_GPUIndexedIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndexedIndirectDrawCommand -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_indices" (Ptr SDL_GPUIndexedIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndexedIndirectDrawCommand -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_instances" (Ptr SDL_GPUIndexedIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndexedIndirectDrawCommand -> Ptr ty # | |||||
| ty ~ Sint32 => HasField "vertex_offset" (Ptr SDL_GPUIndexedIndirectDrawCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndexedIndirectDrawCommand -> Ptr ty # | |||||
| type Rep SDL_GPUIndexedIndirectDrawCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUIndexedIndirectDrawCommand = D1 ('MetaData "SDL_GPUIndexedIndirectDrawCommand" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUIndexedIndirectDrawCommand" 'PrefixI 'True) ((S1 ('MetaSel ('Just "num_indices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "num_instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "first_index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "vertex_offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Sint32) :*: S1 ('MetaSel ('Just "first_instance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))))) | |||||
| type CFieldType SDL_GPUIndexedIndirectDrawCommand "first_index" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndexedIndirectDrawCommand "first_instance" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndexedIndirectDrawCommand "num_indices" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndexedIndirectDrawCommand "num_instances" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndexedIndirectDrawCommand "vertex_offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUIndirectDispatchCommand Source #
A structure specifying the parameters of an indexed dispatch command.
- See also
sDL_DispatchGPUComputeIndirect- C declaration
struct SDL_GPUIndirectDispatchCommand, defined atSDL3/SDL_gpu.h 1589:16
Since: 3.2.0
Constructors
| SDL_GPUIndirectDispatchCommand | |
Fields
| |
Instances
| Storable SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUIndirectDispatchCommand -> Int # alignment :: SDL_GPUIndirectDispatchCommand -> Int # peekElemOff :: Ptr SDL_GPUIndirectDispatchCommand -> Int -> IO SDL_GPUIndirectDispatchCommand # pokeElemOff :: Ptr SDL_GPUIndirectDispatchCommand -> Int -> SDL_GPUIndirectDispatchCommand -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUIndirectDispatchCommand # pokeByteOff :: Ptr b -> Int -> SDL_GPUIndirectDispatchCommand -> IO () # peek :: Ptr SDL_GPUIndirectDispatchCommand -> IO SDL_GPUIndirectDispatchCommand # poke :: Ptr SDL_GPUIndirectDispatchCommand -> SDL_GPUIndirectDispatchCommand -> IO () # | |||||
| Generic SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUIndirectDispatchCommand -> ShowS # show :: SDL_GPUIndirectDispatchCommand -> String # showList :: [SDL_GPUIndirectDispatchCommand] -> ShowS # | |||||
| Eq SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUIndirectDispatchCommand -> Int # staticAlignment :: Proxy SDL_GPUIndirectDispatchCommand -> Int # | |||||
| WriteRaw SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUIndirectDispatchCommand -> SDL_GPUIndirectDispatchCommand -> IO () # | |||||
| IsStruct SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUIndirectDispatchCommand "groupcount_x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndirectDispatchCommand "groupcount_y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUIndirectDispatchCommand "groupcount_z" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "groupcount_x" SDL_GPUIndirectDispatchCommand ty Source # | The number of local workgroups to dispatch in the X dimension.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndirectDispatchCommand -> (ty -> SDL_GPUIndirectDispatchCommand, ty) # | |||||
| ty ~ Uint32 => HasField "groupcount_y" SDL_GPUIndirectDispatchCommand ty Source # | The number of local workgroups to dispatch in the Y dimension.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndirectDispatchCommand -> (ty -> SDL_GPUIndirectDispatchCommand, ty) # | |||||
| ty ~ Uint32 => HasField "groupcount_z" SDL_GPUIndirectDispatchCommand ty Source # | The number of local workgroups to dispatch in the Z dimension.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUIndirectDispatchCommand -> (ty -> SDL_GPUIndirectDispatchCommand, ty) # | |||||
| ty ~ Uint32 => HasField "groupcount_x" (Ptr SDL_GPUIndirectDispatchCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndirectDispatchCommand -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "groupcount_y" (Ptr SDL_GPUIndirectDispatchCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndirectDispatchCommand -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "groupcount_z" (Ptr SDL_GPUIndirectDispatchCommand) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUIndirectDispatchCommand -> Ptr ty # | |||||
| type Rep SDL_GPUIndirectDispatchCommand Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUIndirectDispatchCommand = D1 ('MetaData "SDL_GPUIndirectDispatchCommand" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUIndirectDispatchCommand" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupcount_x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "groupcount_y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "groupcount_z") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) | |||||
| type CFieldType SDL_GPUIndirectDispatchCommand "groupcount_x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndirectDispatchCommand "groupcount_y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUIndirectDispatchCommand "groupcount_z" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUSamplerCreateInfo Source #
A structure specifying the parameters of a sampler.
Note that mip_lod_bias is a no-op for the Metal driver. For Metal, LOD bias must be applied via shader instead.
- See also
sDL_CreateGPUSampler,SDL_GPUFilter,SDL_GPUSamplerMipmapMode,SDL_GPUSamplerAddressMode,SDL_GPUCompareOp- C declaration
struct SDL_GPUSamplerCreateInfo, defined atSDL3/SDL_gpu.h 1612:16
Since: 3.2.0
Constructors
| SDL_GPUSamplerCreateInfo | |
Fields
| |
Instances
| Storable SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUSamplerCreateInfo -> Int # alignment :: SDL_GPUSamplerCreateInfo -> Int # peekElemOff :: Ptr SDL_GPUSamplerCreateInfo -> Int -> IO SDL_GPUSamplerCreateInfo # pokeElemOff :: Ptr SDL_GPUSamplerCreateInfo -> Int -> SDL_GPUSamplerCreateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUSamplerCreateInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUSamplerCreateInfo -> IO () # peek :: Ptr SDL_GPUSamplerCreateInfo -> IO SDL_GPUSamplerCreateInfo # poke :: Ptr SDL_GPUSamplerCreateInfo -> SDL_GPUSamplerCreateInfo -> IO () # | |||||
| Generic SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUSamplerCreateInfo -> Rep SDL_GPUSamplerCreateInfo x # to :: Rep SDL_GPUSamplerCreateInfo x -> SDL_GPUSamplerCreateInfo # | |||||
| Show SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUSamplerCreateInfo -> ShowS # show :: SDL_GPUSamplerCreateInfo -> String # showList :: [SDL_GPUSamplerCreateInfo] -> ShowS # | |||||
| Eq SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUSamplerCreateInfo -> SDL_GPUSamplerCreateInfo -> Bool # (/=) :: SDL_GPUSamplerCreateInfo -> SDL_GPUSamplerCreateInfo -> Bool # | |||||
| ReadRaw SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUSamplerCreateInfo -> IO SDL_GPUSamplerCreateInfo # | |||||
| StaticSize SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUSamplerCreateInfo -> SDL_GPUSamplerCreateInfo -> IO () # | |||||
| IsStruct SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUSamplerCreateInfo "address_mode_u" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "address_mode_v" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "address_mode_w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "compare_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "enable_anisotropy" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "enable_compare" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "mag_filter" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "max_anisotropy" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "max_lod" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "min_filter" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "min_lod" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "mip_lod_bias" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "mipmap_mode" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUSamplerCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUSamplerAddressMode => HasField "address_mode_u" SDL_GPUSamplerCreateInfo ty Source # | The addressing mode for U coordinates outside [0, 1).
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ SDL_GPUSamplerAddressMode => HasField "address_mode_v" SDL_GPUSamplerCreateInfo ty Source # | The addressing mode for V coordinates outside [0, 1).
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ SDL_GPUSamplerAddressMode => HasField "address_mode_w" SDL_GPUSamplerCreateInfo ty Source # | The addressing mode for W coordinates outside [0, 1).
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ SDL_GPUCompareOp => HasField "compare_op" SDL_GPUSamplerCreateInfo ty Source # | The comparison operator to apply to fetched data before filtering.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ CBool => HasField "enable_anisotropy" SDL_GPUSamplerCreateInfo ty Source # | true to enable anisotropic filtering.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ CBool => HasField "enable_compare" SDL_GPUSamplerCreateInfo ty Source # | true to enable comparison against a reference value during lookups.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ SDL_GPUFilter => HasField "mag_filter" SDL_GPUSamplerCreateInfo ty Source # | The magnification filter to apply to lookups.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ CFloat => HasField "max_anisotropy" SDL_GPUSamplerCreateInfo ty Source # | The anisotropy value clamp used by the sampler. If enable_anisotropy is false, this is ignored.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ CFloat => HasField "max_lod" SDL_GPUSamplerCreateInfo ty Source # | Clamps the maximum of the computed LOD value.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ SDL_GPUFilter => HasField "min_filter" SDL_GPUSamplerCreateInfo ty Source # | The minification filter to apply to lookups.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ CFloat => HasField "min_lod" SDL_GPUSamplerCreateInfo ty Source # | Clamps the minimum of the computed LOD value.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ CFloat => HasField "mip_lod_bias" SDL_GPUSamplerCreateInfo ty Source # | The bias to be added to mipmap LOD calculation.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ SDL_GPUSamplerMipmapMode => HasField "mipmap_mode" SDL_GPUSamplerCreateInfo ty Source # | The mipmap filter to apply to lookups.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPUSamplerCreateInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUSamplerCreateInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ SDL_PropertiesID => HasField "props" SDL_GPUSamplerCreateInfo ty Source # | A properties ID for extensions. Should be 0 if no extensions are needed.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUSamplerCreateInfo -> (ty -> SDL_GPUSamplerCreateInfo, ty) # | |||||
| ty ~ SDL_GPUSamplerAddressMode => HasField "address_mode_u" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUSamplerAddressMode => HasField "address_mode_v" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUSamplerAddressMode => HasField "address_mode_w" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUCompareOp => HasField "compare_op" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_anisotropy" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_compare" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUFilter => HasField "mag_filter" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ CFloat => HasField "max_anisotropy" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ CFloat => HasField "max_lod" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUFilter => HasField "min_filter" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ CFloat => HasField "min_lod" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ CFloat => HasField "mip_lod_bias" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUSamplerMipmapMode => HasField "mipmap_mode" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPUSamplerCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUSamplerCreateInfo -> Ptr ty # | |||||
| type Rep SDL_GPUSamplerCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUSamplerCreateInfo = D1 ('MetaData "SDL_GPUSamplerCreateInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUSamplerCreateInfo" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "min_filter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUFilter) :*: S1 ('MetaSel ('Just "mag_filter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUFilter)) :*: (S1 ('MetaSel ('Just "mipmap_mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUSamplerMipmapMode) :*: S1 ('MetaSel ('Just "address_mode_u") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUSamplerAddressMode))) :*: ((S1 ('MetaSel ('Just "address_mode_v") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUSamplerAddressMode) :*: S1 ('MetaSel ('Just "address_mode_w") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUSamplerAddressMode)) :*: (S1 ('MetaSel ('Just "mip_lod_bias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "max_anisotropy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat)))) :*: (((S1 ('MetaSel ('Just "compare_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUCompareOp) :*: S1 ('MetaSel ('Just "min_lod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat)) :*: (S1 ('MetaSel ('Just "max_lod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "enable_anisotropy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool))) :*: ((S1 ('MetaSel ('Just "enable_compare") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)) :*: (S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "props") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PropertiesID)))))) | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "address_mode_u" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "address_mode_v" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "address_mode_w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "compare_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "enable_anisotropy" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "enable_compare" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "mag_filter" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "max_anisotropy" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "max_lod" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "min_filter" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "min_lod" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "mip_lod_bias" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "mipmap_mode" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUSamplerCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUVertexBufferDescription Source #
A structure specifying the parameters of vertex buffers used in a graphics pipeline.
When you call SDL_BindGPUVertexBuffers, you specify the binding slots of the vertex buffers. For example if you called SDL_BindGPUVertexBuffers with a first_slot of 2 and num_bindings of 3, the binding slots 2, 3, 4 would be used by the vertex buffers you pass in.
Vertex attributes are linked to buffers via the buffer_slot field of SDL_GPUVertexAttribute. For example, if an attribute has a buffer_slot of 0, then that attribute belongs to the vertex buffer bound at slot 0.
- See also
SDL_GPUVertexAttribute,SDL_GPUVertexInputRate- C declaration
struct SDL_GPUVertexBufferDescription, defined atSDL3/SDL_gpu.h 1651:16
Since: 3.2.0
Constructors
| SDL_GPUVertexBufferDescription | |
Fields
| |
Instances
| Storable SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUVertexBufferDescription -> Int # alignment :: SDL_GPUVertexBufferDescription -> Int # peekElemOff :: Ptr SDL_GPUVertexBufferDescription -> Int -> IO SDL_GPUVertexBufferDescription # pokeElemOff :: Ptr SDL_GPUVertexBufferDescription -> Int -> SDL_GPUVertexBufferDescription -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUVertexBufferDescription # pokeByteOff :: Ptr b -> Int -> SDL_GPUVertexBufferDescription -> IO () # peek :: Ptr SDL_GPUVertexBufferDescription -> IO SDL_GPUVertexBufferDescription # poke :: Ptr SDL_GPUVertexBufferDescription -> SDL_GPUVertexBufferDescription -> IO () # | |||||
| Generic SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUVertexBufferDescription -> ShowS # show :: SDL_GPUVertexBufferDescription -> String # showList :: [SDL_GPUVertexBufferDescription] -> ShowS # | |||||
| Eq SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUVertexBufferDescription -> Int # staticAlignment :: Proxy SDL_GPUVertexBufferDescription -> Int # | |||||
| WriteRaw SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUVertexBufferDescription -> SDL_GPUVertexBufferDescription -> IO () # | |||||
| IsStruct SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUVertexBufferDescription "input_rate" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexBufferDescription "instance_step_rate" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexBufferDescription "pitch" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexBufferDescription "slot" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUVertexInputRate => HasField "input_rate" SDL_GPUVertexBufferDescription ty Source # | Whether attribute addressing is a function of the vertex index or instance index.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexBufferDescription -> (ty -> SDL_GPUVertexBufferDescription, ty) # | |||||
| ty ~ Uint32 => HasField "instance_step_rate" SDL_GPUVertexBufferDescription ty Source # | Reserved for future use. Must be set to 0.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexBufferDescription -> (ty -> SDL_GPUVertexBufferDescription, ty) # | |||||
| ty ~ Uint32 => HasField "pitch" SDL_GPUVertexBufferDescription ty Source # | The size of a single element + the offset between elements.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexBufferDescription -> (ty -> SDL_GPUVertexBufferDescription, ty) # | |||||
| ty ~ Uint32 => HasField "slot" SDL_GPUVertexBufferDescription ty Source # | The binding slot of the vertex buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexBufferDescription -> (ty -> SDL_GPUVertexBufferDescription, ty) # | |||||
| ty ~ SDL_GPUVertexInputRate => HasField "input_rate" (Ptr SDL_GPUVertexBufferDescription) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexBufferDescription -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "instance_step_rate" (Ptr SDL_GPUVertexBufferDescription) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexBufferDescription -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "pitch" (Ptr SDL_GPUVertexBufferDescription) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexBufferDescription -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "slot" (Ptr SDL_GPUVertexBufferDescription) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexBufferDescription -> Ptr ty # | |||||
| type Rep SDL_GPUVertexBufferDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUVertexBufferDescription = D1 ('MetaData "SDL_GPUVertexBufferDescription" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUVertexBufferDescription" 'PrefixI 'True) ((S1 ('MetaSel ('Just "slot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "pitch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "input_rate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUVertexInputRate) :*: S1 ('MetaSel ('Just "instance_step_rate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) | |||||
| type CFieldType SDL_GPUVertexBufferDescription "input_rate" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexBufferDescription "instance_step_rate" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexBufferDescription "pitch" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexBufferDescription "slot" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUVertexAttribute Source #
A structure specifying a vertex attribute.
All vertex attribute locations provided to an SDL_GPUVertexInputState must be unique.
- See also
SDL_GPUVertexBufferDescription,SDL_GPUVertexInputState,SDL_GPUVertexElementFormat- C declaration
struct SDL_GPUVertexAttribute, defined atSDL3/SDL_gpu.h 1671:16
Since: 3.2.0
Constructors
| SDL_GPUVertexAttribute | |
Fields
| |
Instances
| Storable SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUVertexAttribute -> Int # alignment :: SDL_GPUVertexAttribute -> Int # peekElemOff :: Ptr SDL_GPUVertexAttribute -> Int -> IO SDL_GPUVertexAttribute # pokeElemOff :: Ptr SDL_GPUVertexAttribute -> Int -> SDL_GPUVertexAttribute -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUVertexAttribute # pokeByteOff :: Ptr b -> Int -> SDL_GPUVertexAttribute -> IO () # peek :: Ptr SDL_GPUVertexAttribute -> IO SDL_GPUVertexAttribute # poke :: Ptr SDL_GPUVertexAttribute -> SDL_GPUVertexAttribute -> IO () # | |||||
| Generic SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUVertexAttribute -> Rep SDL_GPUVertexAttribute x # to :: Rep SDL_GPUVertexAttribute x -> SDL_GPUVertexAttribute # | |||||
| Show SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUVertexAttribute -> ShowS # show :: SDL_GPUVertexAttribute -> String # showList :: [SDL_GPUVertexAttribute] -> ShowS # | |||||
| Eq SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUVertexAttribute -> SDL_GPUVertexAttribute -> Bool # (/=) :: SDL_GPUVertexAttribute -> SDL_GPUVertexAttribute -> Bool # | |||||
| ReadRaw SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUVertexAttribute -> IO SDL_GPUVertexAttribute # | |||||
| StaticSize SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUVertexAttribute -> SDL_GPUVertexAttribute -> IO () # | |||||
| IsStruct SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUVertexAttribute "buffer_slot" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexAttribute "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexAttribute "location" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexAttribute "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "buffer_slot" SDL_GPUVertexAttribute ty Source # | The binding slot of the associated vertex buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexAttribute -> (ty -> SDL_GPUVertexAttribute, ty) # | |||||
| ty ~ SDL_GPUVertexElementFormat => HasField "format" SDL_GPUVertexAttribute ty Source # | The size and type of the attribute data.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexAttribute -> (ty -> SDL_GPUVertexAttribute, ty) # | |||||
| ty ~ Uint32 => HasField "location" SDL_GPUVertexAttribute ty Source # | The shader input location index.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexAttribute -> (ty -> SDL_GPUVertexAttribute, ty) # | |||||
| ty ~ Uint32 => HasField "offset" SDL_GPUVertexAttribute ty Source # | The byte offset of this attribute relative to the start of the vertex element.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexAttribute -> (ty -> SDL_GPUVertexAttribute, ty) # | |||||
| ty ~ Uint32 => HasField "buffer_slot" (Ptr SDL_GPUVertexAttribute) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexAttribute -> Ptr ty # | |||||
| ty ~ SDL_GPUVertexElementFormat => HasField "format" (Ptr SDL_GPUVertexAttribute) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexAttribute -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "location" (Ptr SDL_GPUVertexAttribute) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexAttribute -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "offset" (Ptr SDL_GPUVertexAttribute) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexAttribute -> Ptr ty # | |||||
| type Rep SDL_GPUVertexAttribute Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUVertexAttribute = D1 ('MetaData "SDL_GPUVertexAttribute" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUVertexAttribute" 'PrefixI 'True) ((S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "buffer_slot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUVertexElementFormat) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) | |||||
| type CFieldType SDL_GPUVertexAttribute "buffer_slot" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexAttribute "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexAttribute "location" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexAttribute "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUVertexInputState Source #
A structure specifying the parameters of a graphics pipeline vertex input state.
- See also
SDL_GPUGraphicsPipelineCreateInfo,SDL_GPUVertexBufferDescription,SDL_GPUVertexAttribute- C declaration
struct SDL_GPUVertexInputState, defined atSDL3/SDL_gpu.h 1689:16
Since: 3.2.0
Constructors
| SDL_GPUVertexInputState | |
Fields
| |
Instances
| Storable SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUVertexInputState -> Int # alignment :: SDL_GPUVertexInputState -> Int # peekElemOff :: Ptr SDL_GPUVertexInputState -> Int -> IO SDL_GPUVertexInputState # pokeElemOff :: Ptr SDL_GPUVertexInputState -> Int -> SDL_GPUVertexInputState -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUVertexInputState # pokeByteOff :: Ptr b -> Int -> SDL_GPUVertexInputState -> IO () # peek :: Ptr SDL_GPUVertexInputState -> IO SDL_GPUVertexInputState # poke :: Ptr SDL_GPUVertexInputState -> SDL_GPUVertexInputState -> IO () # | |||||
| Generic SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUVertexInputState -> Rep SDL_GPUVertexInputState x # to :: Rep SDL_GPUVertexInputState x -> SDL_GPUVertexInputState # | |||||
| Show SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUVertexInputState -> ShowS # show :: SDL_GPUVertexInputState -> String # showList :: [SDL_GPUVertexInputState] -> ShowS # | |||||
| Eq SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUVertexInputState -> SDL_GPUVertexInputState -> Bool # (/=) :: SDL_GPUVertexInputState -> SDL_GPUVertexInputState -> Bool # | |||||
| ReadRaw SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUVertexInputState -> IO SDL_GPUVertexInputState # | |||||
| StaticSize SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUVertexInputState -> SDL_GPUVertexInputState -> IO () # | |||||
| IsStruct SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUVertexInputState "num_vertex_attributes" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexInputState "num_vertex_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexInputState "vertex_attributes" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVertexInputState "vertex_buffer_descriptions" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "num_vertex_attributes" SDL_GPUVertexInputState ty Source # | The number of vertex attribute descriptions in the above array.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexInputState -> (ty -> SDL_GPUVertexInputState, ty) # | |||||
| ty ~ Uint32 => HasField "num_vertex_buffers" SDL_GPUVertexInputState ty Source # | The number of vertex buffer descriptions in the above array.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexInputState -> (ty -> SDL_GPUVertexInputState, ty) # | |||||
| ty ~ PtrConst SDL_GPUVertexAttribute => HasField "vertex_attributes" SDL_GPUVertexInputState ty Source # | A pointer to an array of vertex attribute descriptions.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexInputState -> (ty -> SDL_GPUVertexInputState, ty) # | |||||
| ty ~ PtrConst SDL_GPUVertexBufferDescription => HasField "vertex_buffer_descriptions" SDL_GPUVertexInputState ty Source # | A pointer to an array of vertex buffer descriptions.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVertexInputState -> (ty -> SDL_GPUVertexInputState, ty) # | |||||
| ty ~ Uint32 => HasField "num_vertex_attributes" (Ptr SDL_GPUVertexInputState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexInputState -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_vertex_buffers" (Ptr SDL_GPUVertexInputState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexInputState -> Ptr ty # | |||||
| ty ~ PtrConst SDL_GPUVertexAttribute => HasField "vertex_attributes" (Ptr SDL_GPUVertexInputState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexInputState -> Ptr ty # | |||||
| ty ~ PtrConst SDL_GPUVertexBufferDescription => HasField "vertex_buffer_descriptions" (Ptr SDL_GPUVertexInputState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVertexInputState -> Ptr ty # | |||||
| type Rep SDL_GPUVertexInputState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUVertexInputState = D1 ('MetaData "SDL_GPUVertexInputState" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUVertexInputState" 'PrefixI 'True) ((S1 ('MetaSel ('Just "vertex_buffer_descriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst SDL_GPUVertexBufferDescription)) :*: S1 ('MetaSel ('Just "num_vertex_buffers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "vertex_attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst SDL_GPUVertexAttribute)) :*: S1 ('MetaSel ('Just "num_vertex_attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) | |||||
| type CFieldType SDL_GPUVertexInputState "num_vertex_attributes" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexInputState "num_vertex_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexInputState "vertex_attributes" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVertexInputState "vertex_buffer_descriptions" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type CFieldType SDL_GPUVertexInputState "vertex_buffer_descriptions" = PtrConst SDL_GPUVertexBufferDescription | |||||
data SDL_GPUStencilOpState Source #
A structure specifying the stencil operation state of a graphics pipeline.
- See also
SDL_GPUDepthStencilState- C declaration
struct SDL_GPUStencilOpState, defined atSDL3/SDL_gpu.h 1704:16
Since: 3.2.0
Constructors
| SDL_GPUStencilOpState | |
Fields
| |
Instances
| Storable SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUStencilOpState -> Int # alignment :: SDL_GPUStencilOpState -> Int # peekElemOff :: Ptr SDL_GPUStencilOpState -> Int -> IO SDL_GPUStencilOpState # pokeElemOff :: Ptr SDL_GPUStencilOpState -> Int -> SDL_GPUStencilOpState -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUStencilOpState # pokeByteOff :: Ptr b -> Int -> SDL_GPUStencilOpState -> IO () # peek :: Ptr SDL_GPUStencilOpState -> IO SDL_GPUStencilOpState # poke :: Ptr SDL_GPUStencilOpState -> SDL_GPUStencilOpState -> IO () # | |||||
| Generic SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUStencilOpState -> Rep SDL_GPUStencilOpState x # to :: Rep SDL_GPUStencilOpState x -> SDL_GPUStencilOpState # | |||||
| Show SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUStencilOpState -> ShowS # show :: SDL_GPUStencilOpState -> String # showList :: [SDL_GPUStencilOpState] -> ShowS # | |||||
| Eq SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUStencilOpState -> SDL_GPUStencilOpState -> Bool # (/=) :: SDL_GPUStencilOpState -> SDL_GPUStencilOpState -> Bool # | |||||
| ReadRaw SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUStencilOpState -> IO SDL_GPUStencilOpState # | |||||
| StaticSize SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUStencilOpState -> SDL_GPUStencilOpState -> IO () # | |||||
| IsStruct SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUStencilOpState "compare_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStencilOpState "depth_fail_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStencilOpState "fail_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStencilOpState "pass_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUCompareOp => HasField "compare_op" SDL_GPUStencilOpState ty Source # | The comparison operator used in the stencil test.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStencilOpState -> (ty -> SDL_GPUStencilOpState, ty) # | |||||
| ty ~ SDL_GPUStencilOp => HasField "depth_fail_op" SDL_GPUStencilOpState ty Source # | The action performed on samples that pass the stencil test and fail the depth test.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStencilOpState -> (ty -> SDL_GPUStencilOpState, ty) # | |||||
| ty ~ SDL_GPUStencilOp => HasField "fail_op" SDL_GPUStencilOpState ty Source # | The action performed on samples that fail the stencil test.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStencilOpState -> (ty -> SDL_GPUStencilOpState, ty) # | |||||
| ty ~ SDL_GPUStencilOp => HasField "pass_op" SDL_GPUStencilOpState ty Source # | The action performed on samples that pass the depth and stencil tests.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStencilOpState -> (ty -> SDL_GPUStencilOpState, ty) # | |||||
| ty ~ SDL_GPUCompareOp => HasField "compare_op" (Ptr SDL_GPUStencilOpState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStencilOpState -> Ptr ty # | |||||
| ty ~ SDL_GPUStencilOp => HasField "depth_fail_op" (Ptr SDL_GPUStencilOpState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStencilOpState -> Ptr ty # | |||||
| ty ~ SDL_GPUStencilOp => HasField "fail_op" (Ptr SDL_GPUStencilOpState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStencilOpState -> Ptr ty # | |||||
| ty ~ SDL_GPUStencilOp => HasField "pass_op" (Ptr SDL_GPUStencilOpState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStencilOpState -> Ptr ty # | |||||
| type Rep SDL_GPUStencilOpState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUStencilOpState = D1 ('MetaData "SDL_GPUStencilOpState" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUStencilOpState" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fail_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUStencilOp) :*: S1 ('MetaSel ('Just "pass_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUStencilOp)) :*: (S1 ('MetaSel ('Just "depth_fail_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUStencilOp) :*: S1 ('MetaSel ('Just "compare_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUCompareOp)))) | |||||
| type CFieldType SDL_GPUStencilOpState "compare_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStencilOpState "depth_fail_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStencilOpState "fail_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStencilOpState "pass_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUColorTargetBlendState Source #
A structure specifying the blend state of a color target.
- See also
sDL_SetGPUBlendConstants,SDL_GPUColorTargetDescription,SDL_GPUBlendFactor,SDL_GPUBlendOp,SDL_GPUColorComponentFlags- C declaration
struct SDL_GPUColorTargetBlendState, defined atSDL3/SDL_gpu.h 1723:16
Since: 3.2.0
Constructors
| SDL_GPUColorTargetBlendState | |
Fields
| |
Instances
| Storable SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUColorTargetBlendState -> Int # alignment :: SDL_GPUColorTargetBlendState -> Int # peekElemOff :: Ptr SDL_GPUColorTargetBlendState -> Int -> IO SDL_GPUColorTargetBlendState # pokeElemOff :: Ptr SDL_GPUColorTargetBlendState -> Int -> SDL_GPUColorTargetBlendState -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUColorTargetBlendState # pokeByteOff :: Ptr b -> Int -> SDL_GPUColorTargetBlendState -> IO () # peek :: Ptr SDL_GPUColorTargetBlendState -> IO SDL_GPUColorTargetBlendState # poke :: Ptr SDL_GPUColorTargetBlendState -> SDL_GPUColorTargetBlendState -> IO () # | |||||
| Generic SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUColorTargetBlendState -> ShowS # show :: SDL_GPUColorTargetBlendState -> String # showList :: [SDL_GPUColorTargetBlendState] -> ShowS # | |||||
| Eq SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUColorTargetBlendState -> SDL_GPUColorTargetBlendState -> Bool # (/=) :: SDL_GPUColorTargetBlendState -> SDL_GPUColorTargetBlendState -> Bool # | |||||
| ReadRaw SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUColorTargetBlendState -> IO SDL_GPUColorTargetBlendState # | |||||
| StaticSize SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUColorTargetBlendState -> Int # staticAlignment :: Proxy SDL_GPUColorTargetBlendState -> Int # | |||||
| WriteRaw SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUColorTargetBlendState -> SDL_GPUColorTargetBlendState -> IO () # | |||||
| IsStruct SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUColorTargetBlendState "alpha_blend_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "color_blend_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "color_write_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "dst_alpha_blendfactor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "dst_color_blendfactor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "enable_blend" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "enable_color_write_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "src_alpha_blendfactor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetBlendState "src_color_blendfactor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUBlendOp => HasField "alpha_blend_op" SDL_GPUColorTargetBlendState ty Source # | The blend operation for the alpha component.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ SDL_GPUBlendOp => HasField "color_blend_op" SDL_GPUColorTargetBlendState ty Source # | The blend operation for the RGB components.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ SDL_GPUColorComponentFlags => HasField "color_write_mask" SDL_GPUColorTargetBlendState ty Source # | A bitmask specifying which of the RGBA components are enabled for writing. Writes to all channels if enable_color_write_mask is false.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ SDL_GPUBlendFactor => HasField "dst_alpha_blendfactor" SDL_GPUColorTargetBlendState ty Source # | The value to be multiplied by the destination alpha.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ SDL_GPUBlendFactor => HasField "dst_color_blendfactor" SDL_GPUColorTargetBlendState ty Source # | The value to be multiplied by the destination RGB value.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ CBool => HasField "enable_blend" SDL_GPUColorTargetBlendState ty Source # | Whether blending is enabled for the color target.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ CBool => HasField "enable_color_write_mask" SDL_GPUColorTargetBlendState ty Source # | Whether the color write mask is enabled.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPUColorTargetBlendState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUColorTargetBlendState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ SDL_GPUBlendFactor => HasField "src_alpha_blendfactor" SDL_GPUColorTargetBlendState ty Source # | The value to be multiplied by the source alpha.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ SDL_GPUBlendFactor => HasField "src_color_blendfactor" SDL_GPUColorTargetBlendState ty Source # | The value to be multiplied by the source RGB value.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetBlendState -> (ty -> SDL_GPUColorTargetBlendState, ty) # | |||||
| ty ~ SDL_GPUBlendOp => HasField "alpha_blend_op" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ SDL_GPUBlendOp => HasField "color_blend_op" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ SDL_GPUColorComponentFlags => HasField "color_write_mask" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ SDL_GPUBlendFactor => HasField "dst_alpha_blendfactor" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ SDL_GPUBlendFactor => HasField "dst_color_blendfactor" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_blend" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_color_write_mask" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ SDL_GPUBlendFactor => HasField "src_alpha_blendfactor" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| ty ~ SDL_GPUBlendFactor => HasField "src_color_blendfactor" (Ptr SDL_GPUColorTargetBlendState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetBlendState -> Ptr ty # | |||||
| type Rep SDL_GPUColorTargetBlendState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUColorTargetBlendState = D1 ('MetaData "SDL_GPUColorTargetBlendState" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUColorTargetBlendState" 'PrefixI 'True) (((S1 ('MetaSel ('Just "src_color_blendfactor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBlendFactor) :*: S1 ('MetaSel ('Just "dst_color_blendfactor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBlendFactor)) :*: (S1 ('MetaSel ('Just "color_blend_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBlendOp) :*: (S1 ('MetaSel ('Just "src_alpha_blendfactor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBlendFactor) :*: S1 ('MetaSel ('Just "dst_alpha_blendfactor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBlendFactor)))) :*: ((S1 ('MetaSel ('Just "alpha_blend_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBlendOp) :*: (S1 ('MetaSel ('Just "color_write_mask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUColorComponentFlags) :*: S1 ('MetaSel ('Just "enable_blend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool))) :*: (S1 ('MetaSel ('Just "enable_color_write_mask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: (S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))))) | |||||
| type CFieldType SDL_GPUColorTargetBlendState "alpha_blend_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "color_blend_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "color_write_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "dst_alpha_blendfactor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "dst_color_blendfactor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "enable_blend" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "enable_color_write_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "src_alpha_blendfactor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetBlendState "src_color_blendfactor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUShaderCreateInfo Source #
A structure specifying code and metadata for creating a shader object.
- See also
sDL_CreateGPUShader,SDL_GPUShaderFormat,SDL_GPUShaderStage- C declaration
struct SDL_GPUShaderCreateInfo, defined atSDL3/SDL_gpu.h 1748:16
Since: 3.2.0
Constructors
| SDL_GPUShaderCreateInfo | |
Fields
| |
Instances
| Storable SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUShaderCreateInfo -> Int # alignment :: SDL_GPUShaderCreateInfo -> Int # peekElemOff :: Ptr SDL_GPUShaderCreateInfo -> Int -> IO SDL_GPUShaderCreateInfo # pokeElemOff :: Ptr SDL_GPUShaderCreateInfo -> Int -> SDL_GPUShaderCreateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUShaderCreateInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUShaderCreateInfo -> IO () # peek :: Ptr SDL_GPUShaderCreateInfo -> IO SDL_GPUShaderCreateInfo # poke :: Ptr SDL_GPUShaderCreateInfo -> SDL_GPUShaderCreateInfo -> IO () # | |||||
| Generic SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUShaderCreateInfo -> Rep SDL_GPUShaderCreateInfo x # to :: Rep SDL_GPUShaderCreateInfo x -> SDL_GPUShaderCreateInfo # | |||||
| Show SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUShaderCreateInfo -> ShowS # show :: SDL_GPUShaderCreateInfo -> String # showList :: [SDL_GPUShaderCreateInfo] -> ShowS # | |||||
| Eq SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUShaderCreateInfo -> SDL_GPUShaderCreateInfo -> Bool # (/=) :: SDL_GPUShaderCreateInfo -> SDL_GPUShaderCreateInfo -> Bool # | |||||
| ReadRaw SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUShaderCreateInfo -> IO SDL_GPUShaderCreateInfo # | |||||
| StaticSize SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUShaderCreateInfo -> SDL_GPUShaderCreateInfo -> IO () # | |||||
| IsStruct SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUShaderCreateInfo "code" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "code_size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "entrypoint" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "num_samplers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "num_storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "num_storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "num_uniform_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUShaderCreateInfo "stage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ PtrConst Uint8 => HasField "code" SDL_GPUShaderCreateInfo ty Source # | A pointer to shader code.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ CSize => HasField "code_size" SDL_GPUShaderCreateInfo ty Source # | The size in bytes of the code pointed to.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ PtrConst CChar => HasField "entrypoint" SDL_GPUShaderCreateInfo ty Source # | A pointer to a null-terminated UTF-8 string specifying the entry point function name for the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ SDL_GPUShaderFormat => HasField "format" SDL_GPUShaderCreateInfo ty Source # | The format of the shader code.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_samplers" SDL_GPUShaderCreateInfo ty Source # | The number of samplers defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_storage_buffers" SDL_GPUShaderCreateInfo ty Source # | The number of storage buffers defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_storage_textures" SDL_GPUShaderCreateInfo ty Source # | The number of storage textures defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_uniform_buffers" SDL_GPUShaderCreateInfo ty Source # | The number of uniform buffers defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ SDL_PropertiesID => HasField "props" SDL_GPUShaderCreateInfo ty Source # | A properties ID for extensions. Should be 0 if no extensions are needed.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ SDL_GPUShaderStage => HasField "stage" SDL_GPUShaderCreateInfo ty Source # | The stage the shader program corresponds to.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUShaderCreateInfo -> (ty -> SDL_GPUShaderCreateInfo, ty) # | |||||
| ty ~ PtrConst Uint8 => HasField "code" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ CSize => HasField "code_size" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ PtrConst CChar => HasField "entrypoint" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUShaderFormat => HasField "format" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_samplers" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_storage_buffers" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_storage_textures" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_uniform_buffers" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUShaderStage => HasField "stage" (Ptr SDL_GPUShaderCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUShaderCreateInfo -> Ptr ty # | |||||
| type Rep SDL_GPUShaderCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUShaderCreateInfo = D1 ('MetaData "SDL_GPUShaderCreateInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUShaderCreateInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "code_size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CSize) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst Uint8))) :*: (S1 ('MetaSel ('Just "entrypoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst CChar)) :*: (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUShaderFormat) :*: S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUShaderStage)))) :*: ((S1 ('MetaSel ('Just "num_samplers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "num_storage_textures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "num_storage_buffers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "num_uniform_buffers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "props") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PropertiesID)))))) | |||||
| type CFieldType SDL_GPUShaderCreateInfo "code" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "code_size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "entrypoint" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "num_samplers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "num_storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "num_storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "num_uniform_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUShaderCreateInfo "stage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUTextureCreateInfo Source #
A structure specifying the parameters of a texture.
Usage flags can be bitwise OR'd together for combinations of usages. Note that certain usage combinations are invalid, for example SAMPLER and GRAPHICS_STORAGE.
- See also
sDL_CreateGPUTexture,SDL_GPUTextureType,SDL_GPUTextureFormat,SDL_GPUTextureUsageFlags,SDL_GPUSampleCount- C declaration
struct SDL_GPUTextureCreateInfo, defined atSDL3/SDL_gpu.h 1778:16
Since: 3.2.0
Constructors
| SDL_GPUTextureCreateInfo | |
Fields
| |
Instances
| Storable SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTextureCreateInfo -> Int # alignment :: SDL_GPUTextureCreateInfo -> Int # peekElemOff :: Ptr SDL_GPUTextureCreateInfo -> Int -> IO SDL_GPUTextureCreateInfo # pokeElemOff :: Ptr SDL_GPUTextureCreateInfo -> Int -> SDL_GPUTextureCreateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTextureCreateInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUTextureCreateInfo -> IO () # peek :: Ptr SDL_GPUTextureCreateInfo -> IO SDL_GPUTextureCreateInfo # poke :: Ptr SDL_GPUTextureCreateInfo -> SDL_GPUTextureCreateInfo -> IO () # | |||||
| Generic SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUTextureCreateInfo -> Rep SDL_GPUTextureCreateInfo x # to :: Rep SDL_GPUTextureCreateInfo x -> SDL_GPUTextureCreateInfo # | |||||
| Show SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTextureCreateInfo -> ShowS # show :: SDL_GPUTextureCreateInfo -> String # showList :: [SDL_GPUTextureCreateInfo] -> ShowS # | |||||
| Eq SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTextureCreateInfo -> SDL_GPUTextureCreateInfo -> Bool # (/=) :: SDL_GPUTextureCreateInfo -> SDL_GPUTextureCreateInfo -> Bool # | |||||
| ReadRaw SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTextureCreateInfo -> IO SDL_GPUTextureCreateInfo # | |||||
| StaticSize SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTextureCreateInfo -> SDL_GPUTextureCreateInfo -> IO () # | |||||
| IsStruct SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUTextureCreateInfo "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureCreateInfo "height" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureCreateInfo "layer_count_or_depth" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureCreateInfo "num_levels" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureCreateInfo "sample_count" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureCreateInfo "type'" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureCreateInfo "usage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureCreateInfo "width" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUTextureFormat => HasField "format" SDL_GPUTextureCreateInfo ty Source # | The pixel format of the texture.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "height" SDL_GPUTextureCreateInfo ty Source # | The height of the texture.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "layer_count_or_depth" SDL_GPUTextureCreateInfo ty Source # | The layer count or depth of the texture. This value is treated as a layer count on 2D array textures, and as a depth value on 3D textures.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_levels" SDL_GPUTextureCreateInfo ty Source # | The number of mip levels in the texture.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ SDL_PropertiesID => HasField "props" SDL_GPUTextureCreateInfo ty Source # | A properties ID for extensions. Should be 0 if no extensions are needed.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ SDL_GPUSampleCount => HasField "sample_count" SDL_GPUTextureCreateInfo ty Source # | The number of samples per texel. Only applies if the texture is used as a render target.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ SDL_GPUTextureType => HasField "type'" SDL_GPUTextureCreateInfo ty Source # | The base dimensionality of the texture.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ SDL_GPUTextureUsageFlags => HasField "usage" SDL_GPUTextureCreateInfo ty Source # | How the texture is intended to be used by the client.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "width" SDL_GPUTextureCreateInfo ty Source # | The width of the texture.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureCreateInfo -> (ty -> SDL_GPUTextureCreateInfo, ty) # | |||||
| ty ~ SDL_GPUTextureFormat => HasField "format" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "height" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "layer_count_or_depth" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_levels" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUSampleCount => HasField "sample_count" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUTextureType => HasField "type'" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUTextureUsageFlags => HasField "usage" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "width" (Ptr SDL_GPUTextureCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureCreateInfo -> Ptr ty # | |||||
| type Rep SDL_GPUTextureCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTextureCreateInfo = D1 ('MetaData "SDL_GPUTextureCreateInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUTextureCreateInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUTextureType) :*: S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUTextureFormat)) :*: (S1 ('MetaSel ('Just "usage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUTextureUsageFlags) :*: S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) :*: ((S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "layer_count_or_depth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "num_levels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "sample_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUSampleCount) :*: S1 ('MetaSel ('Just "props") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PropertiesID)))))) | |||||
| type CFieldType SDL_GPUTextureCreateInfo "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureCreateInfo "height" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureCreateInfo "layer_count_or_depth" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureCreateInfo "num_levels" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureCreateInfo "sample_count" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureCreateInfo "type'" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureCreateInfo "usage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureCreateInfo "width" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUBufferCreateInfo Source #
A structure specifying the parameters of a buffer.
Usage flags can be bitwise OR'd together for combinations of usages. Note that certain combinations are invalid, for example VERTEX and INDEX.
- See also
sDL_CreateGPUBuffer,SDL_GPUBufferUsageFlags- C declaration
struct SDL_GPUBufferCreateInfo, defined atSDL3/SDL_gpu.h 1803:16
Since: 3.2.0
Constructors
| SDL_GPUBufferCreateInfo | |
Fields
| |
Instances
| Storable SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBufferCreateInfo -> Int # alignment :: SDL_GPUBufferCreateInfo -> Int # peekElemOff :: Ptr SDL_GPUBufferCreateInfo -> Int -> IO SDL_GPUBufferCreateInfo # pokeElemOff :: Ptr SDL_GPUBufferCreateInfo -> Int -> SDL_GPUBufferCreateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBufferCreateInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUBufferCreateInfo -> IO () # peek :: Ptr SDL_GPUBufferCreateInfo -> IO SDL_GPUBufferCreateInfo # poke :: Ptr SDL_GPUBufferCreateInfo -> SDL_GPUBufferCreateInfo -> IO () # | |||||
| Generic SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBufferCreateInfo -> Rep SDL_GPUBufferCreateInfo x # to :: Rep SDL_GPUBufferCreateInfo x -> SDL_GPUBufferCreateInfo # | |||||
| Show SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBufferCreateInfo -> ShowS # show :: SDL_GPUBufferCreateInfo -> String # showList :: [SDL_GPUBufferCreateInfo] -> ShowS # | |||||
| Eq SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBufferCreateInfo -> SDL_GPUBufferCreateInfo -> Bool # (/=) :: SDL_GPUBufferCreateInfo -> SDL_GPUBufferCreateInfo -> Bool # | |||||
| ReadRaw SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUBufferCreateInfo -> IO SDL_GPUBufferCreateInfo # | |||||
| StaticSize SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBufferCreateInfo -> SDL_GPUBufferCreateInfo -> IO () # | |||||
| IsStruct SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUBufferCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBufferCreateInfo "size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBufferCreateInfo "usage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_PropertiesID => HasField "props" SDL_GPUBufferCreateInfo ty Source # | A properties ID for extensions. Should be 0 if no extensions are needed.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferCreateInfo -> (ty -> SDL_GPUBufferCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "size" SDL_GPUBufferCreateInfo ty Source # | The size in bytes of the buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferCreateInfo -> (ty -> SDL_GPUBufferCreateInfo, ty) # | |||||
| ty ~ SDL_GPUBufferUsageFlags => HasField "usage" SDL_GPUBufferCreateInfo ty Source # | How the buffer is intended to be used by the client.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferCreateInfo -> (ty -> SDL_GPUBufferCreateInfo, ty) # | |||||
| ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPUBufferCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "size" (Ptr SDL_GPUBufferCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUBufferUsageFlags => HasField "usage" (Ptr SDL_GPUBufferCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferCreateInfo -> Ptr ty # | |||||
| type Rep SDL_GPUBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBufferCreateInfo = D1 ('MetaData "SDL_GPUBufferCreateInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUBufferCreateInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "usage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBufferUsageFlags) :*: (S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "props") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PropertiesID)))) | |||||
| type CFieldType SDL_GPUBufferCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBufferCreateInfo "size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBufferCreateInfo "usage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUTransferBufferCreateInfo Source #
A structure specifying the parameters of a transfer buffer.
- See also
sDL_CreateGPUTransferBuffer- C declaration
struct SDL_GPUTransferBufferCreateInfo, defined atSDL3/SDL_gpu.h 1818:16
Since: 3.2.0
Constructors
| SDL_GPUTransferBufferCreateInfo | |
Fields
| |
Instances
| Storable SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTransferBufferCreateInfo -> Int # alignment :: SDL_GPUTransferBufferCreateInfo -> Int # peekElemOff :: Ptr SDL_GPUTransferBufferCreateInfo -> Int -> IO SDL_GPUTransferBufferCreateInfo # pokeElemOff :: Ptr SDL_GPUTransferBufferCreateInfo -> Int -> SDL_GPUTransferBufferCreateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTransferBufferCreateInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUTransferBufferCreateInfo -> IO () # peek :: Ptr SDL_GPUTransferBufferCreateInfo -> IO SDL_GPUTransferBufferCreateInfo # poke :: Ptr SDL_GPUTransferBufferCreateInfo -> SDL_GPUTransferBufferCreateInfo -> IO () # | |||||
| Generic SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTransferBufferCreateInfo -> ShowS # | |||||
| Eq SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUTransferBufferCreateInfo -> Int # staticAlignment :: Proxy SDL_GPUTransferBufferCreateInfo -> Int # | |||||
| WriteRaw SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTransferBufferCreateInfo -> SDL_GPUTransferBufferCreateInfo -> IO () # | |||||
| IsStruct SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUTransferBufferCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTransferBufferCreateInfo "size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTransferBufferCreateInfo "usage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_PropertiesID => HasField "props" SDL_GPUTransferBufferCreateInfo ty Source # | A properties ID for extensions. Should be 0 if no extensions are needed.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTransferBufferCreateInfo -> (ty -> SDL_GPUTransferBufferCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "size" SDL_GPUTransferBufferCreateInfo ty Source # | The size in bytes of the transfer buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTransferBufferCreateInfo -> (ty -> SDL_GPUTransferBufferCreateInfo, ty) # | |||||
| ty ~ SDL_GPUTransferBufferUsage => HasField "usage" SDL_GPUTransferBufferCreateInfo ty Source # | How the transfer buffer is intended to be used by the client.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTransferBufferCreateInfo -> (ty -> SDL_GPUTransferBufferCreateInfo, ty) # | |||||
| ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPUTransferBufferCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTransferBufferCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "size" (Ptr SDL_GPUTransferBufferCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTransferBufferCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUTransferBufferUsage => HasField "usage" (Ptr SDL_GPUTransferBufferCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTransferBufferCreateInfo -> Ptr ty # | |||||
| type Rep SDL_GPUTransferBufferCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTransferBufferCreateInfo = D1 ('MetaData "SDL_GPUTransferBufferCreateInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUTransferBufferCreateInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "usage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUTransferBufferUsage) :*: (S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "props") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PropertiesID)))) | |||||
| type CFieldType SDL_GPUTransferBufferCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTransferBufferCreateInfo "size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTransferBufferCreateInfo "usage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPURasterizerState Source #
A structure specifying the parameters of the graphics pipeline rasterizer state.
Note that SDL_GPU_FILLMODE_LINE is not supported on many Android devices. For those devices, the fill mode will automatically fall back to FILL.
Also note that the D3D12 driver will enable depth clamping even if enable_depth_clip is true. If you need this clamp+clip behavior, consider enabling depth clip and then manually clamping depth in your fragment shaders on Metal and Vulkan.
- See also
SDL_GPUGraphicsPipelineCreateInfo- C declaration
struct SDL_GPURasterizerState, defined atSDL3/SDL_gpu.h 1844:16
Since: 3.2.0
Constructors
| SDL_GPURasterizerState | |
Fields
| |
Instances
| Storable SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPURasterizerState -> Int # alignment :: SDL_GPURasterizerState -> Int # peekElemOff :: Ptr SDL_GPURasterizerState -> Int -> IO SDL_GPURasterizerState # pokeElemOff :: Ptr SDL_GPURasterizerState -> Int -> SDL_GPURasterizerState -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPURasterizerState # pokeByteOff :: Ptr b -> Int -> SDL_GPURasterizerState -> IO () # peek :: Ptr SDL_GPURasterizerState -> IO SDL_GPURasterizerState # poke :: Ptr SDL_GPURasterizerState -> SDL_GPURasterizerState -> IO () # | |||||
| Generic SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPURasterizerState -> Rep SDL_GPURasterizerState x # to :: Rep SDL_GPURasterizerState x -> SDL_GPURasterizerState # | |||||
| Show SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPURasterizerState -> ShowS # show :: SDL_GPURasterizerState -> String # showList :: [SDL_GPURasterizerState] -> ShowS # | |||||
| Eq SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPURasterizerState -> SDL_GPURasterizerState -> Bool # (/=) :: SDL_GPURasterizerState -> SDL_GPURasterizerState -> Bool # | |||||
| ReadRaw SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPURasterizerState -> IO SDL_GPURasterizerState # | |||||
| StaticSize SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPURasterizerState -> SDL_GPURasterizerState -> IO () # | |||||
| IsStruct SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPURasterizerState "cull_mode" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "depth_bias_clamp" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "depth_bias_constant_factor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "depth_bias_slope_factor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "enable_depth_bias" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "enable_depth_clip" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "fill_mode" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "front_face" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPURasterizerState "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUCullMode => HasField "cull_mode" SDL_GPURasterizerState ty Source # | The facing direction in which triangles will be culled.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ CFloat => HasField "depth_bias_clamp" SDL_GPURasterizerState ty Source # | The maximum depth bias of a fragment.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ CFloat => HasField "depth_bias_constant_factor" SDL_GPURasterizerState ty Source # | A scalar factor controlling the depth value added to each fragment.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ CFloat => HasField "depth_bias_slope_factor" SDL_GPURasterizerState ty Source # | A scalar factor applied to a fragment's slope in depth calculations.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ CBool => HasField "enable_depth_bias" SDL_GPURasterizerState ty Source # | true to bias fragment depth values.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ CBool => HasField "enable_depth_clip" SDL_GPURasterizerState ty Source # | true to enable depth clip, false to enable depth clamp.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ SDL_GPUFillMode => HasField "fill_mode" SDL_GPURasterizerState ty Source # | Whether polygons will be filled in or drawn as lines.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ SDL_GPUFrontFace => HasField "front_face" SDL_GPURasterizerState ty Source # | The vertex winding that will cause a triangle to be determined as front-facing.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPURasterizerState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPURasterizerState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPURasterizerState -> (ty -> SDL_GPURasterizerState, ty) # | |||||
| ty ~ SDL_GPUCullMode => HasField "cull_mode" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ CFloat => HasField "depth_bias_clamp" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ CFloat => HasField "depth_bias_constant_factor" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ CFloat => HasField "depth_bias_slope_factor" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_depth_bias" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_depth_clip" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ SDL_GPUFillMode => HasField "fill_mode" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ SDL_GPUFrontFace => HasField "front_face" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPURasterizerState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPURasterizerState -> Ptr ty # | |||||
| type Rep SDL_GPURasterizerState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPURasterizerState = D1 ('MetaData "SDL_GPURasterizerState" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPURasterizerState" 'PrefixI 'True) (((S1 ('MetaSel ('Just "fill_mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUFillMode) :*: S1 ('MetaSel ('Just "cull_mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUCullMode)) :*: (S1 ('MetaSel ('Just "front_face") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUFrontFace) :*: (S1 ('MetaSel ('Just "depth_bias_constant_factor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "depth_bias_clamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat)))) :*: ((S1 ('MetaSel ('Just "depth_bias_slope_factor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "enable_depth_bias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool)) :*: (S1 ('MetaSel ('Just "enable_depth_clip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: (S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))))) | |||||
| type CFieldType SDL_GPURasterizerState "cull_mode" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "depth_bias_clamp" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "depth_bias_constant_factor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "depth_bias_slope_factor" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "enable_depth_bias" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "enable_depth_clip" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "fill_mode" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "front_face" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPURasterizerState "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUMultisampleState Source #
A structure specifying the parameters of the graphics pipeline multisample state.
- See also
SDL_GPUGraphicsPipelineCreateInfo- C declaration
struct SDL_GPUMultisampleState, defined atSDL3/SDL_gpu.h 1866:16
Since: 3.2.0
Constructors
| SDL_GPUMultisampleState | |
Fields
| |
Instances
| Storable SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUMultisampleState -> Int # alignment :: SDL_GPUMultisampleState -> Int # peekElemOff :: Ptr SDL_GPUMultisampleState -> Int -> IO SDL_GPUMultisampleState # pokeElemOff :: Ptr SDL_GPUMultisampleState -> Int -> SDL_GPUMultisampleState -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUMultisampleState # pokeByteOff :: Ptr b -> Int -> SDL_GPUMultisampleState -> IO () # peek :: Ptr SDL_GPUMultisampleState -> IO SDL_GPUMultisampleState # poke :: Ptr SDL_GPUMultisampleState -> SDL_GPUMultisampleState -> IO () # | |||||
| Generic SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUMultisampleState -> Rep SDL_GPUMultisampleState x # to :: Rep SDL_GPUMultisampleState x -> SDL_GPUMultisampleState # | |||||
| Show SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUMultisampleState -> ShowS # show :: SDL_GPUMultisampleState -> String # showList :: [SDL_GPUMultisampleState] -> ShowS # | |||||
| Eq SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUMultisampleState -> SDL_GPUMultisampleState -> Bool # (/=) :: SDL_GPUMultisampleState -> SDL_GPUMultisampleState -> Bool # | |||||
| ReadRaw SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUMultisampleState -> IO SDL_GPUMultisampleState # | |||||
| StaticSize SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUMultisampleState -> SDL_GPUMultisampleState -> IO () # | |||||
| IsStruct SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUMultisampleState "enable_alpha_to_coverage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUMultisampleState "enable_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUMultisampleState "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUMultisampleState "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUMultisampleState "sample_count" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUMultisampleState "sample_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CBool => HasField "enable_alpha_to_coverage" SDL_GPUMultisampleState ty Source # | true enables the alpha-to-coverage feature.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUMultisampleState -> (ty -> SDL_GPUMultisampleState, ty) # | |||||
| ty ~ CBool => HasField "enable_mask" SDL_GPUMultisampleState ty Source # | Reserved for future use. Must be set to false.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUMultisampleState -> (ty -> SDL_GPUMultisampleState, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUMultisampleState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUMultisampleState -> (ty -> SDL_GPUMultisampleState, ty) # | |||||
| ty ~ Uint8 => HasField "padding3" SDL_GPUMultisampleState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUMultisampleState -> (ty -> SDL_GPUMultisampleState, ty) # | |||||
| ty ~ SDL_GPUSampleCount => HasField "sample_count" SDL_GPUMultisampleState ty Source # | The number of samples to be used in rasterization.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUMultisampleState -> (ty -> SDL_GPUMultisampleState, ty) # | |||||
| ty ~ Uint32 => HasField "sample_mask" SDL_GPUMultisampleState ty Source # | Reserved for future use. Must be set to 0.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUMultisampleState -> (ty -> SDL_GPUMultisampleState, ty) # | |||||
| ty ~ CBool => HasField "enable_alpha_to_coverage" (Ptr SDL_GPUMultisampleState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUMultisampleState -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_mask" (Ptr SDL_GPUMultisampleState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUMultisampleState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUMultisampleState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUMultisampleState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding3" (Ptr SDL_GPUMultisampleState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUMultisampleState -> Ptr ty # | |||||
| ty ~ SDL_GPUSampleCount => HasField "sample_count" (Ptr SDL_GPUMultisampleState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUMultisampleState -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "sample_mask" (Ptr SDL_GPUMultisampleState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUMultisampleState -> Ptr ty # | |||||
| type Rep SDL_GPUMultisampleState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUMultisampleState = D1 ('MetaData "SDL_GPUMultisampleState" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUMultisampleState" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sample_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUSampleCount) :*: (S1 ('MetaSel ('Just "sample_mask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "enable_mask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool))) :*: (S1 ('MetaSel ('Just "enable_alpha_to_coverage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: (S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8))))) | |||||
| type CFieldType SDL_GPUMultisampleState "enable_alpha_to_coverage" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUMultisampleState "enable_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUMultisampleState "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUMultisampleState "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUMultisampleState "sample_count" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUMultisampleState "sample_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUDepthStencilState Source #
A structure specifying the parameters of the graphics pipeline depth stencil state.
- See also
SDL_GPUGraphicsPipelineCreateInfo- C declaration
struct SDL_GPUDepthStencilState, defined atSDL3/SDL_gpu.h 1884:16
Since: 3.2.0
Constructors
| SDL_GPUDepthStencilState | |
Fields
| |
Instances
| Storable SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUDepthStencilState -> Int # alignment :: SDL_GPUDepthStencilState -> Int # peekElemOff :: Ptr SDL_GPUDepthStencilState -> Int -> IO SDL_GPUDepthStencilState # pokeElemOff :: Ptr SDL_GPUDepthStencilState -> Int -> SDL_GPUDepthStencilState -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUDepthStencilState # pokeByteOff :: Ptr b -> Int -> SDL_GPUDepthStencilState -> IO () # peek :: Ptr SDL_GPUDepthStencilState -> IO SDL_GPUDepthStencilState # poke :: Ptr SDL_GPUDepthStencilState -> SDL_GPUDepthStencilState -> IO () # | |||||
| Generic SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUDepthStencilState -> Rep SDL_GPUDepthStencilState x # to :: Rep SDL_GPUDepthStencilState x -> SDL_GPUDepthStencilState # | |||||
| Show SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUDepthStencilState -> ShowS # show :: SDL_GPUDepthStencilState -> String # showList :: [SDL_GPUDepthStencilState] -> ShowS # | |||||
| Eq SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUDepthStencilState -> SDL_GPUDepthStencilState -> Bool # (/=) :: SDL_GPUDepthStencilState -> SDL_GPUDepthStencilState -> Bool # | |||||
| ReadRaw SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUDepthStencilState -> IO SDL_GPUDepthStencilState # | |||||
| StaticSize SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUDepthStencilState -> SDL_GPUDepthStencilState -> IO () # | |||||
| IsStruct SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUDepthStencilState "back_stencil_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "compare_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "compare_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "enable_depth_test" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "enable_depth_write" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "enable_stencil_test" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "front_stencil_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilState "write_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUStencilOpState => HasField "back_stencil_state" SDL_GPUDepthStencilState ty Source # | The stencil op state for back-facing triangles.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ Uint8 => HasField "compare_mask" SDL_GPUDepthStencilState ty Source # | Selects the bits of the stencil values participating in the stencil test.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ SDL_GPUCompareOp => HasField "compare_op" SDL_GPUDepthStencilState ty Source # | The comparison operator used for depth testing.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ CBool => HasField "enable_depth_test" SDL_GPUDepthStencilState ty Source # | true enables the depth test.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ CBool => HasField "enable_depth_write" SDL_GPUDepthStencilState ty Source # | true enables depth writes. Depth writes are always disabled when enable_depth_test is false.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ CBool => HasField "enable_stencil_test" SDL_GPUDepthStencilState ty Source # | true enables the stencil test.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ SDL_GPUStencilOpState => HasField "front_stencil_state" SDL_GPUDepthStencilState ty Source # | The stencil op state for front-facing triangles.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPUDepthStencilState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUDepthStencilState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ Uint8 => HasField "padding3" SDL_GPUDepthStencilState ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ Uint8 => HasField "write_mask" SDL_GPUDepthStencilState ty Source # | Selects the bits of the stencil values updated by the stencil test.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilState -> (ty -> SDL_GPUDepthStencilState, ty) # | |||||
| ty ~ SDL_GPUStencilOpState => HasField "back_stencil_state" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "compare_mask" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ SDL_GPUCompareOp => HasField "compare_op" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_depth_test" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_depth_write" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ CBool => HasField "enable_stencil_test" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ SDL_GPUStencilOpState => HasField "front_stencil_state" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding3" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "write_mask" (Ptr SDL_GPUDepthStencilState) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilState -> Ptr ty # | |||||
| type Rep SDL_GPUDepthStencilState Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUDepthStencilState = D1 ('MetaData "SDL_GPUDepthStencilState" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUDepthStencilState" 'PrefixI 'True) (((S1 ('MetaSel ('Just "compare_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUCompareOp) :*: S1 ('MetaSel ('Just "back_stencil_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUStencilOpState)) :*: (S1 ('MetaSel ('Just "front_stencil_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUStencilOpState) :*: (S1 ('MetaSel ('Just "compare_mask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "write_mask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))) :*: ((S1 ('MetaSel ('Just "enable_depth_test") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: (S1 ('MetaSel ('Just "enable_depth_write") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: S1 ('MetaSel ('Just "enable_stencil_test") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool))) :*: (S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: (S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))))) | |||||
| type CFieldType SDL_GPUDepthStencilState "back_stencil_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "compare_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "compare_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "enable_depth_test" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "enable_depth_write" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "enable_stencil_test" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "front_stencil_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilState "write_mask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUColorTargetDescription Source #
A structure specifying the parameters of color targets used in a graphics pipeline.
- See also
SDL_GPUGraphicsPipelineTargetInfo- C declaration
struct SDL_GPUColorTargetDescription, defined atSDL3/SDL_gpu.h 1907:16
Since: 3.2.0
Constructors
| SDL_GPUColorTargetDescription | |
Fields
| |
Instances
| Storable SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUColorTargetDescription -> Int # alignment :: SDL_GPUColorTargetDescription -> Int # peekElemOff :: Ptr SDL_GPUColorTargetDescription -> Int -> IO SDL_GPUColorTargetDescription # pokeElemOff :: Ptr SDL_GPUColorTargetDescription -> Int -> SDL_GPUColorTargetDescription -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUColorTargetDescription # pokeByteOff :: Ptr b -> Int -> SDL_GPUColorTargetDescription -> IO () # peek :: Ptr SDL_GPUColorTargetDescription -> IO SDL_GPUColorTargetDescription # poke :: Ptr SDL_GPUColorTargetDescription -> SDL_GPUColorTargetDescription -> IO () # | |||||
| Generic SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUColorTargetDescription -> ShowS # show :: SDL_GPUColorTargetDescription -> String # showList :: [SDL_GPUColorTargetDescription] -> ShowS # | |||||
| Eq SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUColorTargetDescription -> IO SDL_GPUColorTargetDescription # | |||||
| StaticSize SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUColorTargetDescription -> Int # staticAlignment :: Proxy SDL_GPUColorTargetDescription -> Int # | |||||
| WriteRaw SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUColorTargetDescription -> SDL_GPUColorTargetDescription -> IO () # | |||||
| IsStruct SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUColorTargetDescription "blend_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetDescription "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUColorTargetBlendState => HasField "blend_state" SDL_GPUColorTargetDescription ty Source # | The blend state to be used for the color target.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetDescription -> (ty -> SDL_GPUColorTargetDescription, ty) # | |||||
| ty ~ SDL_GPUTextureFormat => HasField "format" SDL_GPUColorTargetDescription ty Source # | The pixel format of the texture to be used as a color target.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetDescription -> (ty -> SDL_GPUColorTargetDescription, ty) # | |||||
| ty ~ SDL_GPUColorTargetBlendState => HasField "blend_state" (Ptr SDL_GPUColorTargetDescription) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetDescription -> Ptr ty # | |||||
| ty ~ SDL_GPUTextureFormat => HasField "format" (Ptr SDL_GPUColorTargetDescription) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetDescription -> Ptr ty # | |||||
| type Rep SDL_GPUColorTargetDescription Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUColorTargetDescription = D1 ('MetaData "SDL_GPUColorTargetDescription" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUColorTargetDescription" 'PrefixI 'True) (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUTextureFormat) :*: S1 ('MetaSel ('Just "blend_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUColorTargetBlendState))) | |||||
| type CFieldType SDL_GPUColorTargetDescription "blend_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetDescription "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUGraphicsPipelineTargetInfo Source #
A structure specifying the descriptions of render targets used in a graphics pipeline.
- See also
SDL_GPUGraphicsPipelineCreateInfo,SDL_GPUColorTargetDescription,SDL_GPUTextureFormat- C declaration
struct SDL_GPUGraphicsPipelineTargetInfo, defined atSDL3/SDL_gpu.h 1923:16
Since: 3.2.0
Constructors
| SDL_GPUGraphicsPipelineTargetInfo | |
Fields
| |
Instances
| Storable SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUGraphicsPipelineTargetInfo -> Int # alignment :: SDL_GPUGraphicsPipelineTargetInfo -> Int # peekElemOff :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Int -> IO SDL_GPUGraphicsPipelineTargetInfo # pokeElemOff :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Int -> SDL_GPUGraphicsPipelineTargetInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUGraphicsPipelineTargetInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUGraphicsPipelineTargetInfo -> IO () # peek :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> IO SDL_GPUGraphicsPipelineTargetInfo # poke :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> SDL_GPUGraphicsPipelineTargetInfo -> IO () # | |||||
| Generic SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUGraphicsPipelineTargetInfo -> ShowS # | |||||
| Eq SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| WriteRaw SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> SDL_GPUGraphicsPipelineTargetInfo -> IO () # | |||||
| IsStruct SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUGraphicsPipelineTargetInfo "color_target_descriptions" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineTargetInfo "depth_stencil_format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineTargetInfo "has_depth_stencil_target" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineTargetInfo "num_color_targets" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineTargetInfo "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineTargetInfo "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineTargetInfo "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ PtrConst SDL_GPUColorTargetDescription => HasField "color_target_descriptions" SDL_GPUGraphicsPipelineTargetInfo ty Source # | A pointer to an array of color target descriptions.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineTargetInfo -> (ty -> SDL_GPUGraphicsPipelineTargetInfo, ty) # | |||||
| ty ~ SDL_GPUTextureFormat => HasField "depth_stencil_format" SDL_GPUGraphicsPipelineTargetInfo ty Source # | The pixel format of the depth-stencil target. Ignored if has_depth_stencil_target is false.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineTargetInfo -> (ty -> SDL_GPUGraphicsPipelineTargetInfo, ty) # | |||||
| ty ~ CBool => HasField "has_depth_stencil_target" SDL_GPUGraphicsPipelineTargetInfo ty Source # | true specifies that the pipeline uses a depth-stencil target.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineTargetInfo -> (ty -> SDL_GPUGraphicsPipelineTargetInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_color_targets" SDL_GPUGraphicsPipelineTargetInfo ty Source # | The number of color target descriptions in the above array.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineTargetInfo -> (ty -> SDL_GPUGraphicsPipelineTargetInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPUGraphicsPipelineTargetInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineTargetInfo -> (ty -> SDL_GPUGraphicsPipelineTargetInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUGraphicsPipelineTargetInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineTargetInfo -> (ty -> SDL_GPUGraphicsPipelineTargetInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding3" SDL_GPUGraphicsPipelineTargetInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineTargetInfo -> (ty -> SDL_GPUGraphicsPipelineTargetInfo, ty) # | |||||
| ty ~ PtrConst SDL_GPUColorTargetDescription => HasField "color_target_descriptions" (Ptr SDL_GPUGraphicsPipelineTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUTextureFormat => HasField "depth_stencil_format" (Ptr SDL_GPUGraphicsPipelineTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Ptr ty # | |||||
| ty ~ CBool => HasField "has_depth_stencil_target" (Ptr SDL_GPUGraphicsPipelineTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_color_targets" (Ptr SDL_GPUGraphicsPipelineTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPUGraphicsPipelineTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUGraphicsPipelineTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding3" (Ptr SDL_GPUGraphicsPipelineTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineTargetInfo -> Ptr ty # | |||||
| type Rep SDL_GPUGraphicsPipelineTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUGraphicsPipelineTargetInfo = D1 ('MetaData "SDL_GPUGraphicsPipelineTargetInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUGraphicsPipelineTargetInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "color_target_descriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst SDL_GPUColorTargetDescription)) :*: (S1 ('MetaSel ('Just "num_color_targets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "depth_stencil_format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUTextureFormat))) :*: ((S1 ('MetaSel ('Just "has_depth_stencil_target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)) :*: (S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8))))) | |||||
| type CFieldType SDL_GPUGraphicsPipelineTargetInfo "color_target_descriptions" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type CFieldType SDL_GPUGraphicsPipelineTargetInfo "color_target_descriptions" = PtrConst SDL_GPUColorTargetDescription | |||||
| type CFieldType SDL_GPUGraphicsPipelineTargetInfo "depth_stencil_format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineTargetInfo "has_depth_stencil_target" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineTargetInfo "num_color_targets" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineTargetInfo "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineTargetInfo "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineTargetInfo "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUGraphicsPipelineCreateInfo Source #
A structure specifying the parameters of a graphics pipeline state.
- See also
sDL_CreateGPUGraphicsPipeline,SDL_GPUShader,SDL_GPUVertexInputState,SDL_GPUPrimitiveType,SDL_GPURasterizerState,SDL_GPUMultisampleState,SDL_GPUDepthStencilState,SDL_GPUGraphicsPipelineTargetInfo- C declaration
struct SDL_GPUGraphicsPipelineCreateInfo, defined atSDL3/SDL_gpu.h 1948:16
Since: 3.2.0
Constructors
| SDL_GPUGraphicsPipelineCreateInfo | |
Fields
| |
Instances
| Storable SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUGraphicsPipelineCreateInfo -> Int # alignment :: SDL_GPUGraphicsPipelineCreateInfo -> Int # peekElemOff :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Int -> IO SDL_GPUGraphicsPipelineCreateInfo # pokeElemOff :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Int -> SDL_GPUGraphicsPipelineCreateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUGraphicsPipelineCreateInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUGraphicsPipelineCreateInfo -> IO () # peek :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> IO SDL_GPUGraphicsPipelineCreateInfo # poke :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> SDL_GPUGraphicsPipelineCreateInfo -> IO () # | |||||
| Generic SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUGraphicsPipelineCreateInfo -> ShowS # | |||||
| Eq SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| WriteRaw SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> SDL_GPUGraphicsPipelineCreateInfo -> IO () # | |||||
| IsStruct SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "depth_stencil_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "fragment_shader" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "multisample_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "primitive_type" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "rasterizer_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "target_info" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "vertex_input_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUGraphicsPipelineCreateInfo "vertex_shader" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_GPUDepthStencilState => HasField "depth_stencil_state" SDL_GPUGraphicsPipelineCreateInfo ty Source # | The depth-stencil state of the graphics pipeline.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ Ptr SDL_GPUShader => HasField "fragment_shader" SDL_GPUGraphicsPipelineCreateInfo ty Source # | The fragment shader used by the graphics pipeline.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ SDL_GPUMultisampleState => HasField "multisample_state" SDL_GPUGraphicsPipelineCreateInfo ty Source # | The multisample state of the graphics pipeline.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ SDL_GPUPrimitiveType => HasField "primitive_type" SDL_GPUGraphicsPipelineCreateInfo ty Source # | The primitive topology of the graphics pipeline.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ SDL_PropertiesID => HasField "props" SDL_GPUGraphicsPipelineCreateInfo ty Source # | A properties ID for extensions. Should be 0 if no extensions are needed.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ SDL_GPURasterizerState => HasField "rasterizer_state" SDL_GPUGraphicsPipelineCreateInfo ty Source # | The rasterizer state of the graphics pipeline.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ SDL_GPUGraphicsPipelineTargetInfo => HasField "target_info" SDL_GPUGraphicsPipelineCreateInfo ty Source # | Formats and blend modes for the render targets of the graphics pipeline.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ SDL_GPUVertexInputState => HasField "vertex_input_state" SDL_GPUGraphicsPipelineCreateInfo ty Source # | The vertex layout of the graphics pipeline.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ Ptr SDL_GPUShader => HasField "vertex_shader" SDL_GPUGraphicsPipelineCreateInfo ty Source # | The vertex shader used by the graphics pipeline.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUGraphicsPipelineCreateInfo -> (ty -> SDL_GPUGraphicsPipelineCreateInfo, ty) # | |||||
| ty ~ SDL_GPUDepthStencilState => HasField "depth_stencil_state" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUShader => HasField "fragment_shader" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUMultisampleState => HasField "multisample_state" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUPrimitiveType => HasField "primitive_type" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPURasterizerState => HasField "rasterizer_state" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUGraphicsPipelineTargetInfo => HasField "target_info" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUVertexInputState => HasField "vertex_input_state" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUShader => HasField "vertex_shader" (Ptr SDL_GPUGraphicsPipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUGraphicsPipelineCreateInfo -> Ptr ty # | |||||
| type Rep SDL_GPUGraphicsPipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUGraphicsPipelineCreateInfo = D1 ('MetaData "SDL_GPUGraphicsPipelineCreateInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUGraphicsPipelineCreateInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "vertex_shader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUShader)) :*: S1 ('MetaSel ('Just "fragment_shader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUShader))) :*: (S1 ('MetaSel ('Just "vertex_input_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUVertexInputState) :*: S1 ('MetaSel ('Just "primitive_type") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUPrimitiveType))) :*: ((S1 ('MetaSel ('Just "rasterizer_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPURasterizerState) :*: S1 ('MetaSel ('Just "multisample_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUMultisampleState)) :*: (S1 ('MetaSel ('Just "depth_stencil_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUDepthStencilState) :*: (S1 ('MetaSel ('Just "target_info") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUGraphicsPipelineTargetInfo) :*: S1 ('MetaSel ('Just "props") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PropertiesID)))))) | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "depth_stencil_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "fragment_shader" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "multisample_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "primitive_type" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "rasterizer_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "target_info" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "vertex_input_state" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUGraphicsPipelineCreateInfo "vertex_shader" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUComputePipelineCreateInfo Source #
A structure specifying the parameters of a compute pipeline state.
- See also
sDL_CreateGPUComputePipeline,SDL_GPUShaderFormat- C declaration
struct SDL_GPUComputePipelineCreateInfo, defined atSDL3/SDL_gpu.h 1970:16
Since: 3.2.0
Constructors
| SDL_GPUComputePipelineCreateInfo | |
Fields
| |
Instances
| Storable SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUComputePipelineCreateInfo -> Int # alignment :: SDL_GPUComputePipelineCreateInfo -> Int # peekElemOff :: Ptr SDL_GPUComputePipelineCreateInfo -> Int -> IO SDL_GPUComputePipelineCreateInfo # pokeElemOff :: Ptr SDL_GPUComputePipelineCreateInfo -> Int -> SDL_GPUComputePipelineCreateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUComputePipelineCreateInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUComputePipelineCreateInfo -> IO () # peek :: Ptr SDL_GPUComputePipelineCreateInfo -> IO SDL_GPUComputePipelineCreateInfo # poke :: Ptr SDL_GPUComputePipelineCreateInfo -> SDL_GPUComputePipelineCreateInfo -> IO () # | |||||
| Generic SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUComputePipelineCreateInfo -> ShowS # | |||||
| Eq SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| WriteRaw SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUComputePipelineCreateInfo -> SDL_GPUComputePipelineCreateInfo -> IO () # | |||||
| IsStruct SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUComputePipelineCreateInfo "code" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "code_size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "entrypoint" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "num_readonly_storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "num_readonly_storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "num_readwrite_storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "num_readwrite_storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "num_samplers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "num_uniform_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "threadcount_x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "threadcount_y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUComputePipelineCreateInfo "threadcount_z" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ PtrConst Uint8 => HasField "code" SDL_GPUComputePipelineCreateInfo ty Source # | A pointer to compute shader code.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ CSize => HasField "code_size" SDL_GPUComputePipelineCreateInfo ty Source # | The size in bytes of the compute shader code pointed to.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ PtrConst CChar => HasField "entrypoint" SDL_GPUComputePipelineCreateInfo ty Source # | A pointer to a null-terminated UTF-8 string specifying the entry point function name for the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ SDL_GPUShaderFormat => HasField "format" SDL_GPUComputePipelineCreateInfo ty Source # | The format of the compute shader code.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_readonly_storage_buffers" SDL_GPUComputePipelineCreateInfo ty Source # | The number of readonly storage buffers defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_readonly_storage_textures" SDL_GPUComputePipelineCreateInfo ty Source # | The number of readonly storage textures defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_readwrite_storage_buffers" SDL_GPUComputePipelineCreateInfo ty Source # | The number of read-write storage buffers defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_readwrite_storage_textures" SDL_GPUComputePipelineCreateInfo ty Source # | The number of read-write storage textures defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_samplers" SDL_GPUComputePipelineCreateInfo ty Source # | The number of samplers defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "num_uniform_buffers" SDL_GPUComputePipelineCreateInfo ty Source # | The number of uniform buffers defined in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ SDL_PropertiesID => HasField "props" SDL_GPUComputePipelineCreateInfo ty Source # | A properties ID for extensions. Should be 0 if no extensions are needed.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "threadcount_x" SDL_GPUComputePipelineCreateInfo ty Source # | The number of threads in the X dimension. This should match the value in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "threadcount_y" SDL_GPUComputePipelineCreateInfo ty Source # | The number of threads in the Y dimension. This should match the value in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ Uint32 => HasField "threadcount_z" SDL_GPUComputePipelineCreateInfo ty Source # | The number of threads in the Z dimension. This should match the value in the shader.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUComputePipelineCreateInfo -> (ty -> SDL_GPUComputePipelineCreateInfo, ty) # | |||||
| ty ~ PtrConst Uint8 => HasField "code" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ CSize => HasField "code_size" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ PtrConst CChar => HasField "entrypoint" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUShaderFormat => HasField "format" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_readonly_storage_buffers" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_readonly_storage_textures" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_readwrite_storage_buffers" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_readwrite_storage_textures" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_samplers" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "num_uniform_buffers" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "threadcount_x" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "threadcount_y" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "threadcount_z" (Ptr SDL_GPUComputePipelineCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUComputePipelineCreateInfo -> Ptr ty # | |||||
| type Rep SDL_GPUComputePipelineCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUComputePipelineCreateInfo = D1 ('MetaData "SDL_GPUComputePipelineCreateInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUComputePipelineCreateInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "code_size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CSize) :*: (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst Uint8)) :*: S1 ('MetaSel ('Just "entrypoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst CChar)))) :*: ((S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUShaderFormat) :*: S1 ('MetaSel ('Just "num_samplers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "num_readonly_storage_textures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "num_readonly_storage_buffers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) :*: ((S1 ('MetaSel ('Just "num_readwrite_storage_textures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "num_readwrite_storage_buffers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "num_uniform_buffers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) :*: ((S1 ('MetaSel ('Just "threadcount_x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "threadcount_y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "threadcount_z") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "props") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PropertiesID)))))) | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "code" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "code_size" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "entrypoint" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "num_readonly_storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "num_readonly_storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "num_readwrite_storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "num_readwrite_storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "num_samplers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "num_uniform_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "threadcount_x" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "threadcount_y" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUComputePipelineCreateInfo "threadcount_z" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUColorTargetInfo Source #
A structure specifying the parameters of a color target used by a render pass.
The load_op field determines what is done with the texture at the beginning of the render pass.
- LOAD: Loads the data currently in the texture. Not recommended for multisample textures as it requires significant memory bandwidth.
- CLEAR: Clears the texture to a single color.
- DONT_CARE: The driver will do whatever it wants with the texture memory. This is a good option if you know that every single pixel will be touched in the render pass.
The store_op field determines what is done with the color results of the render pass.
- STORE: Stores the results of the render pass in the texture. Not recommended for multisample textures as it requires significant memory bandwidth.
- DONT_CARE: The driver will do whatever it wants with the texture memory. This is often a good option for depth/stencil textures.
- RESOLVE: Resolves a multisample texture into resolve_texture, which must have a sample count of 1. Then the driver may discard the multisample texture memory. This is the most performant method of resolving a multisample target.
- RESOLVE_AND_STORE: Resolves a multisample texture into the resolve_texture, which must have a sample count of 1. Then the driver stores the multisample texture's contents. Not recommended as it requires significant memory bandwidth.
- See also
sDL_BeginGPURenderPass, SDL_FColor- C declaration
struct SDL_GPUColorTargetInfo, defined atSDL3/SDL_gpu.h 2025:16
Since: 3.2.0
Constructors
| SDL_GPUColorTargetInfo | |
Fields
| |
Instances
| Storable SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUColorTargetInfo -> Int # alignment :: SDL_GPUColorTargetInfo -> Int # peekElemOff :: Ptr SDL_GPUColorTargetInfo -> Int -> IO SDL_GPUColorTargetInfo # pokeElemOff :: Ptr SDL_GPUColorTargetInfo -> Int -> SDL_GPUColorTargetInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUColorTargetInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUColorTargetInfo -> IO () # peek :: Ptr SDL_GPUColorTargetInfo -> IO SDL_GPUColorTargetInfo # poke :: Ptr SDL_GPUColorTargetInfo -> SDL_GPUColorTargetInfo -> IO () # | |||||
| Generic SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUColorTargetInfo -> Rep SDL_GPUColorTargetInfo x # to :: Rep SDL_GPUColorTargetInfo x -> SDL_GPUColorTargetInfo # | |||||
| Show SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUColorTargetInfo -> ShowS # show :: SDL_GPUColorTargetInfo -> String # showList :: [SDL_GPUColorTargetInfo] -> ShowS # | |||||
| Eq SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUColorTargetInfo -> SDL_GPUColorTargetInfo -> Bool # (/=) :: SDL_GPUColorTargetInfo -> SDL_GPUColorTargetInfo -> Bool # | |||||
| ReadRaw SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUColorTargetInfo -> IO SDL_GPUColorTargetInfo # | |||||
| StaticSize SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUColorTargetInfo -> SDL_GPUColorTargetInfo -> IO () # | |||||
| IsStruct SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUColorTargetInfo "clear_color" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "cycle_resolve_texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "layer_or_depth_plane" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "load_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "resolve_layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "resolve_mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "resolve_texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "store_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUColorTargetInfo "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_FColor => HasField "clear_color" SDL_GPUColorTargetInfo ty Source # | The color to clear the color target to at the start of the render pass. Ignored if SDL_GPU_LOADOP_CLEAR is not used.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ CBool => HasField "cycle" SDL_GPUColorTargetInfo ty Source # | true cycles the texture if the texture is bound and load_op is not LOAD
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ CBool => HasField "cycle_resolve_texture" SDL_GPUColorTargetInfo ty Source # | true cycles the resolve texture if the resolve texture is bound. Ignored if a RESOLVE* store_op is not used.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ Uint32 => HasField "layer_or_depth_plane" SDL_GPUColorTargetInfo ty Source # | The layer index or depth plane to use as a color target. This value is treated as a layer index on 2D array and cube textures, and as a depth plane on 3D textures.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ SDL_GPULoadOp => HasField "load_op" SDL_GPUColorTargetInfo ty Source # | What is done with the contents of the color target at the beginning of the render pass.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ Uint32 => HasField "mip_level" SDL_GPUColorTargetInfo ty Source # | The mip level to use as a color target.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPUColorTargetInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUColorTargetInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ Uint32 => HasField "resolve_layer" SDL_GPUColorTargetInfo ty Source # | The layer index of the resolve texture to use for the resolve operation. Ignored if a RESOLVE* store_op is not used.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ Uint32 => HasField "resolve_mip_level" SDL_GPUColorTargetInfo ty Source # | The mip level of the resolve texture to use for the resolve operation. Ignored if a RESOLVE* store_op is not used.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "resolve_texture" SDL_GPUColorTargetInfo ty Source # | The texture that will receive the results of a multisample resolve operation. Ignored if a RESOLVE* store_op is not used.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ SDL_GPUStoreOp => HasField "store_op" SDL_GPUColorTargetInfo ty Source # | What is done with the results of the render pass.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" SDL_GPUColorTargetInfo ty Source # | The texture that will be used as a color target by a render pass.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUColorTargetInfo -> (ty -> SDL_GPUColorTargetInfo, ty) # | |||||
| ty ~ SDL_FColor => HasField "clear_color" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ CBool => HasField "cycle" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ CBool => HasField "cycle_resolve_texture" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "layer_or_depth_plane" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ SDL_GPULoadOp => HasField "load_op" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "mip_level" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "resolve_layer" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "resolve_mip_level" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "resolve_texture" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUStoreOp => HasField "store_op" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" (Ptr SDL_GPUColorTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUColorTargetInfo -> Ptr ty # | |||||
| type Rep SDL_GPUColorTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUColorTargetInfo = D1 ('MetaData "SDL_GPUColorTargetInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUColorTargetInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTexture)) :*: (S1 ('MetaSel ('Just "mip_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "layer_or_depth_plane") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) :*: (S1 ('MetaSel ('Just "clear_color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FColor) :*: (S1 ('MetaSel ('Just "load_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPULoadOp) :*: S1 ('MetaSel ('Just "store_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUStoreOp)))) :*: ((S1 ('MetaSel ('Just "resolve_texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTexture)) :*: (S1 ('MetaSel ('Just "resolve_mip_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "resolve_layer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) :*: ((S1 ('MetaSel ('Just "cycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: S1 ('MetaSel ('Just "cycle_resolve_texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool)) :*: (S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))))) | |||||
| type CFieldType SDL_GPUColorTargetInfo "clear_color" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "cycle_resolve_texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "layer_or_depth_plane" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "load_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "resolve_layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "resolve_mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "resolve_texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "store_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUColorTargetInfo "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUDepthStencilTargetInfo Source #
A structure specifying the parameters of a depth-stencil target used by a render pass.
The load_op field determines what is done with the depth contents of the texture at the beginning of the render pass.
- LOAD: Loads the depth values currently in the texture.
- CLEAR: Clears the texture to a single depth.
- DONT_CARE: The driver will do whatever it wants with the memory. This is a good option if you know that every single pixel will be touched in the render pass.
The store_op field determines what is done with the depth results of the render pass.
- STORE: Stores the depth results in the texture.
- DONT_CARE: The driver will do whatever it wants with the depth results. This is often a good option for depth/stencil textures that don't need to be reused again.
The stencil_load_op field determines what is done with the stencil contents of the texture at the beginning of the render pass.
- LOAD: Loads the stencil values currently in the texture.
- CLEAR: Clears the stencil values to a single value.
- DONT_CARE: The driver will do whatever it wants with the memory. This is a good option if you know that every single pixel will be touched in the render pass.
The stencil_store_op field determines what is done with the stencil results of the render pass.
- STORE: Stores the stencil results in the texture.
- DONT_CARE: The driver will do whatever it wants with the stencil results. This is often a good option for depth/stencil textures that don't need to be reused again.
Note that depth/stencil targets do not support multisample resolves.
Due to ABI limitations, depth textures with more than 255 layers are not supported.
- See also
sDL_BeginGPURenderPass- C declaration
struct SDL_GPUDepthStencilTargetInfo, defined atSDL3/SDL_gpu.h 2089:16
Since: 3.2.0
Constructors
| SDL_GPUDepthStencilTargetInfo | |
Fields
| |
Instances
| Storable SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUDepthStencilTargetInfo -> Int # alignment :: SDL_GPUDepthStencilTargetInfo -> Int # peekElemOff :: Ptr SDL_GPUDepthStencilTargetInfo -> Int -> IO SDL_GPUDepthStencilTargetInfo # pokeElemOff :: Ptr SDL_GPUDepthStencilTargetInfo -> Int -> SDL_GPUDepthStencilTargetInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUDepthStencilTargetInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUDepthStencilTargetInfo -> IO () # peek :: Ptr SDL_GPUDepthStencilTargetInfo -> IO SDL_GPUDepthStencilTargetInfo # poke :: Ptr SDL_GPUDepthStencilTargetInfo -> SDL_GPUDepthStencilTargetInfo -> IO () # | |||||
| Generic SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUDepthStencilTargetInfo -> ShowS # show :: SDL_GPUDepthStencilTargetInfo -> String # showList :: [SDL_GPUDepthStencilTargetInfo] -> ShowS # | |||||
| Eq SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| ReadRaw SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUDepthStencilTargetInfo -> IO SDL_GPUDepthStencilTargetInfo # | |||||
| StaticSize SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUDepthStencilTargetInfo -> Int # staticAlignment :: Proxy SDL_GPUDepthStencilTargetInfo -> Int # | |||||
| WriteRaw SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUDepthStencilTargetInfo -> SDL_GPUDepthStencilTargetInfo -> IO () # | |||||
| IsStruct SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUDepthStencilTargetInfo "clear_depth" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "clear_stencil" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "load_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "stencil_load_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "stencil_store_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "store_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUDepthStencilTargetInfo "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CFloat => HasField "clear_depth" SDL_GPUDepthStencilTargetInfo ty Source # | The value to clear the depth component to at the beginning of the render pass. Ignored if SDL_GPU_LOADOP_CLEAR is not used.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ Uint8 => HasField "clear_stencil" SDL_GPUDepthStencilTargetInfo ty Source # | The value to clear the stencil component to at the beginning of the render pass. Ignored if SDL_GPU_LOADOP_CLEAR is not used.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ CBool => HasField "cycle" SDL_GPUDepthStencilTargetInfo ty Source # | true cycles the texture if the texture is bound and any load ops are not LOAD
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ Uint8 => HasField "layer" SDL_GPUDepthStencilTargetInfo ty Source # | The layer index to use as the depth stencil target.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ SDL_GPULoadOp => HasField "load_op" SDL_GPUDepthStencilTargetInfo ty Source # | What is done with the depth contents at the beginning of the render pass.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ Uint8 => HasField "mip_level" SDL_GPUDepthStencilTargetInfo ty Source # | The mip level to use as the depth stencil target.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ SDL_GPULoadOp => HasField "stencil_load_op" SDL_GPUDepthStencilTargetInfo ty Source # | What is done with the stencil contents at the beginning of the render pass.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ SDL_GPUStoreOp => HasField "stencil_store_op" SDL_GPUDepthStencilTargetInfo ty Source # | What is done with the stencil results of the render pass.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ SDL_GPUStoreOp => HasField "store_op" SDL_GPUDepthStencilTargetInfo ty Source # | What is done with the depth results of the render pass.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" SDL_GPUDepthStencilTargetInfo ty Source # | The texture that will be used as the depth stencil target by the render pass.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUDepthStencilTargetInfo -> (ty -> SDL_GPUDepthStencilTargetInfo, ty) # | |||||
| ty ~ CFloat => HasField "clear_depth" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "clear_stencil" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ CBool => HasField "cycle" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "layer" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ SDL_GPULoadOp => HasField "load_op" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "mip_level" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ SDL_GPULoadOp => HasField "stencil_load_op" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUStoreOp => HasField "stencil_store_op" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUStoreOp => HasField "store_op" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" (Ptr SDL_GPUDepthStencilTargetInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUDepthStencilTargetInfo -> Ptr ty # | |||||
| type Rep SDL_GPUDepthStencilTargetInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUDepthStencilTargetInfo = D1 ('MetaData "SDL_GPUDepthStencilTargetInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUDepthStencilTargetInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTexture)) :*: S1 ('MetaSel ('Just "clear_depth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat)) :*: (S1 ('MetaSel ('Just "load_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPULoadOp) :*: (S1 ('MetaSel ('Just "store_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUStoreOp) :*: S1 ('MetaSel ('Just "stencil_load_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPULoadOp)))) :*: ((S1 ('MetaSel ('Just "stencil_store_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUStoreOp) :*: S1 ('MetaSel ('Just "cycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool)) :*: (S1 ('MetaSel ('Just "clear_stencil") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: (S1 ('MetaSel ('Just "mip_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "layer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))))) | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "clear_depth" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "clear_stencil" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "load_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "stencil_load_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "stencil_store_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "store_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUDepthStencilTargetInfo "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUBlitInfo Source #
A structure containing parameters for a blit command.
- See also
sDL_BlitGPUTexture,SDL_GPUBlitRegion,SDL_GPULoadOp, SDL_FColor, SDL_FlipMode,SDL_GPUFilter- C declaration
struct SDL_GPUBlitInfo, defined atSDL3/SDL_gpu.h 2115:16
Since: 3.2.0
Constructors
| SDL_GPUBlitInfo | |
Fields
| |
Instances
| Storable SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBlitInfo -> Int # alignment :: SDL_GPUBlitInfo -> Int # peekElemOff :: Ptr SDL_GPUBlitInfo -> Int -> IO SDL_GPUBlitInfo # pokeElemOff :: Ptr SDL_GPUBlitInfo -> Int -> SDL_GPUBlitInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBlitInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPUBlitInfo -> IO () # peek :: Ptr SDL_GPUBlitInfo -> IO SDL_GPUBlitInfo # poke :: Ptr SDL_GPUBlitInfo -> SDL_GPUBlitInfo -> IO () # | |||||
| Generic SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBlitInfo -> Rep SDL_GPUBlitInfo x # to :: Rep SDL_GPUBlitInfo x -> SDL_GPUBlitInfo # | |||||
| Show SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBlitInfo -> ShowS # show :: SDL_GPUBlitInfo -> String # showList :: [SDL_GPUBlitInfo] -> ShowS # | |||||
| Eq SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBlitInfo -> SDL_GPUBlitInfo -> Bool # (/=) :: SDL_GPUBlitInfo -> SDL_GPUBlitInfo -> Bool # | |||||
| ReadRaw SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUBlitInfo -> IO SDL_GPUBlitInfo # | |||||
| StaticSize SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUBlitInfo -> Int # staticAlignment :: Proxy SDL_GPUBlitInfo -> Int # | |||||
| WriteRaw SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBlitInfo -> SDL_GPUBlitInfo -> IO () # | |||||
| IsStruct SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods zero :: SDL_GPUBlitInfo # | |||||
| HasCField SDL_GPUBlitInfo "clear_color" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "destination" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "filter" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "flip_mode" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "load_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBlitInfo "source" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ SDL_FColor => HasField "clear_color" SDL_GPUBlitInfo ty Source # | The color to clear the destination region to before the blit. Ignored if load_op is not SDL_GPU_LOADOP_CLEAR.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ CBool => HasField "cycle" SDL_GPUBlitInfo ty Source # | true cycles the destination texture if it is already bound.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ SDL_GPUBlitRegion => HasField "destination" SDL_GPUBlitInfo ty Source # | The destination region for the blit.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ SDL_GPUFilter => HasField "filter" SDL_GPUBlitInfo ty Source # | The filter mode used when blitting.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ SDL_FlipMode => HasField "flip_mode" SDL_GPUBlitInfo ty Source # | The flip mode for the source region.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ SDL_GPULoadOp => HasField "load_op" SDL_GPUBlitInfo ty Source # | What is done with the contents of the destination before the blit.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPUBlitInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUBlitInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ Uint8 => HasField "padding3" SDL_GPUBlitInfo ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ SDL_GPUBlitRegion => HasField "source" SDL_GPUBlitInfo ty Source # | The source region for the blit.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBlitInfo -> (ty -> SDL_GPUBlitInfo, ty) # | |||||
| ty ~ SDL_FColor => HasField "clear_color" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ CBool => HasField "cycle" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUBlitRegion => HasField "destination" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUFilter => HasField "filter" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ SDL_FlipMode => HasField "flip_mode" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ SDL_GPULoadOp => HasField "load_op" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding3" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| ty ~ SDL_GPUBlitRegion => HasField "source" (Ptr SDL_GPUBlitInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBlitInfo -> Ptr ty # | |||||
| type Rep SDL_GPUBlitInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBlitInfo = D1 ('MetaData "SDL_GPUBlitInfo" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUBlitInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBlitRegion) :*: S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUBlitRegion)) :*: (S1 ('MetaSel ('Just "load_op") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPULoadOp) :*: (S1 ('MetaSel ('Just "clear_color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FColor) :*: S1 ('MetaSel ('Just "flip_mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FlipMode)))) :*: ((S1 ('MetaSel ('Just "filter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_GPUFilter) :*: S1 ('MetaSel ('Just "cycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool)) :*: (S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: (S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))))) | |||||
| type CFieldType SDL_GPUBlitInfo "clear_color" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "destination" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "filter" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "flip_mode" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "load_op" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBlitInfo "source" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUBufferBinding Source #
A structure specifying parameters in a buffer binding call.
- See also
sDL_BindGPUVertexBuffers,sDL_BindGPUIndexBuffer- C declaration
struct SDL_GPUBufferBinding, defined atSDL3/SDL_gpu.h 2138:16
Since: 3.2.0
Constructors
| SDL_GPUBufferBinding | |
Fields
| |
Instances
| Storable SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUBufferBinding -> Int # alignment :: SDL_GPUBufferBinding -> Int # peekElemOff :: Ptr SDL_GPUBufferBinding -> Int -> IO SDL_GPUBufferBinding # pokeElemOff :: Ptr SDL_GPUBufferBinding -> Int -> SDL_GPUBufferBinding -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUBufferBinding # pokeByteOff :: Ptr b -> Int -> SDL_GPUBufferBinding -> IO () # peek :: Ptr SDL_GPUBufferBinding -> IO SDL_GPUBufferBinding # poke :: Ptr SDL_GPUBufferBinding -> SDL_GPUBufferBinding -> IO () # | |||||
| Generic SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUBufferBinding -> Rep SDL_GPUBufferBinding x # to :: Rep SDL_GPUBufferBinding x -> SDL_GPUBufferBinding # | |||||
| Show SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUBufferBinding -> ShowS # show :: SDL_GPUBufferBinding -> String # showList :: [SDL_GPUBufferBinding] -> ShowS # | |||||
| Eq SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUBufferBinding -> SDL_GPUBufferBinding -> Bool # (/=) :: SDL_GPUBufferBinding -> SDL_GPUBufferBinding -> Bool # | |||||
| ReadRaw SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUBufferBinding -> IO SDL_GPUBufferBinding # | |||||
| StaticSize SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUBufferBinding -> SDL_GPUBufferBinding -> IO () # | |||||
| IsStruct SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUBufferBinding "buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUBufferBinding "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Ptr SDL_GPUBuffer => HasField "buffer" SDL_GPUBufferBinding ty Source # | The buffer to bind. Must have been created with SDL_GPU_BUFFERUSAGE_VERTEX for SDL_BindGPUVertexBuffers, or SDL_GPU_BUFFERUSAGE_INDEX for SDL_BindGPUIndexBuffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferBinding -> (ty -> SDL_GPUBufferBinding, ty) # | |||||
| ty ~ Uint32 => HasField "offset" SDL_GPUBufferBinding ty Source # | The starting byte of the data to bind in the buffer.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUBufferBinding -> (ty -> SDL_GPUBufferBinding, ty) # | |||||
| ty ~ Ptr SDL_GPUBuffer => HasField "buffer" (Ptr SDL_GPUBufferBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferBinding -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "offset" (Ptr SDL_GPUBufferBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUBufferBinding -> Ptr ty # | |||||
| type Rep SDL_GPUBufferBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUBufferBinding = D1 ('MetaData "SDL_GPUBufferBinding" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUBufferBinding" 'PrefixI 'True) (S1 ('MetaSel ('Just "buffer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUBuffer)) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) | |||||
| type CFieldType SDL_GPUBufferBinding "buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUBufferBinding "offset" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUTextureSamplerBinding Source #
A structure specifying parameters in a sampler binding call.
- See also
sDL_BindGPUVertexSamplers,sDL_BindGPUFragmentSamplers,SDL_GPUTexture,SDL_GPUSampler- C declaration
struct SDL_GPUTextureSamplerBinding, defined atSDL3/SDL_gpu.h 2154:16
Since: 3.2.0
Constructors
| SDL_GPUTextureSamplerBinding | |
Fields
| |
Instances
| Storable SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUTextureSamplerBinding -> Int # alignment :: SDL_GPUTextureSamplerBinding -> Int # peekElemOff :: Ptr SDL_GPUTextureSamplerBinding -> Int -> IO SDL_GPUTextureSamplerBinding # pokeElemOff :: Ptr SDL_GPUTextureSamplerBinding -> Int -> SDL_GPUTextureSamplerBinding -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUTextureSamplerBinding # pokeByteOff :: Ptr b -> Int -> SDL_GPUTextureSamplerBinding -> IO () # peek :: Ptr SDL_GPUTextureSamplerBinding -> IO SDL_GPUTextureSamplerBinding # poke :: Ptr SDL_GPUTextureSamplerBinding -> SDL_GPUTextureSamplerBinding -> IO () # | |||||
| Generic SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUTextureSamplerBinding -> ShowS # show :: SDL_GPUTextureSamplerBinding -> String # showList :: [SDL_GPUTextureSamplerBinding] -> ShowS # | |||||
| Eq SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUTextureSamplerBinding -> SDL_GPUTextureSamplerBinding -> Bool # (/=) :: SDL_GPUTextureSamplerBinding -> SDL_GPUTextureSamplerBinding -> Bool # | |||||
| ReadRaw SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUTextureSamplerBinding -> IO SDL_GPUTextureSamplerBinding # | |||||
| StaticSize SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods staticSizeOf :: Proxy SDL_GPUTextureSamplerBinding -> Int # staticAlignment :: Proxy SDL_GPUTextureSamplerBinding -> Int # | |||||
| WriteRaw SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUTextureSamplerBinding -> SDL_GPUTextureSamplerBinding -> IO () # | |||||
| IsStruct SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUTextureSamplerBinding "sampler" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUTextureSamplerBinding "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Ptr SDL_GPUSampler => HasField "sampler" SDL_GPUTextureSamplerBinding ty Source # | The sampler to bind.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureSamplerBinding -> (ty -> SDL_GPUTextureSamplerBinding, ty) # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" SDL_GPUTextureSamplerBinding ty Source # | The texture to bind. Must have been created with SDL_GPU_TEXTUREUSAGE_SAMPLER.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUTextureSamplerBinding -> (ty -> SDL_GPUTextureSamplerBinding, ty) # | |||||
| ty ~ Ptr SDL_GPUSampler => HasField "sampler" (Ptr SDL_GPUTextureSamplerBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureSamplerBinding -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" (Ptr SDL_GPUTextureSamplerBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUTextureSamplerBinding -> Ptr ty # | |||||
| type Rep SDL_GPUTextureSamplerBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUTextureSamplerBinding = D1 ('MetaData "SDL_GPUTextureSamplerBinding" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUTextureSamplerBinding" 'PrefixI 'True) (S1 ('MetaSel ('Just "texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTexture)) :*: S1 ('MetaSel ('Just "sampler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUSampler)))) | |||||
| type CFieldType SDL_GPUTextureSamplerBinding "sampler" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUTextureSamplerBinding "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUStorageBufferReadWriteBinding Source #
A structure specifying parameters related to binding buffers in a compute pass.
- See also
sDL_BeginGPUComputePass- C declaration
struct SDL_GPUStorageBufferReadWriteBinding, defined atSDL3/SDL_gpu.h 2168:16
Since: 3.2.0
Constructors
| SDL_GPUStorageBufferReadWriteBinding | |
Fields
| |
Instances
| Storable SDL_GPUStorageBufferReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUStorageBufferReadWriteBinding -> Int # alignment :: SDL_GPUStorageBufferReadWriteBinding -> Int # peekElemOff :: Ptr SDL_GPUStorageBufferReadWriteBinding -> Int -> IO SDL_GPUStorageBufferReadWriteBinding # pokeElemOff :: Ptr SDL_GPUStorageBufferReadWriteBinding -> Int -> SDL_GPUStorageBufferReadWriteBinding -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUStorageBufferReadWriteBinding # pokeByteOff :: Ptr b -> Int -> SDL_GPUStorageBufferReadWriteBinding -> IO () # peek :: Ptr SDL_GPUStorageBufferReadWriteBinding -> IO SDL_GPUStorageBufferReadWriteBinding # poke :: Ptr SDL_GPUStorageBufferReadWriteBinding -> SDL_GPUStorageBufferReadWriteBinding -> IO () # | |||||
| Generic SDL_GPUStorageBufferReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUStorageBufferReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUStorageBufferReadWriteBinding -> ShowS # show :: SDL_GPUStorageBufferReadWriteBinding -> String # showList :: [SDL_GPUStorageBufferReadWriteBinding] -> ShowS # | |||||
| Eq SDL_GPUStorageBufferReadWriteBinding Source # | |||||
| ReadRaw SDL_GPUStorageBufferReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUStorageBufferReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| WriteRaw SDL_GPUStorageBufferReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUStorageBufferReadWriteBinding -> SDL_GPUStorageBufferReadWriteBinding -> IO () # | |||||
| IsStruct SDL_GPUStorageBufferReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUStorageBufferReadWriteBinding "buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageBufferReadWriteBinding "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageBufferReadWriteBinding "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageBufferReadWriteBinding "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageBufferReadWriteBinding "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Ptr SDL_GPUBuffer => HasField "buffer" SDL_GPUStorageBufferReadWriteBinding ty Source # | The buffer to bind. Must have been created with SDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_WRITE.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageBufferReadWriteBinding -> (ty -> SDL_GPUStorageBufferReadWriteBinding, ty) # | |||||
| ty ~ CBool => HasField "cycle" SDL_GPUStorageBufferReadWriteBinding ty Source # | true cycles the buffer if it is already bound.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageBufferReadWriteBinding -> (ty -> SDL_GPUStorageBufferReadWriteBinding, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPUStorageBufferReadWriteBinding ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageBufferReadWriteBinding -> (ty -> SDL_GPUStorageBufferReadWriteBinding, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUStorageBufferReadWriteBinding ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageBufferReadWriteBinding -> (ty -> SDL_GPUStorageBufferReadWriteBinding, ty) # | |||||
| ty ~ Uint8 => HasField "padding3" SDL_GPUStorageBufferReadWriteBinding ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageBufferReadWriteBinding -> (ty -> SDL_GPUStorageBufferReadWriteBinding, ty) # | |||||
| ty ~ Ptr SDL_GPUBuffer => HasField "buffer" (Ptr SDL_GPUStorageBufferReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageBufferReadWriteBinding -> Ptr ty # | |||||
| ty ~ CBool => HasField "cycle" (Ptr SDL_GPUStorageBufferReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageBufferReadWriteBinding -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPUStorageBufferReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageBufferReadWriteBinding -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUStorageBufferReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageBufferReadWriteBinding -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding3" (Ptr SDL_GPUStorageBufferReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageBufferReadWriteBinding -> Ptr ty # | |||||
| type Rep SDL_GPUStorageBufferReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUStorageBufferReadWriteBinding = D1 ('MetaData "SDL_GPUStorageBufferReadWriteBinding" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUStorageBufferReadWriteBinding" 'PrefixI 'True) ((S1 ('MetaSel ('Just "buffer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUBuffer)) :*: S1 ('MetaSel ('Just "cycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool)) :*: (S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: (S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8))))) | |||||
| type CFieldType SDL_GPUStorageBufferReadWriteBinding "buffer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageBufferReadWriteBinding "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageBufferReadWriteBinding "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageBufferReadWriteBinding "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageBufferReadWriteBinding "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
data SDL_GPUStorageTextureReadWriteBinding Source #
A structure specifying parameters related to binding textures in a compute pass.
- See also
sDL_BeginGPUComputePass- C declaration
struct SDL_GPUStorageTextureReadWriteBinding, defined atSDL3/SDL_gpu.h 2185:16
Since: 3.2.0
Constructors
| SDL_GPUStorageTextureReadWriteBinding | |
Fields
| |
Instances
| Storable SDL_GPUStorageTextureReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUStorageTextureReadWriteBinding -> Int # alignment :: SDL_GPUStorageTextureReadWriteBinding -> Int # peekElemOff :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Int -> IO SDL_GPUStorageTextureReadWriteBinding # pokeElemOff :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Int -> SDL_GPUStorageTextureReadWriteBinding -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUStorageTextureReadWriteBinding # pokeByteOff :: Ptr b -> Int -> SDL_GPUStorageTextureReadWriteBinding -> IO () # peek :: Ptr SDL_GPUStorageTextureReadWriteBinding -> IO SDL_GPUStorageTextureReadWriteBinding # poke :: Ptr SDL_GPUStorageTextureReadWriteBinding -> SDL_GPUStorageTextureReadWriteBinding -> IO () # | |||||
| Generic SDL_GPUStorageTextureReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| Show SDL_GPUStorageTextureReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUStorageTextureReadWriteBinding -> ShowS # show :: SDL_GPUStorageTextureReadWriteBinding -> String # showList :: [SDL_GPUStorageTextureReadWriteBinding] -> ShowS # | |||||
| Eq SDL_GPUStorageTextureReadWriteBinding Source # | |||||
| ReadRaw SDL_GPUStorageTextureReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| StaticSize SDL_GPUStorageTextureReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| WriteRaw SDL_GPUStorageTextureReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUStorageTextureReadWriteBinding -> SDL_GPUStorageTextureReadWriteBinding -> IO () # | |||||
| IsStruct SDL_GPUStorageTextureReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUStorageTextureReadWriteBinding "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageTextureReadWriteBinding "layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageTextureReadWriteBinding "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageTextureReadWriteBinding "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageTextureReadWriteBinding "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageTextureReadWriteBinding "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUStorageTextureReadWriteBinding "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ CBool => HasField "cycle" SDL_GPUStorageTextureReadWriteBinding ty Source # | true cycles the texture if it is already bound.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageTextureReadWriteBinding -> (ty -> SDL_GPUStorageTextureReadWriteBinding, ty) # | |||||
| ty ~ Uint32 => HasField "layer" SDL_GPUStorageTextureReadWriteBinding ty Source # | The layer index to bind.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageTextureReadWriteBinding -> (ty -> SDL_GPUStorageTextureReadWriteBinding, ty) # | |||||
| ty ~ Uint32 => HasField "mip_level" SDL_GPUStorageTextureReadWriteBinding ty Source # | The mip level index to bind.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageTextureReadWriteBinding -> (ty -> SDL_GPUStorageTextureReadWriteBinding, ty) # | |||||
| ty ~ Uint8 => HasField "padding1" SDL_GPUStorageTextureReadWriteBinding ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageTextureReadWriteBinding -> (ty -> SDL_GPUStorageTextureReadWriteBinding, ty) # | |||||
| ty ~ Uint8 => HasField "padding2" SDL_GPUStorageTextureReadWriteBinding ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageTextureReadWriteBinding -> (ty -> SDL_GPUStorageTextureReadWriteBinding, ty) # | |||||
| ty ~ Uint8 => HasField "padding3" SDL_GPUStorageTextureReadWriteBinding ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageTextureReadWriteBinding -> (ty -> SDL_GPUStorageTextureReadWriteBinding, ty) # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" SDL_GPUStorageTextureReadWriteBinding ty Source # | The texture to bind. Must have been created with SDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_WRITE or SDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUStorageTextureReadWriteBinding -> (ty -> SDL_GPUStorageTextureReadWriteBinding, ty) # | |||||
| ty ~ CBool => HasField "cycle" (Ptr SDL_GPUStorageTextureReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "layer" (Ptr SDL_GPUStorageTextureReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "mip_level" (Ptr SDL_GPUStorageTextureReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding1" (Ptr SDL_GPUStorageTextureReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding2" (Ptr SDL_GPUStorageTextureReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "padding3" (Ptr SDL_GPUStorageTextureReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Ptr ty # | |||||
| ty ~ Ptr SDL_GPUTexture => HasField "texture" (Ptr SDL_GPUStorageTextureReadWriteBinding) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUStorageTextureReadWriteBinding -> Ptr ty # | |||||
| type Rep SDL_GPUStorageTextureReadWriteBinding Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUStorageTextureReadWriteBinding = D1 ('MetaData "SDL_GPUStorageTextureReadWriteBinding" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUStorageTextureReadWriteBinding" 'PrefixI 'True) ((S1 ('MetaSel ('Just "texture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUTexture)) :*: (S1 ('MetaSel ('Just "mip_level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "layer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32))) :*: ((S1 ('MetaSel ('Just "cycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CBool) :*: S1 ('MetaSel ('Just "padding1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)) :*: (S1 ('MetaSel ('Just "padding2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8))))) | |||||
| type CFieldType SDL_GPUStorageTextureReadWriteBinding "cycle" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageTextureReadWriteBinding "layer" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageTextureReadWriteBinding "mip_level" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageTextureReadWriteBinding "padding1" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageTextureReadWriteBinding "padding2" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageTextureReadWriteBinding "padding3" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUStorageTextureReadWriteBinding "texture" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
sDL_PROP_GPU_DEVICE_CREATE_DEBUGMODE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_DEBUGMODE_BOOLEAN, literal"SDL.gpu.device.create.debugmode", defined atSDL3/SDL_gpu.h 2376:9
sDL_PROP_GPU_DEVICE_CREATE_PREFERLOWPOWER_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_PREFERLOWPOWER_BOOLEAN, literal"SDL.gpu.device.create.preferlowpower", defined atSDL3/SDL_gpu.h 2377:9
sDL_PROP_GPU_DEVICE_CREATE_VERBOSE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_VERBOSE_BOOLEAN, literal"SDL.gpu.device.create.verbose", defined atSDL3/SDL_gpu.h 2378:9
sDL_PROP_GPU_DEVICE_CREATE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_NAME_STRING, literal"SDL.gpu.device.create.name", defined atSDL3/SDL_gpu.h 2379:9
sDL_PROP_GPU_DEVICE_CREATE_FEATURE_CLIP_DISTANCE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_FEATURE_CLIP_DISTANCE_BOOLEAN, literal"SDL.gpu.device.create.feature.clip_distance", defined atSDL3/SDL_gpu.h 2380:9
sDL_PROP_GPU_DEVICE_CREATE_FEATURE_DEPTH_CLAMPING_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_FEATURE_DEPTH_CLAMPING_BOOLEAN, literal"SDL.gpu.device.create.feature.depth_clamping", defined atSDL3/SDL_gpu.h 2381:9
sDL_PROP_GPU_DEVICE_CREATE_FEATURE_INDIRECT_DRAW_FIRST_INSTANCE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_FEATURE_INDIRECT_DRAW_FIRST_INSTANCE_BOOLEAN, literal"SDL.gpu.device.create.feature.indirect_draw_first_instance", defined atSDL3/SDL_gpu.h 2382:9
sDL_PROP_GPU_DEVICE_CREATE_FEATURE_ANISOTROPY_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_FEATURE_ANISOTROPY_BOOLEAN, literal"SDL.gpu.device.create.feature.anisotropy", defined atSDL3/SDL_gpu.h 2383:9
sDL_PROP_GPU_DEVICE_CREATE_SHADERS_PRIVATE_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_SHADERS_PRIVATE_BOOLEAN, literal"SDL.gpu.device.create.shaders.private", defined atSDL3/SDL_gpu.h 2384:9
sDL_PROP_GPU_DEVICE_CREATE_SHADERS_SPIRV_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_SHADERS_SPIRV_BOOLEAN, literal"SDL.gpu.device.create.shaders.spirv", defined atSDL3/SDL_gpu.h 2385:9
sDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXBC_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXBC_BOOLEAN, literal"SDL.gpu.device.create.shaders.dxbc", defined atSDL3/SDL_gpu.h 2386:9
sDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXIL_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_SHADERS_DXIL_BOOLEAN, literal"SDL.gpu.device.create.shaders.dxil", defined atSDL3/SDL_gpu.h 2387:9
sDL_PROP_GPU_DEVICE_CREATE_SHADERS_MSL_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_SHADERS_MSL_BOOLEAN, literal"SDL.gpu.device.create.shaders.msl", defined atSDL3/SDL_gpu.h 2388:9
sDL_PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_SHADERS_METALLIB_BOOLEAN, literal"SDL.gpu.device.create.shaders.metallib", defined atSDL3/SDL_gpu.h 2389:9
sDL_PROP_GPU_DEVICE_CREATE_D3D12_ALLOW_FEWER_RESOURCE_SLOTS_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_D3D12_ALLOW_FEWER_RESOURCE_SLOTS_BOOLEAN, literal"SDL.gpu.device.create.d3d12.allowtier1resourcebinding", defined atSDL3/SDL_gpu.h 2390:9
sDL_PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_D3D12_SEMANTIC_NAME_STRING, literal"SDL.gpu.device.create.d3d12.semantic", defined atSDL3/SDL_gpu.h 2391:9
sDL_PROP_GPU_DEVICE_CREATE_D3D12_AGILITY_SDK_VERSION_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_D3D12_AGILITY_SDK_VERSION_NUMBER, literal"SDL.gpu.device.create.d3d12.agility_sdk_version", defined atSDL3/SDL_gpu.h 2392:9
sDL_PROP_GPU_DEVICE_CREATE_D3D12_AGILITY_SDK_PATH_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_D3D12_AGILITY_SDK_PATH_STRING, literal"SDL.gpu.device.create.d3d12.agility_sdk_path", defined atSDL3/SDL_gpu.h 2393:9
sDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION_BOOLEAN, literal"SDL.gpu.device.create.vulkan.requirehardwareacceleration", defined atSDL3/SDL_gpu.h 2394:9
sDL_PROP_GPU_DEVICE_CREATE_VULKAN_OPTIONS_POINTER :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_VULKAN_OPTIONS_POINTER, literal"SDL.gpu.device.create.vulkan.options", defined atSDL3/SDL_gpu.h 2395:9
sDL_PROP_GPU_DEVICE_CREATE_METAL_ALLOW_MACFAMILY1_BOOLEAN :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_CREATE_METAL_ALLOW_MACFAMILY1_BOOLEAN, literal"SDL.gpu.device.create.metal.allowmacfamily1", defined atSDL3/SDL_gpu.h 2396:9
data SDL_GPUVulkanOptions Source #
A structure specifying additional options when using Vulkan.
When no such structure is provided, SDL will use Vulkan API version 1.0 and a minimal set of features. The requested API version influences how the feature_list is processed by SDL. When requesting API version 1.0, the feature_list is ignored. Only the vulkan_10_physical_device_features and the extension lists are used. When requesting API version 1.1, the feature_list is scanned for feature structures introduced in Vulkan 1.1. When requesting Vulkan 1.2 or higher, the feature_list is additionally scanned for compound feature structs such as VkPhysicalDeviceVulkan11Features. The device and instance extension lists, as well as vulkan_10_physical_device_features, are always processed.
- C declaration
struct SDL_GPUVulkanOptions, defined atSDL3/SDL_gpu.h 2415:16
Since: 3.4.0
Constructors
| SDL_GPUVulkanOptions | |
Fields
| |
Instances
| Storable SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods sizeOf :: SDL_GPUVulkanOptions -> Int # alignment :: SDL_GPUVulkanOptions -> Int # peekElemOff :: Ptr SDL_GPUVulkanOptions -> Int -> IO SDL_GPUVulkanOptions # pokeElemOff :: Ptr SDL_GPUVulkanOptions -> Int -> SDL_GPUVulkanOptions -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPUVulkanOptions # pokeByteOff :: Ptr b -> Int -> SDL_GPUVulkanOptions -> IO () # peek :: Ptr SDL_GPUVulkanOptions -> IO SDL_GPUVulkanOptions # poke :: Ptr SDL_GPUVulkanOptions -> SDL_GPUVulkanOptions -> IO () # | |||||
| Generic SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
Methods from :: SDL_GPUVulkanOptions -> Rep SDL_GPUVulkanOptions x # to :: Rep SDL_GPUVulkanOptions x -> SDL_GPUVulkanOptions # | |||||
| Show SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods showsPrec :: Int -> SDL_GPUVulkanOptions -> ShowS # show :: SDL_GPUVulkanOptions -> String # showList :: [SDL_GPUVulkanOptions] -> ShowS # | |||||
| Eq SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods (==) :: SDL_GPUVulkanOptions -> SDL_GPUVulkanOptions -> Bool # (/=) :: SDL_GPUVulkanOptions -> SDL_GPUVulkanOptions -> Bool # | |||||
| ReadRaw SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods readRaw :: Ptr SDL_GPUVulkanOptions -> IO SDL_GPUVulkanOptions # | |||||
| StaticSize SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| WriteRaw SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods writeRaw :: Ptr SDL_GPUVulkanOptions -> SDL_GPUVulkanOptions -> IO () # | |||||
| IsStruct SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods | |||||
| HasCField SDL_GPUVulkanOptions "device_extension_count" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVulkanOptions "device_extension_names" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVulkanOptions "feature_list" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVulkanOptions "instance_extension_count" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVulkanOptions "instance_extension_names" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVulkanOptions "vulkan_10_physical_device_features" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| HasCField SDL_GPUVulkanOptions "vulkan_api_version" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Associated Types
| |||||
| ty ~ Uint32 => HasField "device_extension_count" SDL_GPUVulkanOptions ty Source # | Number of additional device extensions to require.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVulkanOptions -> (ty -> SDL_GPUVulkanOptions, ty) # | |||||
| ty ~ Ptr (PtrConst CChar) => HasField "device_extension_names" SDL_GPUVulkanOptions ty Source # | Pointer to a list of additional device extensions to require.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVulkanOptions -> (ty -> SDL_GPUVulkanOptions, ty) # | |||||
| ty ~ Ptr Void => HasField "feature_list" SDL_GPUVulkanOptions ty Source # | Pointer to the first element of a chain of Vulkan feature structs. (Requires API version 1.1 or higher.)
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVulkanOptions -> (ty -> SDL_GPUVulkanOptions, ty) # | |||||
| ty ~ Uint32 => HasField "instance_extension_count" SDL_GPUVulkanOptions ty Source # | Number of additional instance extensions to require.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVulkanOptions -> (ty -> SDL_GPUVulkanOptions, ty) # | |||||
| ty ~ Ptr (PtrConst CChar) => HasField "instance_extension_names" SDL_GPUVulkanOptions ty Source # | Pointer to a list of additional instance extensions to require.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVulkanOptions -> (ty -> SDL_GPUVulkanOptions, ty) # | |||||
| ty ~ Ptr Void => HasField "vulkan_10_physical_device_features" SDL_GPUVulkanOptions ty Source # | Pointer to a VkPhysicalDeviceFeatures struct to enable additional Vulkan 1.0 features.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVulkanOptions -> (ty -> SDL_GPUVulkanOptions, ty) # | |||||
| ty ~ Uint32 => HasField "vulkan_api_version" SDL_GPUVulkanOptions ty Source # | The Vulkan API version to request for the instance. Use Vulkan's VK_MAKE_VERSION or VK_MAKE_API_VERSION.
| ||||
Defined in SDL3.Sys.Bindgen.Gpu Methods hasField :: SDL_GPUVulkanOptions -> (ty -> SDL_GPUVulkanOptions, ty) # | |||||
| ty ~ Uint32 => HasField "device_extension_count" (Ptr SDL_GPUVulkanOptions) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVulkanOptions -> Ptr ty # | |||||
| ty ~ Ptr (PtrConst CChar) => HasField "device_extension_names" (Ptr SDL_GPUVulkanOptions) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVulkanOptions -> Ptr ty # | |||||
| ty ~ Ptr Void => HasField "feature_list" (Ptr SDL_GPUVulkanOptions) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVulkanOptions -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "instance_extension_count" (Ptr SDL_GPUVulkanOptions) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVulkanOptions -> Ptr ty # | |||||
| ty ~ Ptr (PtrConst CChar) => HasField "instance_extension_names" (Ptr SDL_GPUVulkanOptions) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVulkanOptions -> Ptr ty # | |||||
| ty ~ Ptr Void => HasField "vulkan_10_physical_device_features" (Ptr SDL_GPUVulkanOptions) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVulkanOptions -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "vulkan_api_version" (Ptr SDL_GPUVulkanOptions) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu Methods getField :: Ptr SDL_GPUVulkanOptions -> Ptr ty # | |||||
| type Rep SDL_GPUVulkanOptions Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu type Rep SDL_GPUVulkanOptions = D1 ('MetaData "SDL_GPUVulkanOptions" "SDL3.Sys.Bindgen.Gpu" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPUVulkanOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "vulkan_api_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: (S1 ('MetaSel ('Just "feature_list") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr Void)) :*: S1 ('MetaSel ('Just "vulkan_10_physical_device_features") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr Void)))) :*: ((S1 ('MetaSel ('Just "device_extension_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "device_extension_names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr (PtrConst CChar)))) :*: (S1 ('MetaSel ('Just "instance_extension_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "instance_extension_names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr (PtrConst CChar))))))) | |||||
| type CFieldType SDL_GPUVulkanOptions "device_extension_count" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVulkanOptions "device_extension_names" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVulkanOptions "feature_list" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVulkanOptions "instance_extension_count" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVulkanOptions "instance_extension_names" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVulkanOptions "vulkan_10_physical_device_features" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
| type CFieldType SDL_GPUVulkanOptions "vulkan_api_version" Source # | |||||
Defined in SDL3.Sys.Bindgen.Gpu | |||||
sDL_PROP_GPU_DEVICE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_NAME_STRING, literal"SDL.gpu.device.name", defined atSDL3/SDL_gpu.h 2592:9
sDL_PROP_GPU_DEVICE_DRIVER_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_DRIVER_NAME_STRING, literal"SDL.gpu.device.driver_name", defined atSDL3/SDL_gpu.h 2593:9
sDL_PROP_GPU_DEVICE_DRIVER_VERSION_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_DRIVER_VERSION_STRING, literal"SDL.gpu.device.driver_version", defined atSDL3/SDL_gpu.h 2594:9
sDL_PROP_GPU_DEVICE_DRIVER_INFO_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_DEVICE_DRIVER_INFO_STRING, literal"SDL.gpu.device.driver_info", defined atSDL3/SDL_gpu.h 2595:9
sDL_PROP_GPU_COMPUTEPIPELINE_CREATE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_COMPUTEPIPELINE_CREATE_NAME_STRING, literal"SDL.gpu.computepipeline.create.name", defined atSDL3/SDL_gpu.h 2649:9
sDL_PROP_GPU_GRAPHICSPIPELINE_CREATE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_GRAPHICSPIPELINE_CREATE_NAME_STRING, literal"SDL.gpu.graphicspipeline.create.name", defined atSDL3/SDL_gpu.h 2676:9
sDL_PROP_GPU_SAMPLER_CREATE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_SAMPLER_CREATE_NAME_STRING, literal"SDL.gpu.sampler.create.name", defined atSDL3/SDL_gpu.h 2703:9
sDL_PROP_GPU_SHADER_CREATE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_SHADER_CREATE_NAME_STRING, literal"SDL.gpu.shader.create.name", defined atSDL3/SDL_gpu.h 2782:9
sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_R_FLOAT :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_R_FLOAT, literal"SDL.gpu.texture.create.d3d12.clear.r", defined atSDL3/SDL_gpu.h 2846:9
sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_G_FLOAT :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_G_FLOAT, literal"SDL.gpu.texture.create.d3d12.clear.g", defined atSDL3/SDL_gpu.h 2847:9
sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_B_FLOAT :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_B_FLOAT, literal"SDL.gpu.texture.create.d3d12.clear.b", defined atSDL3/SDL_gpu.h 2848:9
sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_A_FLOAT :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_A_FLOAT, literal"SDL.gpu.texture.create.d3d12.clear.a", defined atSDL3/SDL_gpu.h 2849:9
sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_DEPTH_FLOAT :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_DEPTH_FLOAT, literal"SDL.gpu.texture.create.d3d12.clear.depth", defined atSDL3/SDL_gpu.h 2850:9
sDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_NUMBER :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_NUMBER, literal"SDL.gpu.texture.create.d3d12.clear.stencil", defined atSDL3/SDL_gpu.h 2851:9
sDL_PROP_GPU_TEXTURE_CREATE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_TEXTURE_CREATE_NAME_STRING, literal"SDL.gpu.texture.create.name", defined atSDL3/SDL_gpu.h 2852:9
sDL_PROP_GPU_BUFFER_CREATE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_BUFFER_CREATE_NAME_STRING, literal"SDL.gpu.buffer.create.name", defined atSDL3/SDL_gpu.h 2902:9
sDL_PROP_GPU_TRANSFERBUFFER_CREATE_NAME_STRING :: ByteString Source #
- C declaration
macro SDL_PROP_GPU_TRANSFERBUFFER_CREATE_NAME_STRING, literal"SDL.gpu.transferbuffer.create.name", defined atSDL3/SDL_gpu.h 2935:9