mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement GPUQueue.writeBuffer and GPUQueue.writeTexture
This commit is contained in:
parent
8ef7f24541
commit
fae66089fa
7 changed files with 199 additions and 12 deletions
|
@ -107,6 +107,10 @@ impl GPUTexture {
|
|||
pub fn id(&self) -> WebGPUTexture {
|
||||
self.texture
|
||||
}
|
||||
|
||||
pub fn is_valid(&self) -> bool {
|
||||
self.valid.get()
|
||||
}
|
||||
}
|
||||
|
||||
impl GPUTextureMethods for GPUTexture {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue