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 – A
a (Ellipse attribute)
(Mat3 attribute)
(Mat4 attribute)
aabb (WidgetBase attribute)
AbsoluteAxis (class in pyglet.input)
AbstractBuffer (class in pyglet.graphics.buffer)
AbstractDocument (class in pyglet.text.document)
AbstractListener (class in pyglet.media.drivers.listener)
accum_alpha_size (OpenGLUserConfig attribute)
accum_blue_size (OpenGLUserConfig attribute)
accum_green_size (OpenGLUserConfig attribute)
accum_red_size (OpenGLUserConfig attribute)
acquire_writable_slice() (RingBuffer method)
acquire_writable_slice_from_ranges() (RingBuffer method)
activate() (Window method)
active_camera (DrawContext property)
active_scissor (DrawContext property)
active_shader_program (DrawContext attribute)
active_viewport (DrawContext property)
ADD (BlendOp attribute)
add() (FontGroup method)
(RangeAllocator method)
(TextureArrayBin method)
(TextureAtlas method)
(TextureBin method)
add_comparison() (Group method)
add_directory() (in module pyglet.font)
add_explicit_binding() (UBOBindingManager method)
add_file() (in module pyglet.font)
add_font() (in module pyglet.resource)
,
[1]
(Loader method)
add_to_texture_bin() (Animation method)
add_user_font() (in module pyglet.font)
add_vertex_list() (IndexedVertexGroupBucket method)
(VertexGroupBucket method)
add_widget() (Frame method)
AddressMode (class in pyglet.enums)
ADSREnvelope (class in pyglet.media.synthesis)
advance (InlineElement attribute)
alignment (RingBuffer attribute)
alloc() (Allocator method)
,
[1]
(Stream method)
alloc_to_group() (InstancedIndexedVertexDomain method)
(InstancedVertexDomain method)
(VertexDomain method)
Allocator (class in pyglet.graphics.allocation)
(class in pyglet.graphics.atlas)
AllocatorException
AllocatorMemoryException
alpha (WebGLUserConfig attribute)
alpha_size (OpenGLUserConfig attribute)
ALWAYS (CompareOp attribute)
anchor_position (ShapeBase attribute)
anchor_x (IncrementalTextLayout property)
(ScrollableTextLayout property)
(ShapeBase attribute)
(TextLayout property)
anchor_y (IncrementalTextLayout property)
(ScrollableTextLayout property)
(ShapeBase attribute)
(TextLayout property)
AnchorX (in module pyglet.customtypes)
AnchorY (in module pyglet.customtypes)
angle (Arc attribute)
(Sector attribute)
Animation (class in pyglet.image.animation)
animation() (in module pyglet.resource)
,
[1]
(Loader method)
AnimationChannelTargetPath (class in pyglet.enums)
AnimationFrame (class in pyglet.image.animation)
AnimationInterpolation (class in pyglet.enums)
antialias (WebGLUserConfig attribute)
api (OpenGLUserConfig attribute)
(UserConfig attribute)
(WebGLUserConfig property)
api_drawable (MouseCursor attribute)
AppException (class in pyglet.app)
AppleRemote (class in pyglet.input)
apply_camera_scope() (DrawContext method)
apply_clear_color() (DrawContext method)
apply_scissor() (DrawContext method)
apply_viewport() (DrawContext method)
Arc (class in pyglet.shapes)
ascent (InlineElement attribute)
aspect_ratio (Window attribute)
attrib_name_buffers (VertexDomain attribute)
(VertexStream attribute)
Attribute (class in pyglet.graphics.shader)
attribute_meta (VertexDomain attribute)
(VertexStream attribute)
attribute_names (VertexDomain property)
AttributeBufferObject (class in pyglet.graphics.buffer)
attributed() (in module pyglet.resource)
,
[1]
(Loader method)
AttributeFormat (class in pyglet.graphics.shader)
attributes (SurfaceConfig property)
AttributeView (class in pyglet.graphics.shader)
audio (Options attribute)
audio() (in module pyglet.resource)
,
[1]
(Loader method)
AudioData (class in pyglet.media.codecs)
AudioFormat (class in pyglet.media.codecs)
AudioPlayer (class in pyglet.media.player)
aux_buffers (OpenGLUserConfig attribute)