Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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. (Num a, Eq a) => a
- pattern PixelFormatDepth32Float :: forall a. (Num a, Eq a) => a
- pattern PixelFormatStencil8 :: forall a. (Num a, Eq a) => a
- pattern PixelFormatInvalid :: forall a. (Num a, Eq a) => a
- pattern LoadActionDontCare :: forall a. (Num a, Eq a) => a
- pattern LoadActionLoad :: forall a. (Num a, Eq a) => a
- pattern LoadActionClear :: forall a. (Num a, Eq a) => a
- pattern StoreActionDontCare :: forall a. (Num a, Eq a) => a
- pattern StoreActionStore :: forall a. (Num a, Eq a) => a
- pattern StoreActionMultisampleResolve :: forall a. (Num a, Eq a) => a
- pattern PrimitiveTypePoint :: forall a. (Num a, Eq a) => a
- pattern PrimitiveTypeLine :: forall a. (Num a, Eq a) => a
- pattern PrimitiveTypeLineStrip :: forall a. (Num a, Eq a) => a
- pattern PrimitiveTypeTriangle :: forall a. (Num a, Eq a) => a
- pattern PrimitiveTypeTriangleStrip :: forall a. (Num a, Eq a) => a
- pattern CompareFunctionNever :: forall a. (Num a, Eq a) => a
- pattern CompareFunctionLess :: forall a. (Num a, Eq a) => a
- pattern CompareFunctionEqual :: forall a. (Num a, Eq a) => a
- pattern CompareFunctionLessEqual :: forall a. (Num a, Eq a) => a
- pattern CompareFunctionGreater :: forall a. (Num a, Eq a) => a
- pattern CompareFunctionNotEqual :: forall a. (Num a, Eq a) => a
- pattern CompareFunctionGreaterEqual :: forall a. (Num a, Eq a) => a
- pattern CompareFunctionAlways :: forall a. (Num a, Eq a) => a
- pattern TextureType1D :: forall a. (Num a, Eq a) => a
- pattern TextureType1DArray :: forall a. (Num a, Eq a) => a
- pattern TextureType2D :: forall a. (Num a, Eq a) => a
- pattern TextureType2DArray :: forall a. (Num a, Eq a) => a
- pattern TextureType2DMultisample :: forall a. (Num a, Eq a) => a
- pattern TextureTypeCube :: forall a. (Num a, Eq a) => a
- pattern TextureTypeCubeArray :: forall a. (Num a, Eq a) => a
- pattern TextureType3D :: forall a. (Num a, Eq a) => a
- pattern StorageModeShared :: forall a. (Num a, Eq a) => a
- pattern StorageModeManaged :: forall a. (Num a, Eq a) => a
- pattern StorageModePrivate :: forall a. (Num a, Eq a) => a
- pattern TextureUsageUnknown :: forall a. (Num a, Eq a) => a
- pattern TextureUsageShaderRead :: forall a. (Num a, Eq a) => a
- pattern TextureUsageShaderWrite :: forall a. (Num a, Eq a) => a
- pattern TextureUsageRenderTarget :: forall a. (Num a, Eq a) => a
- pattern TextureUsagePixelFormatView :: forall a. (Num a, Eq 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. (Num a, Eq a) => a Source #
pattern PixelFormatDepth32Float :: forall a. (Num a, Eq a) => a Source #
pattern PixelFormatStencil8 :: forall a. (Num a, Eq a) => a Source #
pattern PixelFormatInvalid :: forall a. (Num a, Eq a) => a Source #
pattern LoadActionDontCare :: forall a. (Num a, Eq a) => a Source #
pattern LoadActionLoad :: forall a. (Num a, Eq a) => a Source #
pattern LoadActionClear :: forall a. (Num a, Eq a) => a Source #
pattern StoreActionDontCare :: forall a. (Num a, Eq a) => a Source #
pattern StoreActionStore :: forall a. (Num a, Eq a) => a Source #
pattern StoreActionMultisampleResolve :: forall a. (Num a, Eq a) => a Source #
pattern PrimitiveTypePoint :: forall a. (Num a, Eq a) => a Source #
pattern PrimitiveTypeLine :: forall a. (Num a, Eq a) => a Source #
pattern PrimitiveTypeLineStrip :: forall a. (Num a, Eq a) => a Source #
pattern PrimitiveTypeTriangle :: forall a. (Num a, Eq a) => a Source #
pattern PrimitiveTypeTriangleStrip :: forall a. (Num a, Eq a) => a Source #
pattern CompareFunctionNever :: forall a. (Num a, Eq a) => a Source #
pattern CompareFunctionLess :: forall a. (Num a, Eq a) => a Source #
pattern CompareFunctionEqual :: forall a. (Num a, Eq a) => a Source #
pattern CompareFunctionLessEqual :: forall a. (Num a, Eq a) => a Source #
pattern CompareFunctionGreater :: forall a. (Num a, Eq a) => a Source #
pattern CompareFunctionNotEqual :: forall a. (Num a, Eq a) => a Source #
pattern CompareFunctionGreaterEqual :: forall a. (Num a, Eq a) => a Source #
pattern CompareFunctionAlways :: forall a. (Num a, Eq a) => a Source #
pattern TextureType1D :: forall a. (Num a, Eq a) => a Source #
pattern TextureType1DArray :: forall a. (Num a, Eq a) => a Source #
pattern TextureType2D :: forall a. (Num a, Eq a) => a Source #
pattern TextureType2DArray :: forall a. (Num a, Eq a) => a Source #
pattern TextureType2DMultisample :: forall a. (Num a, Eq a) => a Source #
pattern TextureTypeCube :: forall a. (Num a, Eq a) => a Source #
pattern TextureTypeCubeArray :: forall a. (Num a, Eq a) => a Source #
pattern TextureType3D :: forall a. (Num a, Eq a) => a Source #
pattern StorageModeShared :: forall a. (Num a, Eq a) => a Source #
pattern StorageModeManaged :: forall a. (Num a, Eq a) => a Source #
pattern StorageModePrivate :: forall a. (Num a, Eq a) => a Source #
pattern TextureUsageUnknown :: forall a. (Num a, Eq a) => a Source #
pattern TextureUsageShaderRead :: forall a. (Num a, Eq a) => a Source #
pattern TextureUsageShaderWrite :: forall a. (Num a, Eq a) => a Source #
pattern TextureUsageRenderTarget :: forall a. (Num a, Eq a) => a Source #
pattern TextureUsagePixelFormatView :: forall a. (Num a, Eq a) => a Source #
newtype WebGPURenderingContext Source #
Functions for this inteface are in JSDOM.WebGPURenderingContext.