-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
99 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Automatically generated - do not modify! | ||
|
||
@file:Suppress( | ||
"NESTED_CLASS_IN_EXTERNAL_INTERFACE", | ||
) | ||
|
||
package web.gpu | ||
|
||
external interface GPUBufferUsage | ||
: GPUConstant { | ||
companion object { | ||
val MAP_READ: GPUBufferUsage // 0x0001 | ||
val MAP_WRITE: GPUBufferUsage // 0x0002 | ||
val COPY_SRC: GPUBufferUsage // 0x0004 | ||
val COPY_DST: GPUBufferUsage // 0x0008 | ||
val INDEX: GPUBufferUsage // 0x0010 | ||
val VERTEX: GPUBufferUsage // 0x0020 | ||
val UNIFORM: GPUBufferUsage // 0x0040 | ||
val STORAGE: GPUBufferUsage // 0x0080 | ||
val INDIRECT: GPUBufferUsage // 0x0100 | ||
val QUERY_RESOLVE: GPUBufferUsage // 0x0200 | ||
} | ||
} |
5 changes: 0 additions & 5 deletions
5
kotlin-web/src/jsMain/generated/web/gpu/GPUBufferUsageFlags.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Automatically generated - do not modify! | ||
|
||
@file:Suppress( | ||
"NESTED_CLASS_IN_EXTERNAL_INTERFACE", | ||
) | ||
|
||
package web.gpu | ||
|
||
external interface GPUColorWrite | ||
: GPUConstant { | ||
companion object { | ||
val RED: GPUColorWrite // 0x1 | ||
val GREEN: GPUColorWrite // 0x2 | ||
val BLUE: GPUColorWrite // 0x4 | ||
val ALPHA: GPUColorWrite // 0x8 | ||
val ALL: GPUColorWrite // 0xF | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
package web.gpu | ||
|
||
typealias GPUColorWriteFlags = Double | ||
sealed external interface GPUConstant |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Automatically generated - do not modify! | ||
|
||
@file:Suppress( | ||
"NESTED_CLASS_IN_EXTERNAL_INTERFACE", | ||
) | ||
|
||
package web.gpu | ||
|
||
external interface GPUMapMode | ||
: GPUConstant { | ||
companion object { | ||
val READ: GPUMapMode // 0x0001 | ||
val WRITE: GPUMapMode // 0x0002 | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Automatically generated - do not modify! | ||
|
||
@file:Suppress( | ||
"NESTED_CLASS_IN_EXTERNAL_INTERFACE", | ||
) | ||
|
||
package web.gpu | ||
|
||
external interface GPUShaderStage | ||
: GPUConstant { | ||
companion object { | ||
val VERTEX: GPUShaderStage // 0x1 | ||
val FRAGMENT: GPUShaderStage // 0x2 | ||
val COMPUTE: GPUShaderStage // 0x4 | ||
} | ||
} |
5 changes: 0 additions & 5 deletions
5
kotlin-web/src/jsMain/generated/web/gpu/GPUShaderStageFlags.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
kotlin-web/src/jsMain/generated/web/gpu/GPUTextureUsage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Automatically generated - do not modify! | ||
|
||
@file:Suppress( | ||
"NESTED_CLASS_IN_EXTERNAL_INTERFACE", | ||
) | ||
|
||
package web.gpu | ||
|
||
external interface GPUTextureUsage | ||
: GPUConstant { | ||
companion object { | ||
val COPY_SRC: GPUTextureUsage // 0x01 | ||
val COPY_DST: GPUTextureUsage // 0x02 | ||
val TEXTURE_BINDING: GPUTextureUsage // 0x04 | ||
val STORAGE_BINDING: GPUTextureUsage // 0x08 | ||
val RENDER_ATTACHMENT: GPUTextureUsage // 0x10 | ||
} | ||
} |
5 changes: 0 additions & 5 deletions
5
kotlin-web/src/jsMain/generated/web/gpu/GPUTextureUsageFlags.kt
This file was deleted.
Oops, something went wrong.