more rendering code

This commit is contained in:
awtterpip
2024-03-14 21:34:42 -05:00
parent 9b39148e67
commit 9a556289de
4 changed files with 148 additions and 63 deletions

View File

@@ -278,5 +278,5 @@ pub struct XrGraphicsInfo {
pub format: wgpu::TextureFormat,
}
#[derive(Clone, Resource, ExtractResource)]
pub struct XrViews(pub Vec<(Entity, openxr::View)>);
#[derive(Clone, Resource, ExtractResource, Deref, DerefMut)]
pub struct XrViews(pub Vec<openxr::View>);