gpu-vulkan-0.1.0.158: Vulkan library
Safe HaskellNone
LanguageHaskell2010

Gpu.Vulkan

Synopsis

INFO

ApplicationINfo

makeApiVersion :: Variant -> Major -> Minor -> Patch -> ApiVersion #

SubmitInfo

class SubmitInfoListToCore (MiddleNextList ns3s2s4) => SubmitInfoListToMiddle (ns3s2s4 :: [(Maybe Type, [Type], [Type], [Type])]) Source #

Minimal complete definition

submitInfoListToMiddle

Instances

Instances details
SubmitInfoListToMiddle ('[] :: [(Maybe Type, [Type], [Type], [Type])]) Source # 
Instance details

Defined in Gpu.Vulkan.Internal

Methods

submitInfoListToMiddle :: PL (U4 SubmitInfo) ('[] :: [(Maybe Type, [Type], [Type], [Type])]) -> PL SubmitInfo (MiddleNextList ('[] :: [(Maybe Type, [Type], [Type], [Type])]))

(WithPoked (M n), SubmitInfoListToMiddle nssvsss) => SubmitInfoListToMiddle ('(n, sss, svss, ssss) ': nssvsss) Source # 
Instance details

Defined in Gpu.Vulkan.Internal

Methods

submitInfoListToMiddle :: PL (U4 SubmitInfo) ('(n, sss, svss, ssss) ': nssvsss) -> PL SubmitInfo (MiddleNextList ('(n, sss, svss, ssss) ': nssvsss))

PROPERTIES

NAMES

newtype LayerName Source #

Constructors

LayerName 

Fields

Instances

Instances details
Show LayerName Source # 
Instance details

Defined in Gpu.Vulkan.Internal

Eq LayerName Source # 
Instance details

Defined in Gpu.Vulkan.Internal

PIPELINE VALUES

ViewPort

data Viewport #

Instances

Instances details
Storable Viewport 
Instance details

Defined in Gpu.Vulkan.Core

Show Viewport 
Instance details

Defined in Gpu.Vulkan.Core

pattern Viewport :: Float -> Float -> Float -> Float -> Float -> Float -> Viewport #

StencilOpState

ClearValue

data ClearValue (ct :: ClearType) where #

Instances

Instances details
Show (ClearValue ct) 
Instance details

Defined in Gpu.Vulkan.Middle.Internal

Methods

showsPrec :: Int -> ClearValue ct -> ShowS #

show :: ClearValue ct -> String #

showList :: [ClearValue ct] -> ShowS #

class Length cts => ClearValueListToCore (cts :: [ClearType]) #

Minimal complete definition

clearValueListToCore

Instances

Instances details
ClearValueListToCore ('[] :: [ClearType]) 
Instance details

Defined in Gpu.Vulkan.Middle.Internal

Methods

clearValueListToCore :: PL ClearValue ('[] :: [ClearType]) -> ([Ptr ClearValue] -> IO a) -> IO a

(ClearValueToCore ct, ClearValueListToCore cts) => ClearValueListToCore (ct ': cts) 
Instance details

Defined in Gpu.Vulkan.Middle.Internal

Methods

clearValueListToCore :: PL ClearValue (ct ': cts) -> ([Ptr ClearValue] -> IO a) -> IO a

ClearType

data ClearType #

Instances

Instances details
Show ClearType 
Instance details

Defined in Gpu.Vulkan.Middle.Internal

ClearValueListToCore ('[] :: [ClearType]) 
Instance details

Defined in Gpu.Vulkan.Middle.Internal

Methods

clearValueListToCore :: PL ClearValue ('[] :: [ClearType]) -> ([Ptr ClearValue] -> IO a) -> IO a

(ClearValueToCore ct, ClearValueListToCore cts) => ClearValueListToCore (ct ': cts) 
Instance details

Defined in Gpu.Vulkan.Middle.Internal

Methods

clearValueListToCore :: PL ClearValue (ct ': cts) -> ([Ptr ClearValue] -> IO a) -> IO a

ClearColorValue

ClearDepthStencilValue

RECT, OFFSET AND EXTENT

Rect

data Rect2d #

Instances

Instances details
Storable Rect2d 
Instance details

Defined in Gpu.Vulkan.Core

Show Rect2d 
Instance details

Defined in Gpu.Vulkan.Core

pattern Rect2d :: Offset2d -> Extent2d -> Rect2d #

Offset

data Offset2d #

Instances

Instances details
Storable Offset2d 
Instance details

Defined in Gpu.Vulkan.Core

Show Offset2d 
Instance details

Defined in Gpu.Vulkan.Core

pattern Offset2d :: Int32 -> Int32 -> Offset2d #

data Offset3d #

Instances

Instances details
Storable Offset3d 
Instance details

Defined in Gpu.Vulkan.Core

Show Offset3d 
Instance details

Defined in Gpu.Vulkan.Core

pattern Offset3d :: Int32 -> Int32 -> Int32 -> Offset3d #

Extent

data Extent2d #

Instances

Instances details
Storable Extent2d 
Instance details

Defined in Gpu.Vulkan.Core

Show Extent2d 
Instance details

Defined in Gpu.Vulkan.Core

pattern Extent2d :: Word32 -> Word32 -> Extent2d #

data Extent3d #

Instances

Instances details
Storable Extent3d 
Instance details

Defined in Gpu.Vulkan.Core

Show Extent3d 
Instance details

Defined in Gpu.Vulkan.Core

pattern Extent3d :: Word32 -> Word32 -> Word32 -> Extent3d #

OTHERS

newtype Size #

Constructors

Size Word64 

Instances

Instances details
Show Size 
Instance details

Defined in Gpu.Vulkan.Middle.Types

Methods

showsPrec :: Int -> Size -> ShowS #

show :: Size -> String #

showList :: [Size] -> ShowS #

ENUM

newtype Format #

Constructors

Format Word32 

Instances

Instances details
Storable Format 
Instance details

Defined in Gpu.Vulkan.Enum

Show Format 
Instance details

Defined in Gpu.Vulkan.Enum

Eq Format 
Instance details

Defined in Gpu.Vulkan.Enum

Methods

(==) :: Format -> Format -> Bool #

(/=) :: Format -> Format -> Bool #

newtype ObjectType #

Constructors

ObjectType Word32 

Instances

Instances details
Storable ObjectType 
Instance details

Defined in Gpu.Vulkan.Enum

Show ObjectType 
Instance details

Defined in Gpu.Vulkan.Enum

Eq ObjectType 
Instance details

Defined in Gpu.Vulkan.Enum

newtype SharingMode #

Constructors

SharingMode Word32 

newtype PolygonMode #

Constructors

PolygonMode Word32 

newtype FrontFace #

Constructors

FrontFace Word32 

Instances

Instances details
Storable FrontFace 
Instance details

Defined in Gpu.Vulkan.Enum

Show FrontFace 
Instance details

Defined in Gpu.Vulkan.Enum

Eq FrontFace 
Instance details

Defined in Gpu.Vulkan.Enum

newtype CompareOp #

Constructors

CompareOp Word32 

Instances

Instances details
Storable CompareOp 
Instance details

Defined in Gpu.Vulkan.Enum

Show CompareOp 
Instance details

Defined in Gpu.Vulkan.Enum

Eq CompareOp 
Instance details

Defined in Gpu.Vulkan.Enum

newtype StencilOp #

Constructors

StencilOp Word32 

Instances

Instances details
Storable StencilOp 
Instance details

Defined in Gpu.Vulkan.Enum

Show StencilOp 
Instance details

Defined in Gpu.Vulkan.Enum

Eq StencilOp 
Instance details

Defined in Gpu.Vulkan.Enum

newtype BlendFactor #

Constructors

BlendFactor Word32 

newtype BlendOp #

Constructors

BlendOp Word32 

Instances

Instances details
Storable BlendOp 
Instance details

Defined in Gpu.Vulkan.Enum

Show BlendOp 
Instance details

Defined in Gpu.Vulkan.Enum

Eq BlendOp 
Instance details

Defined in Gpu.Vulkan.Enum

Methods

(==) :: BlendOp -> BlendOp -> Bool #

(/=) :: BlendOp -> BlendOp -> Bool #

pattern BlendOpMax :: BlendOp #

pattern BlendOpMin :: BlendOp #

pattern BlendOpAdd :: BlendOp #

newtype LogicOp #

Constructors

LogicOp Word32 

Instances

Instances details
Storable LogicOp 
Instance details

Defined in Gpu.Vulkan.Enum

Show LogicOp 
Instance details

Defined in Gpu.Vulkan.Enum

Eq LogicOp 
Instance details

Defined in Gpu.Vulkan.Enum

Methods

(==) :: LogicOp -> LogicOp -> Bool #

(/=) :: LogicOp -> LogicOp -> Bool #

pattern LogicOpSet :: LogicOp #

pattern LogicOpNand :: LogicOp #

pattern LogicOpNor :: LogicOp #

pattern LogicOpOr :: LogicOp #

pattern LogicOpXor :: LogicOp #

pattern LogicOpNoOp :: LogicOp #

pattern LogicOpCopy :: LogicOp #

pattern LogicOpAnd :: LogicOp #

newtype IndexType #

Constructors

IndexType Word32 

Instances

Instances details
Storable IndexType 
Instance details

Defined in Gpu.Vulkan.Enum

Show IndexType 
Instance details

Defined in Gpu.Vulkan.Enum

Eq IndexType 
Instance details

Defined in Gpu.Vulkan.Enum

newtype Filter #

Constructors

Filter Word32 

Instances

Instances details
Storable Filter 
Instance details

Defined in Gpu.Vulkan.Enum

Show Filter 
Instance details

Defined in Gpu.Vulkan.Enum

Eq Filter 
Instance details

Defined in Gpu.Vulkan.Enum

Methods

(==) :: Filter -> Filter -> Bool #

(/=) :: Filter -> Filter -> Bool #

pattern FilterLinear :: Filter #

newtype BorderColor #

Constructors

BorderColor Word32 

pattern FormatS8Uint :: Format #

pattern FormatR8Srgb :: Format #

pattern FormatR8Sint :: Format #

pattern FormatR8Uint :: Format #

newtype AccessFlagBits #

Constructors

AccessFlagBits Word32 

Instances

Instances details
Bits AccessFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Storable AccessFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Show AccessFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Eq AccessFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

newtype DependencyFlagBits #

Instances

Instances details
Bits DependencyFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Storable DependencyFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Show DependencyFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Eq DependencyFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

newtype QueryControlFlagBits #

Instances

Instances details
Bits QueryControlFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Storable QueryControlFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Show QueryControlFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Eq QueryControlFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

newtype QueryPipelineStatisticFlagBits #

Instances

Instances details
Bits QueryPipelineStatisticFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Methods

(.&.) :: QueryPipelineStatisticFlagBits -> QueryPipelineStatisticFlagBits -> QueryPipelineStatisticFlagBits #

(.|.) :: QueryPipelineStatisticFlagBits -> QueryPipelineStatisticFlagBits -> QueryPipelineStatisticFlagBits #

xor :: QueryPipelineStatisticFlagBits -> QueryPipelineStatisticFlagBits -> QueryPipelineStatisticFlagBits #

complement :: QueryPipelineStatisticFlagBits -> QueryPipelineStatisticFlagBits #

shift :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

rotate :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

zeroBits :: QueryPipelineStatisticFlagBits #

bit :: Int -> QueryPipelineStatisticFlagBits #

setBit :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

clearBit :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

complementBit :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

testBit :: QueryPipelineStatisticFlagBits -> Int -> Bool #

bitSizeMaybe :: QueryPipelineStatisticFlagBits -> Maybe Int #

bitSize :: QueryPipelineStatisticFlagBits -> Int #

isSigned :: QueryPipelineStatisticFlagBits -> Bool #

shiftL :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

unsafeShiftL :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

shiftR :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

unsafeShiftR :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

rotateL :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

rotateR :: QueryPipelineStatisticFlagBits -> Int -> QueryPipelineStatisticFlagBits #

popCount :: QueryPipelineStatisticFlagBits -> Int #

Storable QueryPipelineStatisticFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Show QueryPipelineStatisticFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Eq QueryPipelineStatisticFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

newtype CullModeFlagBits #

Constructors

CullModeFlagBits Word32 

Instances

Instances details
Bits CullModeFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Storable CullModeFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Show CullModeFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Eq CullModeFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

newtype ShaderStageFlagBits #

Instances

Instances details
Bits ShaderStageFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Storable ShaderStageFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Show ShaderStageFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Eq ShaderStageFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

newtype FormatFeatureFlagBits #

Instances

Instances details
Bits FormatFeatureFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

FiniteBits FormatFeatureFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Storable FormatFeatureFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Show FormatFeatureFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum

Eq FormatFeatureFlagBits 
Instance details

Defined in Gpu.Vulkan.Enum