A render pipeline renders graphics, typically into a element, but it could also render graphics offscreen.WebGPU is currently able to handle two types of pipeline: Putting this together with some feature detection checks, the above process could be achieved as follows:Ī pipeline is a logical structure containing programmable stages that are completed to get your program's work done. If this is not included, the supplied device will have a reasonable general-purpose spec that is good enough for most purposes. This method also accepts an options object (referred to as a descriptor), which can be used to specify the exact features and limits you want the logical device to have. A device can be requested via GPUAdapter.requestDevice().If this is not included, the device will provide access to the default adapter, which is good enough for most purposes. This method accepts an optional settings object allowing you to request for example a high-performance or low-energy adapter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |