pyglet
Programming Guide
Installation
Writing a pyglet application
Windowing
Cameras and Views
Keyboard input
Mouse input
Controller & Joystick input
Images and Image Data
Displaying text
Playing Sound and Video
Drawing Shapes
3D Models and Scenes
Application resources
Textures and Rendering
Shaders and Rendering
Cameras and Views
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
Migrating from pyglet 2.0 -> 2.1
Pyodide Integration
API Reference
pyglet
pyglet.app
pyglet.clock
pyglet.config
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.model
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)
range_size (RingBuffer attribute)
range_stride (RingBuffer attribute)
RangeAllocator (class in pyglet.graphics.allocation)
ranges (RangeAllocator property)
rate (ScreenMode attribute)
READ (FramebufferTarget attribute)
read() (UniformBufferObject method)
realloc() (Allocator method)
(Stream method)
rebind_external() (CTypeDataStore method)
Rectangle (class in pyglet.shapes)
red_size (OpenGLUserConfig attribute)
reflect() (Vec2 method)
region_class (Texture attribute)
(TextureArray attribute)
(TextureArrayRegion attribute)
register_event_type() (EventDispatcher class method)
reindex() (in module pyglet.resource)
,
[1]
(Loader method)
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)
remove_widget() (Frame method)
renderer (DrawContext attribute)
REPEAT (AddressMode attribute)
require_gl_extension() (in module tests.annotations)
require_platform() (in module tests.annotations)
reserve_resource_range() (RingBuffer method)
resize() (AbstractBuffer method)
(BufferDataStore method)
(CTypeDataStore method)
(Stream method)
(VertexList method)
resize_store() (BackedBufferObject method)
resizeable (Window attribute)
resolve() (BatchDrawOptions method)
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)
RingBuffer (class in pyglet.graphics.buffer)
rotate() (Mat3 method)
(Mat4 method)
(Vec2 method)
ROTATION (AnimationChannelTargetPath attribute)
rotation (IncrementalTextLayout property)
(ModelInstance 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)