@@ -16,6 +16,7 @@ pub trait ReferenceType {
16
16
type Surface : Clone ; // Surface does not implement Debug, although it probably could.
17
17
type Texture : Clone + core:: fmt:: Debug ;
18
18
type TextureView : Clone + core:: fmt:: Debug ;
19
+ type ExternalTexture : Clone + core:: fmt:: Debug ;
19
20
type QuerySet : Clone + core:: fmt:: Debug ;
20
21
type BindGroup : Clone + core:: fmt:: Debug ;
21
22
type RenderPipeline : Clone + core:: fmt:: Debug ;
@@ -47,6 +48,7 @@ impl ReferenceType for IdReferences {
47
48
type Surface = id:: SurfaceId ;
48
49
type Texture = id:: TextureId ;
49
50
type TextureView = id:: TextureViewId ;
51
+ type ExternalTexture = id:: ExternalTextureId ;
50
52
type QuerySet = id:: QuerySetId ;
51
53
type BindGroup = id:: BindGroupId ;
52
54
type RenderPipeline = id:: RenderPipelineId ;
@@ -61,6 +63,7 @@ impl ReferenceType for PointerReferences {
61
63
type Surface = id:: PointerId < id:: markers:: Surface > ;
62
64
type Texture = id:: PointerId < id:: markers:: Texture > ;
63
65
type TextureView = id:: PointerId < id:: markers:: TextureView > ;
66
+ type ExternalTexture = id:: PointerId < id:: markers:: ExternalTexture > ;
64
67
type QuerySet = id:: PointerId < id:: markers:: QuerySet > ;
65
68
type BindGroup = id:: PointerId < id:: markers:: BindGroup > ;
66
69
type RenderPipeline = id:: PointerId < id:: markers:: RenderPipeline > ;
@@ -75,6 +78,7 @@ impl ReferenceType for ArcReferences {
75
78
type Surface = Arc < Surface > ;
76
79
type Texture = Arc < Texture > ;
77
80
type TextureView = Arc < crate :: resource:: TextureView > ;
81
+ type ExternalTexture = Arc < crate :: resource:: ExternalTexture > ;
78
82
type QuerySet = Arc < QuerySet > ;
79
83
type BindGroup = Arc < crate :: binding_model:: BindGroup > ;
80
84
type RenderPipeline = Arc < crate :: pipeline:: RenderPipeline > ;
@@ -93,6 +97,7 @@ attribute_alias! {
93
97
R::Surface: serde::Serialize + for<'d> serde::Deserialize<'d>,\
94
98
R::Texture: serde::Serialize + for<'d> serde::Deserialize<'d>,\
95
99
R::TextureView: serde::Serialize + for<'d> serde::Deserialize<'d>,\
100
+ R::ExternalTexture: serde::Serialize + for<'d> serde::Deserialize<'d>,\
96
101
R::QuerySet: serde::Serialize + for<'d> serde::Deserialize<'d>,\
97
102
R::BindGroup: serde::Serialize + for<'d> serde::Deserialize<'d>,\
98
103
R::RenderPipeline: serde::Serialize + for<'d> serde::Deserialize<'d>,\
0 commit comments