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 – B
b (Ellipse attribute)
(Mat3 attribute)
(Mat4 attribute)
BackedBufferObject (class in pyglet.graphics.buffer)
backend (Options attribute)
backend_ctx (DrawContext attribute)
BaseMaterialGroup (class in pyglet.model)
Batch (class in pyglet.graphics.draw)
batch (Model property)
(ShapeBase attribute)
(Sprite property)
(TextLayout property)
BatchDrawOptions (class in pyglet.graphics.draw)
batches (Group property)
begin() (DrawContext method)
begin_update() (TextLayout method)
BezierCurve (class in pyglet.shapes)
BGR (ComponentFormat attribute)
BGRA (ComponentFormat attribute)
bind() (AbstractBuffer method)
(Texture method)
(UniformBlock method)
(UniformBufferRegion method)
(VertexArrayBinding method)
(VertexArrayProtocol method)
bind_base() (IndexedBindingBuffer method)
bind_into() (IndexStream method)
(Stream method)
bind_num (UniformBlockDesc attribute)
bind_range() (IndexedBindingBuffer method)
bind_slice() (UniformBufferObject method)
bind_vao() (InstancedIndexedVertexDomain method)
(InstancedVertexDomain method)
(VertexDomain method)
binding (Sampler attribute)
(UniformBlock attribute)
(UniformBufferObject attribute)
binding_exists() (UBOBindingManager method)
BLACK (Weight attribute)
blend_mode (Sprite property)
BlendFactor (class in pyglet.enums)
BlendOp (class in pyglet.enums)
blit() (CompressedImageData method)
(ImageData method)
(Texture method)
blue_size (OpenGLUserConfig attribute)
BOLD (Weight attribute)
border_color (BorderedRectangle attribute)
BorderedRectangle (class in pyglet.shapes)
bottom (TextLayout property)
Box (class in pyglet.shapes)
Buffer (in module pyglet.customtypes)
buffer (UniformBufferObject attribute)
buffer_attributes (VertexDomain attribute)
buffer_size (OpenGLUserConfig attribute)
BufferBindingSlice (class in pyglet.graphics.buffer)
BufferDataStore (class in pyglet.graphics.buffer)
BufferRange (class in pyglet.graphics.buffer)
Button (class in pyglet.input)
buttons_string() (in module pyglet.window.mouse)