Struct openvr::Context [] [src]

pub struct Context { /* fields omitted */ }

Entry points into OpenVR.

At most one of this object may exist at a time.

See safety notes in init.

Methods

impl Context
[src]

impl Context
[src]

[src]

Shut down OpenVR. Repeated calls are safe.

Called implicitly by Context::drop.

Safety

This must be called before shutting down the graphics API, or OpenVR may invoke undefined behavior by attempting to free graphics resources.

No calls to other OpenVR methods may be made after this has been called unless a new Context is first constructed.

Trait Implementations

impl Drop for Context
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Context

impl !Sync for Context