Last active
November 29, 2016 19:08
-
-
Save MortimerGoro/e2629827d8fd4d7cdcdd6f9fbc4b4a6b to your computer and use it in GitHub Desktop.
VRCompositor traits for blogpost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Trait object that handles WebVR commands. | |
// Receives the texture_id associated to the WebGLContext. | |
pub trait VRCompositorHandler: Send { | |
fn handle(&mut self, command: VRCompositorCommand, texture_id: Option<u32>); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment