@@ -16,6 +16,7 @@ pub trait ReferenceType {
1616 type Surface : Clone ; // Surface does not implement Debug, although it probably could.
1717 type Texture : Clone + core:: fmt:: Debug ;
1818 type TextureView : Clone + core:: fmt:: Debug ;
19+ type ExternalTexture : Clone + core:: fmt:: Debug ;
1920 type QuerySet : Clone + core:: fmt:: Debug ;
2021 type BindGroup : Clone + core:: fmt:: Debug ;
2122 type RenderPipeline : Clone + core:: fmt:: Debug ;
@@ -47,6 +48,7 @@ impl ReferenceType for IdReferences {
4748 type Surface = id:: SurfaceId ;
4849 type Texture = id:: TextureId ;
4950 type TextureView = id:: TextureViewId ;
51+ type ExternalTexture = id:: ExternalTextureId ;
5052 type QuerySet = id:: QuerySetId ;
5153 type BindGroup = id:: BindGroupId ;
5254 type RenderPipeline = id:: RenderPipelineId ;
@@ -61,6 +63,7 @@ impl ReferenceType for PointerReferences {
6163 type Surface = id:: PointerId < id:: markers:: Surface > ;
6264 type Texture = id:: PointerId < id:: markers:: Texture > ;
6365 type TextureView = id:: PointerId < id:: markers:: TextureView > ;
66+ type ExternalTexture = id:: PointerId < id:: markers:: ExternalTexture > ;
6467 type QuerySet = id:: PointerId < id:: markers:: QuerySet > ;
6568 type BindGroup = id:: PointerId < id:: markers:: BindGroup > ;
6669 type RenderPipeline = id:: PointerId < id:: markers:: RenderPipeline > ;
@@ -75,6 +78,7 @@ impl ReferenceType for ArcReferences {
7578 type Surface = Arc < Surface > ;
7679 type Texture = Arc < Texture > ;
7780 type TextureView = Arc < crate :: resource:: TextureView > ;
81+ type ExternalTexture = Arc < crate :: resource:: ExternalTexture > ;
7882 type QuerySet = Arc < QuerySet > ;
7983 type BindGroup = Arc < crate :: binding_model:: BindGroup > ;
8084 type RenderPipeline = Arc < crate :: pipeline:: RenderPipeline > ;
@@ -93,6 +97,7 @@ attribute_alias! {
9397 R::Surface: serde::Serialize + for<'d> serde::Deserialize<'d>,\
9498 R::Texture: serde::Serialize + for<'d> serde::Deserialize<'d>,\
9599 R::TextureView: serde::Serialize + for<'d> serde::Deserialize<'d>,\
100+ R::ExternalTexture: serde::Serialize + for<'d> serde::Deserialize<'d>,\
96101 R::QuerySet: serde::Serialize + for<'d> serde::Deserialize<'d>,\
97102 R::BindGroup: serde::Serialize + for<'d> serde::Deserialize<'d>,\
98103 R::RenderPipeline: serde::Serialize + for<'d> serde::Deserialize<'d>,\
0 commit comments