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 – C
c (Mat3 attribute)
(Mat4 attribute)
c_type (Attribute attribute)
call_scheduled_functions() (Clock method)
CannotSeekException
capacity (Allocator attribute)
caption (Window attribute)
Caret (class in pyglet.text.caret)
CheckerImagePattern (class in pyglet.image)
Circle (class in pyglet.shapes)
clamp() (in module pyglet.math)
(Vec2 method)
(Vec3 method)
(Vec4 method)
CLAMP_TO_BORDER (AddressMode attribute)
CLAMP_TO_EDGE (AddressMode attribute)
clear() (RangeAllocator method)
(Window method)
Clock (class in pyglet.clock)
close() (AppleRemote method)
(Controller method)
(Device method)
(Joystick method)
(Window method)
color (Caret property)
(DocumentLabel property)
(ShapeBase attribute)
(Sprite property)
COLOR0 (FramebufferAttachment attribute)
COLOR1 (FramebufferAttachment attribute)
COLOR10 (FramebufferAttachment attribute)
COLOR11 (FramebufferAttachment attribute)
COLOR12 (FramebufferAttachment attribute)
COLOR13 (FramebufferAttachment attribute)
COLOR14 (FramebufferAttachment attribute)
COLOR15 (FramebufferAttachment attribute)
COLOR2 (FramebufferAttachment attribute)
COLOR3 (FramebufferAttachment attribute)
COLOR4 (FramebufferAttachment attribute)
COLOR5 (FramebufferAttachment attribute)
COLOR6 (FramebufferAttachment attribute)
COLOR7 (FramebufferAttachment attribute)
COLOR8 (FramebufferAttachment attribute)
COLOR9 (FramebufferAttachment attribute)
column() (Mat4 method)
com_mta (Options attribute)
commit() (IndexStream method)
(Stream method)
CompareOp (class in pyglet.enums)
ComponentFormat (class in pyglet.enums)
components (AttributeFormat attribute)
composite_operator() (in module pyglet.media.synthesis)
CompressedImageData (class in pyglet.image)
CONDENSED (Stretch attribute)
cone_inner_angle (AudioPlayer attribute)
(VideoPlayer attribute)
cone_orientation (AudioPlayer attribute)
(VideoPlayer attribute)
cone_outer_angle (AudioPlayer attribute)
(VideoPlayer attribute)
cone_outer_gain (AudioPlayer attribute)
(VideoPlayer attribute)
config (Window attribute)
conjugate() (Quaternion method)
connected (Device attribute)
CONSTANT_ALPHA (BlendFactor attribute)
CONSTANT_COLOR (BlendFactor attribute)
constants (PushConstants attribute)
content_height (TextLayout property)
content_valign (TextLayout property)
content_width (TextLayout property)
ContentVAlign (in module pyglet.customtypes)
context (Window attribute)
Control (class in pyglet.input)
Controller (class in pyglet.input)
ControllerManager (class in pyglet.input)
convert() (ImageData method)
copy_data() (VertexStream method)
copy_region() (IndexStream method)
count (Sampler attribute)
(UniformBase attribute)
(VertexList attribute)
create() (in module pyglet.image)
(IndexedVertexDomain method)
(InstancedIndexedVertexDomain method)
(InstancedVertexDomain method)
(VertexDomain method)
create_image() (CheckerImagePattern method)
(ImagePattern method)
(SolidColorImagePattern method)
create_instance() (InstanceIndexedVertexList method)
(InstanceVertexList method)
create_instance_domain() (InstancedIndexedVertexDomain method)
(InstancedVertexDomain method)
create_texture() (CompressedImageData method)
(ImageData method)
create_ubo() (UniformBlock method)
cross() (Vec3 method)
Cube (class in pyglet.model)
CUBIC_SPLINE (AnimationInterpolation attribute)
CURSOR_CROSSHAIR (Window attribute)
CURSOR_DEFAULT (Window attribute)
CURSOR_HAND (Window attribute)
CURSOR_HELP (Window attribute)
CURSOR_NO (Window attribute)
CURSOR_SIZE (Window attribute)
CURSOR_SIZE_DOWN (Window attribute)
CURSOR_SIZE_DOWN_LEFT (Window attribute)
CURSOR_SIZE_DOWN_RIGHT (Window attribute)
CURSOR_SIZE_LEFT (Window attribute)
CURSOR_SIZE_LEFT_RIGHT (Window attribute)
CURSOR_SIZE_RIGHT (Window attribute)
CURSOR_SIZE_UP (Window attribute)
CURSOR_SIZE_UP_DOWN (Window attribute)
CURSOR_SIZE_UP_LEFT (Window attribute)
CURSOR_SIZE_UP_RIGHT (Window attribute)
CURSOR_TEXT (Window attribute)
CURSOR_WAIT (Window attribute)
CURSOR_WAIT_ARROW (Window attribute)