Type Alias Window

Source
pub type Window = GlfwWindow;

Aliased Type§

struct Window { /* private fields */ }

Implementations§

Source§

impl Window

Source

pub fn Viewport(&self, args: impl WINSize)

Source

pub fn Bind(&self) -> Binding<'_, Framebuff>

Trait Implementations§

Source§

impl Frame for Window

Source§

fn ClearColor(&self, args: impl ClearArgs)

Source§

fn ClearDepth<T>(&self, d: T)
where f32: Cast<T>,

Source§

fn size(&self) -> uVec2

Source§

fn aspect(&self) -> Vec2

Source§

fn pixel(&self) -> f32

Source§

fn bind(&self) -> Binding<'_, Framebuff>

Source§

fn to_clip(&self) -> Vec2

Source§

fn pixel_vec2(&self) -> Vec2

Source§

fn clear(&self, args: impl ColorDepthArg)