/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
class ExternalTextureDMABuf; class ExternalTextureMacIOSurface; class WebGPUParent;
// A texture that can be used by the WebGPU implementation but is created and // owned by Gecko class ExternalTexture { public: static UniquePtr<ExternalTexture> Create(
WebGPUParent* aParent, const ffi::WGPUDeviceId aDeviceId, const uint32_t aWidth, const uint32_t aHeight, conststruct ffi::WGPUTextureFormat aFormat, const ffi::WGPUTextureUsages aUsage);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.