Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createLibrary :: (MonadDOM m, ToJSString sourceCode) => WebGPURenderingContext -> sourceCode -> m WebGPULibrary
- createLibrary_ :: (MonadDOM m, ToJSString sourceCode) => WebGPURenderingContext -> sourceCode -> m ()
- createRenderPipelineState :: MonadDOM m => WebGPURenderingContext -> WebGPURenderPipelineDescriptor -> m (Maybe WebGPURenderPipelineState)
- createRenderPipelineState_ :: MonadDOM m => WebGPURenderingContext -> WebGPURenderPipelineDescriptor -> m ()
- createRenderPipelineStateUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> WebGPURenderPipelineDescriptor -> m WebGPURenderPipelineState
- createRenderPipelineStateUnchecked :: MonadDOM m => WebGPURenderingContext -> WebGPURenderPipelineDescriptor -> m WebGPURenderPipelineState
- createDepthStencilState :: MonadDOM m => WebGPURenderingContext -> WebGPUDepthStencilDescriptor -> m (Maybe WebGPUDepthStencilState)
- createDepthStencilState_ :: MonadDOM m => WebGPURenderingContext -> WebGPUDepthStencilDescriptor -> m ()
- createDepthStencilStateUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> WebGPUDepthStencilDescriptor -> m WebGPUDepthStencilState
- createDepthStencilStateUnchecked :: MonadDOM m => WebGPURenderingContext -> WebGPUDepthStencilDescriptor -> m WebGPUDepthStencilState
- createComputePipelineState :: MonadDOM m => WebGPURenderingContext -> WebGPUFunction -> m (Maybe WebGPUComputePipelineState)
- createComputePipelineState_ :: MonadDOM m => WebGPURenderingContext -> WebGPUFunction -> m ()
- createComputePipelineStateUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> WebGPUFunction -> m WebGPUComputePipelineState
- createComputePipelineStateUnchecked :: MonadDOM m => WebGPURenderingContext -> WebGPUFunction -> m WebGPUComputePipelineState
- createCommandQueue :: MonadDOM m => WebGPURenderingContext -> m (Maybe WebGPUCommandQueue)
- createCommandQueue_ :: MonadDOM m => WebGPURenderingContext -> m ()
- createCommandQueueUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> m WebGPUCommandQueue
- createCommandQueueUnchecked :: MonadDOM m => WebGPURenderingContext -> m WebGPUCommandQueue
- nextDrawable :: MonadDOM m => WebGPURenderingContext -> m (Maybe WebGPUDrawable)
- nextDrawable_ :: MonadDOM m => WebGPURenderingContext -> m ()
- nextDrawableUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> m WebGPUDrawable
- nextDrawableUnchecked :: MonadDOM m => WebGPURenderingContext -> m WebGPUDrawable
- createBuffer :: (MonadDOM m, IsArrayBufferView data') => WebGPURenderingContext -> data' -> m (Maybe WebGPUBuffer)
- createBuffer_ :: (MonadDOM m, IsArrayBufferView data') => WebGPURenderingContext -> data' -> m ()
- createBufferUnsafe :: (MonadDOM m, IsArrayBufferView data', HasCallStack) => WebGPURenderingContext -> data' -> m WebGPUBuffer
- createBufferUnchecked :: (MonadDOM m, IsArrayBufferView data') => WebGPURenderingContext -> data' -> m WebGPUBuffer
- createTexture :: MonadDOM m => WebGPURenderingContext -> WebGPUTextureDescriptor -> m (Maybe WebGPUTexture)
- createTexture_ :: MonadDOM m => WebGPURenderingContext -> WebGPUTextureDescriptor -> m ()
- createTextureUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> WebGPUTextureDescriptor -> m WebGPUTexture
- createTextureUnchecked :: MonadDOM m => WebGPURenderingContext -> WebGPUTextureDescriptor -> m WebGPUTexture
- pattern PixelFormatBGRA8Unorm :: forall a. (Eq a, Num a) => a
- pattern PixelFormatDepth32Float :: forall a. (Eq a, Num a) => a
- pattern PixelFormatStencil8 :: forall a. (Eq a, Num a) => a
- pattern PixelFormatInvalid :: forall a. (Eq a, Num a) => a
- pattern LoadActionDontCare :: forall a. (Eq a, Num a) => a
- pattern LoadActionLoad :: forall a. (Eq a, Num a) => a
- pattern LoadActionClear :: forall a. (Eq a, Num a) => a
- pattern StoreActionDontCare :: forall a. (Eq a, Num a) => a
- pattern StoreActionStore :: forall a. (Eq a, Num a) => a
- pattern StoreActionMultisampleResolve :: forall a. (Eq a, Num a) => a
- pattern PrimitiveTypePoint :: forall a. (Eq a, Num a) => a
- pattern PrimitiveTypeLine :: forall a. (Eq a, Num a) => a
- pattern PrimitiveTypeLineStrip :: forall a. (Eq a, Num a) => a
- pattern PrimitiveTypeTriangle :: forall a. (Eq a, Num a) => a
- pattern PrimitiveTypeTriangleStrip :: forall a. (Eq a, Num a) => a
- pattern CompareFunctionNever :: forall a. (Eq a, Num a) => a
- pattern CompareFunctionLess :: forall a. (Eq a, Num a) => a
- pattern CompareFunctionEqual :: forall a. (Eq a, Num a) => a
- pattern CompareFunctionLessEqual :: forall a. (Eq a, Num a) => a
- pattern CompareFunctionGreater :: forall a. (Eq a, Num a) => a
- pattern CompareFunctionNotEqual :: forall a. (Eq a, Num a) => a
- pattern CompareFunctionGreaterEqual :: forall a. (Eq a, Num a) => a
- pattern CompareFunctionAlways :: forall a. (Eq a, Num a) => a
- pattern TextureType1D :: forall a. (Eq a, Num a) => a
- pattern TextureType1DArray :: forall a. (Eq a, Num a) => a
- pattern TextureType2D :: forall a. (Eq a, Num a) => a
- pattern TextureType2DArray :: forall a. (Eq a, Num a) => a
- pattern TextureType2DMultisample :: forall a. (Eq a, Num a) => a
- pattern TextureTypeCube :: forall a. (Eq a, Num a) => a
- pattern TextureTypeCubeArray :: forall a. (Eq a, Num a) => a
- pattern TextureType3D :: forall a. (Eq a, Num a) => a
- pattern StorageModeShared :: forall a. (Eq a, Num a) => a
- pattern StorageModeManaged :: forall a. (Eq a, Num a) => a
- pattern StorageModePrivate :: forall a. (Eq a, Num a) => a
- pattern TextureUsageUnknown :: forall a. (Eq a, Num a) => a
- pattern TextureUsageShaderRead :: forall a. (Eq a, Num a) => a
- pattern TextureUsageShaderWrite :: forall a. (Eq a, Num a) => a
- pattern TextureUsageRenderTarget :: forall a. (Eq a, Num a) => a
- pattern TextureUsagePixelFormatView :: forall a. (Eq a, Num a) => a
- newtype WebGPURenderingContext = WebGPURenderingContext {}
- gTypeWebGPURenderingContext :: JSM GType
Documentation
createLibrary :: (MonadDOM m, ToJSString sourceCode) => WebGPURenderingContext -> sourceCode -> m WebGPULibrary Source #
createLibrary_ :: (MonadDOM m, ToJSString sourceCode) => WebGPURenderingContext -> sourceCode -> m () Source #
createRenderPipelineState :: MonadDOM m => WebGPURenderingContext -> WebGPURenderPipelineDescriptor -> m (Maybe WebGPURenderPipelineState) Source #
createRenderPipelineState_ :: MonadDOM m => WebGPURenderingContext -> WebGPURenderPipelineDescriptor -> m () Source #
createRenderPipelineStateUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> WebGPURenderPipelineDescriptor -> m WebGPURenderPipelineState Source #
createRenderPipelineStateUnchecked :: MonadDOM m => WebGPURenderingContext -> WebGPURenderPipelineDescriptor -> m WebGPURenderPipelineState Source #
createDepthStencilState :: MonadDOM m => WebGPURenderingContext -> WebGPUDepthStencilDescriptor -> m (Maybe WebGPUDepthStencilState) Source #
createDepthStencilState_ :: MonadDOM m => WebGPURenderingContext -> WebGPUDepthStencilDescriptor -> m () Source #
createDepthStencilStateUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> WebGPUDepthStencilDescriptor -> m WebGPUDepthStencilState Source #
createDepthStencilStateUnchecked :: MonadDOM m => WebGPURenderingContext -> WebGPUDepthStencilDescriptor -> m WebGPUDepthStencilState Source #
createComputePipelineState :: MonadDOM m => WebGPURenderingContext -> WebGPUFunction -> m (Maybe WebGPUComputePipelineState) Source #
createComputePipelineState_ :: MonadDOM m => WebGPURenderingContext -> WebGPUFunction -> m () Source #
createComputePipelineStateUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> WebGPUFunction -> m WebGPUComputePipelineState Source #
createComputePipelineStateUnchecked :: MonadDOM m => WebGPURenderingContext -> WebGPUFunction -> m WebGPUComputePipelineState Source #
createCommandQueue :: MonadDOM m => WebGPURenderingContext -> m (Maybe WebGPUCommandQueue) Source #
createCommandQueue_ :: MonadDOM m => WebGPURenderingContext -> m () Source #
createCommandQueueUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> m WebGPUCommandQueue Source #
createCommandQueueUnchecked :: MonadDOM m => WebGPURenderingContext -> m WebGPUCommandQueue Source #
nextDrawable :: MonadDOM m => WebGPURenderingContext -> m (Maybe WebGPUDrawable) Source #
nextDrawable_ :: MonadDOM m => WebGPURenderingContext -> m () Source #
nextDrawableUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> m WebGPUDrawable Source #
nextDrawableUnchecked :: MonadDOM m => WebGPURenderingContext -> m WebGPUDrawable Source #
createBuffer :: (MonadDOM m, IsArrayBufferView data') => WebGPURenderingContext -> data' -> m (Maybe WebGPUBuffer) Source #
createBuffer_ :: (MonadDOM m, IsArrayBufferView data') => WebGPURenderingContext -> data' -> m () Source #
createBufferUnsafe :: (MonadDOM m, IsArrayBufferView data', HasCallStack) => WebGPURenderingContext -> data' -> m WebGPUBuffer Source #
createBufferUnchecked :: (MonadDOM m, IsArrayBufferView data') => WebGPURenderingContext -> data' -> m WebGPUBuffer Source #
createTexture :: MonadDOM m => WebGPURenderingContext -> WebGPUTextureDescriptor -> m (Maybe WebGPUTexture) Source #
createTexture_ :: MonadDOM m => WebGPURenderingContext -> WebGPUTextureDescriptor -> m () Source #
createTextureUnsafe :: (MonadDOM m, HasCallStack) => WebGPURenderingContext -> WebGPUTextureDescriptor -> m WebGPUTexture Source #
createTextureUnchecked :: MonadDOM m => WebGPURenderingContext -> WebGPUTextureDescriptor -> m WebGPUTexture Source #
pattern PixelFormatBGRA8Unorm :: forall a. (Eq a, Num a) => a Source #
pattern PixelFormatDepth32Float :: forall a. (Eq a, Num a) => a Source #
pattern PixelFormatStencil8 :: forall a. (Eq a, Num a) => a Source #
pattern PixelFormatInvalid :: forall a. (Eq a, Num a) => a Source #
pattern LoadActionDontCare :: forall a. (Eq a, Num a) => a Source #
pattern LoadActionLoad :: forall a. (Eq a, Num a) => a Source #
pattern LoadActionClear :: forall a. (Eq a, Num a) => a Source #
pattern StoreActionDontCare :: forall a. (Eq a, Num a) => a Source #
pattern StoreActionStore :: forall a. (Eq a, Num a) => a Source #
pattern StoreActionMultisampleResolve :: forall a. (Eq a, Num a) => a Source #
pattern PrimitiveTypePoint :: forall a. (Eq a, Num a) => a Source #
pattern PrimitiveTypeLine :: forall a. (Eq a, Num a) => a Source #
pattern PrimitiveTypeLineStrip :: forall a. (Eq a, Num a) => a Source #
pattern PrimitiveTypeTriangle :: forall a. (Eq a, Num a) => a Source #
pattern PrimitiveTypeTriangleStrip :: forall a. (Eq a, Num a) => a Source #
pattern CompareFunctionNever :: forall a. (Eq a, Num a) => a Source #
pattern CompareFunctionLess :: forall a. (Eq a, Num a) => a Source #
pattern CompareFunctionEqual :: forall a. (Eq a, Num a) => a Source #
pattern CompareFunctionLessEqual :: forall a. (Eq a, Num a) => a Source #
pattern CompareFunctionGreater :: forall a. (Eq a, Num a) => a Source #
pattern CompareFunctionNotEqual :: forall a. (Eq a, Num a) => a Source #
pattern CompareFunctionGreaterEqual :: forall a. (Eq a, Num a) => a Source #
pattern CompareFunctionAlways :: forall a. (Eq a, Num a) => a Source #
pattern TextureType1D :: forall a. (Eq a, Num a) => a Source #
pattern TextureType1DArray :: forall a. (Eq a, Num a) => a Source #
pattern TextureType2D :: forall a. (Eq a, Num a) => a Source #
pattern TextureType2DArray :: forall a. (Eq a, Num a) => a Source #
pattern TextureType2DMultisample :: forall a. (Eq a, Num a) => a Source #
pattern TextureTypeCube :: forall a. (Eq a, Num a) => a Source #
pattern TextureTypeCubeArray :: forall a. (Eq a, Num a) => a Source #
pattern TextureType3D :: forall a. (Eq a, Num a) => a Source #
pattern StorageModeShared :: forall a. (Eq a, Num a) => a Source #
pattern StorageModeManaged :: forall a. (Eq a, Num a) => a Source #
pattern StorageModePrivate :: forall a. (Eq a, Num a) => a Source #
pattern TextureUsageUnknown :: forall a. (Eq a, Num a) => a Source #
pattern TextureUsageShaderRead :: forall a. (Eq a, Num a) => a Source #
pattern TextureUsageShaderWrite :: forall a. (Eq a, Num a) => a Source #
pattern TextureUsageRenderTarget :: forall a. (Eq a, Num a) => a Source #
pattern TextureUsagePixelFormatView :: forall a. (Eq a, Num a) => a Source #
newtype WebGPURenderingContext Source #
Functions for this inteface are in JSDOM.WebGPURenderingContext.
Instances
PToJSVal WebGPURenderingContext Source # | |
Defined in JSDOM.Types pToJSVal :: WebGPURenderingContext -> JSVal # | |
PFromJSVal WebGPURenderingContext Source # | |
Defined in JSDOM.Types | |
ToJSVal WebGPURenderingContext Source # | |
Defined in JSDOM.Types toJSVal :: WebGPURenderingContext -> JSM JSVal # toJSValListOf :: [WebGPURenderingContext] -> JSM JSVal # | |
FromJSVal WebGPURenderingContext Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe WebGPURenderingContext) # fromJSValUnchecked :: JSVal -> JSM WebGPURenderingContext # fromJSValListOf :: JSVal -> JSM (Maybe [WebGPURenderingContext]) # fromJSValUncheckedListOf :: JSVal -> JSM [WebGPURenderingContext] # | |
MakeObject WebGPURenderingContext Source # | |
Defined in JSDOM.Types | |
IsGObject WebGPURenderingContext Source # | |
Defined in JSDOM.Types |