Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for GPUTexture.
Developer library 6
Firefox 157 release notes for developers
a/2036966)). ### JavaScript No notable changes. ### APIs - The [WebGPU](/docs/Web/API/WebGPU_API) `TRANSIENT_ATTACHMENT` [texture usage type](/docs/Web/API/GPUTexture/usage#value) is now supported. This enables creating memory-efficient attachments that are only used within the current render pass. Related render pass operations stay in tile memory, which avoids VRAM traffic and can avoid VRAM allocation for the
Firefox 158 release notes for developers
GPU_API) `float32-blendable` feature is now supported (see GPUSupportedFeatures). This allows [blending](/docs/Web/API/GPUDevice/createRenderPipeline#blend) of GPUTextures that use the `r32float`, `rg32float`, or `rgba32float` [`format`](/docs/Web/API/GPUDevice/createTexture#format). ([Firefox bug 1931630](https://bugzil.la/1931630)). - The [WebGPU](/docs/Web/API/WebGPU_API) `clip-distances` feature is now supported
GPUQueue
ages or console warnings. ## Instance methods - copyExternalImageToTexture() - : Copies a snapshot taken from a source image, video, or canvas into a given GPUTexture. - onSubmittedWorkDone() - : Returns a Promise that resolves when all the work submitted to the GPU via this `GPUQueue` at the point the method is called has been processed. - submit() - : Schedules the execution of command buffers represented b
GPUQueue: copyExternalImageToTexture() method
WebGPU API The **`copyExternalImageToTexture()`** method of the GPUQueue interface copies a snapshot taken from a source image, video, or canvas into a given GPUTexture. Using this function allows the user agent to determine the most efficient way to copy the data over for each source type. ## Syntax ```js-nolint copyExternalImageToTexture(source, destination, copySize) ``` ### Parameters - `source` - : An ob
GPUQueue: writeTexture() method
WebGPU API The **`writeTexture()`** method of the GPUQueue interface writes a provided data source into a given GPUTexture. This is a convenience function, which provides an alternative to setting texture data via buffer mapping and buffer-to-texture copies. It lets the user agent determine the most efficient way to copy the data over. ## Syntax ```js-nolint writeTexture(destination, data, dataLayout, size) ```
GPUQueue: submit() method
ated and the GPUQueue becomes invalid: - The array of GPUCommandBuffer objects referenced in the `submit()` call does not contain duplicates. - Any GPUBuffer, GPUTexture, and GPUQuerySet objects used in the encoded commands are available for use, i.e., not unavailable (`GPUBuffer`s are unavailable if they are currently mapped) or destroyed (with the `destroy()` method). - Any GPUExternalTexture objects used in the e