pyglet
Programming Guide
Installation
Writing a pyglet application
Windowing
Keyboard input
Mouse input
Controller & Joystick input
Images and Sprites
Displaying text
Playing Sound and Video
Drawing Shapes
3D Models and Scenes
Application resources
Shaders and Rendering
Event dispatching & handling
Simple Widgets & GUI
Keeping track of time
Creating a rendering context
The OpenGL interface
OpenGL ES
Matrix and Vector Math
The application event loop
In-depth game example
Runtime Options
Debugging tools
Migrating from pyglet 2.1 to pyglet 3.0
Pyodide Integration
API Reference
pyglet
pyglet.app
pyglet.clock
pyglet.display
pyglet.customtypes
pyglet.enums
pyglet.event
pyglet.font
pyglet.graphics
pyglet.gui
pyglet.image
pyglet.info
pyglet.input
pyglet.math
pyglet.media
pyglet.resource
pyglet.sprite
pyglet.shapes
pyglet.text
pyglet.window
External Resources
Related Documentation
Projects using pyglet
Development Guide
Contributing
Development environment
Documentation and Type Hints
Testing pyglet
Making a pyglet release
OpenGL Interface Implementation
ctypes Wrapper Generation
wraptypes
Media manual
Media logging manual
pyglet
Index
Index – R
R (ComponentFormat attribute)
radius (Circle attribute)
(Sector attribute)
RangeAllocator (class in pyglet.graphics.allocation)
ranges (RangeAllocator property)
rate (ScreenMode attribute)
READ (FramebufferTarget attribute)
realloc() (Allocator method)
(Stream method)
Rectangle (class in pyglet.shapes)
reflect() (Vec2 method)
register_event_type() (EventDispatcher class method)
reindex() (in module pyglet.resource)
RelativeAxis (class in pyglet.input)
remove() (InlineElement method)
(RangeAllocator method)
remove_handler() (EventDispatcher method)
remove_handlers() (EventDispatcher method)
remove_vertex_list() (IndexedVertexGroupBucket method)
(VertexGroupBucket method)
REPEAT (AddressMode attribute)
require_gl_extension() (in module tests.annotations)
require_platform() (in module tests.annotations)
resize() (Stream method)
(VertexList method)
resizeable (Window attribute)
ResourceNotFoundException (class in pyglet.resource)
restore_mode() (Screen method)
return_binding() (UBOBindingManager method)
REVERSE_SUBTRACT (BlendOp attribute)
RG (ComponentFormat attribute)
RGB (ComponentFormat attribute)
RGBA (ComponentFormat attribute)
RIGHT (in module pyglet.window.mouse)
right (TextLayout property)
rotate() (Mat3 method)
(Mat4 method)
(Vec2 method)
ROTATION (AnimationChannelTargetPath attribute)
rotation (IncrementalTextLayout property)
(ShapeBase attribute)
(Sprite property)
(TextLayout property)
row() (Mat4 method)
run() (EventLoop method)
(in module pyglet.app)
RX (AbsoluteAxis attribute)
(RelativeAxis attribute)
RY (AbsoluteAxis attribute)
(RelativeAxis attribute)
RZ (AbsoluteAxis attribute)
(RelativeAxis attribute)