Struct glium_pib::System
[−]
[src]
pub struct System { /* fields omitted */ }
Process wide shared data. Only one instance may be created per process.
Methods
impl System
[src]
fn new(lib_dir: LibDir) -> Result<Self, Error>
Create a new system using the libraries from the library directory specified. This should only be called once per process.
fn display_size(&self, display: Display) -> Result<(u32, u32), Error>
Get the size of a display.
fn lib_dir(&self) -> &Path
The library directory in use.