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 – P
p (Mat4 attribute)
path (in module pyglet.resource)
pause() (AudioPlayer method)
(PlayerGroup method)
(VideoPlayer method)
paused (MultiTextureSprite property)
(Sprite property)
per_instance (VertexDomain attribute)
per_vertex (VertexDomain attribute)
PERIOD (Caret attribute)
PersistentBufferObject (class in pyglet.graphics.buffer)
perspective_projection() (Mat4 class method)
pitch (AudioPlayer attribute)
(VideoPlayer attribute)
pixel_conversion (Texture attribute)
PixelBuffer (class in pyglet.graphics.buffer)
PixelPackBuffer (class in pyglet.graphics.buffer)
PixelUnpackBuffer (class in pyglet.graphics.buffer)
place() (InlineElement method)
planned_size (RingBuffer property)
Platform (class in tests.annotations)
platform_event_loop (in module pyglet.app)
PlatformEventLoop (class in pyglet.app)
play() (AudioPlayer method)
(PlayerGroup method)
(Source method)
(VideoPlayer method)
play_audio() (in module pyglet.media)
play_video() (in module pyglet.media)
PlayerGroup (class in pyglet.media.player)
playing (AudioPlayer attribute)
(VideoPlayer attribute)
points (BezierCurve attribute)
POINTS (GeometryMode attribute)
Polygon (class in pyglet.shapes)
pop_handlers() (EventDispatcher method)
position (AbstractListener property)
(AudioPlayer attribute)
(Caret property)
(IncrementalTextLayout property)
(InlineElement property)
(ScrollableTextLayout property)
(ShapeBase attribute)
(Sprite property)
(TextLayout property)
(VideoPlayer attribute)
post_event() (EventDispatcher method)
(PlatformEventLoop method)
powerPreference (WebGLUserConfig attribute)
premultipliedAlpha (WebGLUserConfig attribute)
preserveDrawingBuffer (WebGLUserConfig attribute)
program (Sprite property)
(TextLayout property)
(UniformBase attribute)
(UniformBlock attribute)
projection (Window attribute)
pulse_generator() (in module pyglet.media.synthesis)
push_handlers() (EventDispatcher method)
PushButton (class in pyglet.gui)
PushConstants (class in pyglet.graphics.shader)
pyglet.app
module
pyglet.clock
module
pyglet.config
module
pyglet.config.base
module
pyglet.config.gl
module
pyglet.customtypes
module
pyglet.display
module
pyglet.enums
module
pyglet.event
module
pyglet.font
module
pyglet.font.group
module
pyglet.font.user
module
pyglet.graphics
module
pyglet.graphics.allocation
module
pyglet.graphics.atlas
module
pyglet.graphics.buffer
module
pyglet.graphics.draw
module
pyglet.graphics.framebuffer
module
pyglet.graphics.shader
module
pyglet.graphics.texture
module
pyglet.graphics.vertexdomain
module
pyglet.gui
module
pyglet.image
module
pyglet.image.animation
module
pyglet.info
module
pyglet.input
module
pyglet.math
module
pyglet.media
module
pyglet.media.AudioPlayer (class in pyglet.media)
pyglet.media.exceptions
module
pyglet.media.synthesis
module
pyglet.media.VideoPlayer (class in pyglet.media)
pyglet.model
module
pyglet.resource
module
pyglet.shapes
module
pyglet.sprite
module
pyglet.text
module
pyglet.text.caret
module
pyglet.text.document
module
pyglet.text.layout
module
pyglet.window
module
pyglet.window.dialog
module
pyglet.window.key
module
pyglet.window.mouse
module
pyodide (Options attribute)
pytest.mark.integration() (in module tests.annotations)
pytest.mark.interactive() (in module tests.annotations)
pytest.mark.only_interactive() (in module tests.annotations)
pytest.mark.requires_user_action() (in module tests.annotations)
pytest.mark.requires_user_validation() (in module tests.annotations)
pytest.mark.unit() (in module tests.annotations)