Skip to content

Commit

Permalink
GPU. Fix type [generated] (#2219)
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Mar 2, 2024
1 parent 54936b8 commit d4bc45a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ package web.gpu
import js.array.ReadonlyArray
import js.core.JsLong
import js.objects.JsPlainObject
import web.images.PredefinedColorSpace

@JsPlainObject
sealed external interface GPUCanvasConfiguration {
var device: GPUDevice
var format: GPUTextureFormat
var usage: GPUTextureUsage?
var viewFormats: ReadonlyArray<GPUTextureFormat>?
var colorSpace: String /* "srgb" | "display-p3" */?
var colorSpace: PredefinedColorSpace?
var alphaMode: GPUCanvasAlphaMode?
var width: JsLong
var height: JsLong
Expand Down

0 comments on commit d4bc45a

Please sign in to comment.