Desktop: Ready runtime and render node for desktop (#2952)

* Desktop: Ready runtime and render node for desktop

* Address review comments
This commit is contained in:
Dennis Kobert 2025-07-29 01:23:35 +02:00 committed by GitHub
parent 6119dea58c
commit 2247dd9818
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 177 additions and 102 deletions

View file

@ -57,6 +57,15 @@ pub struct ImageTexture {
pub texture: (),
}
impl<'a> serde::Deserialize<'a> for ImageTexture {
fn deserialize<D>(_: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'a>,
{
unimplemented!("attempted to serialize a texture")
}
}
impl Hash for ImageTexture {
#[cfg(feature = "wgpu")]
fn hash<H: Hasher>(&self, state: &mut H) {