Crate ren

Source

Modules§

prelude

Macros§

run
Run an App with the default AppOptions, i.e. the same as:
run_with
Run an App with some AppOptions.

Structs§

AppOptions
AttribBindPoint
AttribBinding
AttribFormat
Buffer
Glfw
A token from which to call various GLFW functions. It can be obtained by calling the init function. This cannot be sent to other tasks, and should only be initialized on the main platform thread. Whilst this might make performing some operations harder, this is to ensure thread safety is enforced statically.
Modifiers
Key modifiers (e.g., Shift, Control, Alt, Super)
RawGLHandle
OpenGL handle wrapped in a struct, to ensure the handle cannot “accidentally” be used.
RenderingContext
Shader
ShaderStage
Texture
UniformLocation
VertexArray
VertexArrayDesc
Window
A struct that wraps a *GLFWwindow handle.

Enums§

Action
Input actions.
AttribKind
BufferUsage
InternalFormat
Key
Input keys.
MouseButton
Mouse buttons. The MouseButtonLeft, MouseButtonRight, and MouseButtonMiddle aliases are supplied for convenience.
PixelFormat
ShaderError
ShaderStageError
ShaderStageKind
TextureFilter
TextureWrap
WindowEvent
Window event messages.

Traits§

App
Context
Methods common to renderable contexts
GLHandle
SetUniform

Functions§

run_glfw
run_glfw_with
run_headless_once
run_headless_once_with

Type Aliases§

Attrib
EventReceiver
Scancode
Keyboard code returned by the OS