vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Requirement

Synopsis

Vulkan requirements

data InstanceRequirement where Source #

A requirement on a Vulkan Instance.

Constructors

RequireInstanceVersion

Require a minimum Vulkan instance version.

Fields

RequireInstanceLayer

Require a Vulkan layer.

Fields

RequireInstanceExtension

Require a Vulkan instance extension.

data DeviceRequirement where Source #

Constructors

RequireDeviceVersion

Require a minimum device version.

Fields

RequireDeviceFeature

Require a Vulkan physical device feature.

Fields

RequireDeviceProperty

Require a Vulkan physical device property.

Fields

RequireDeviceExtension

Require a Vulkan device extension.

Utility functionality for handling structure chains

class Typeable feat => KnownFeatureStruct feat where Source #

A Vulkan structure that can appear in PhysicalDeviceFeatures2.

class Typeable prop => KnownPropertyStruct prop where Source #

A Vulkan structure that can appear in PhysicalDeviceProperties2.