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 – S
safe_alloc() (VertexDomain method)
safe_index_alloc() (IndexedVertexDomain method)
safe_index_realloc() (IndexedVertexDomain method)
safe_realloc() (VertexDomain method)
Sampler (class in pyglet.graphics.shader)
save() (Source method)
Sawtooth (class in pyglet.media.synthesis)
sawtooth_generator() (in module pyglet.media.synthesis)
SCALE (AnimationChannelTargetPath attribute)
scale (Sprite property)
(Window attribute)
scale() (Mat3 method)
(Mat4 method)
scale_x (Sprite property)
scale_y (Sprite property)
scaling (MouseCursor attribute)
schedule() (Clock method)
(in module pyglet.clock)
schedule_interval() (Clock method)
(in module pyglet.clock)
schedule_interval_for_duration() (Clock method)
(in module pyglet.clock)
schedule_interval_soft() (Clock method)
(in module pyglet.clock)
schedule_once() (Clock method)
(in module pyglet.clock)
scissor_area (IncrementalTextDecorationGroup attribute)
(IncrementalTextLayoutGroup attribute)
(ScrollableTextDecorationGroup attribute)
(ScrollableTextLayoutGroup attribute)
Screen (class in pyglet.display)
screen (Window attribute)
ScreenMode (class in pyglet.display)
SCROLL_INCREMENT (Caret attribute)
ScrollableTextDecorationGroup (class in pyglet.text.layout)
ScrollableTextLayout (class in pyglet.text.layout)
ScrollableTextLayoutGroup (class in pyglet.text.layout)
search_local_libs (Options attribute)
Sector (class in pyglet.shapes)
seek() (AudioPlayer method)
(Source method)
(StaticMemorySource method)
(SynthesisSource method)
(VideoPlayer method)
seek_next_frame() (VideoPlayer method)
select_all() (Caret method)
select_paragraph() (Caret method)
select_to_point() (Caret method)
select_word() (Caret method)
selection_background_color (IncrementalTextLayout property)
selection_color (IncrementalTextLayout property)
selection_end (IncrementalTextLayout property)
selection_start (IncrementalTextLayout property)
SEMIBOLD (Weight attribute)
SEMICONDENSED (Stretch attribute)
SEMIEXPANDED (Stretch attribute)
set (UniformBase attribute)
set() (UniformArrayBase method)
set_attribute_data() (InstanceIndexedVertexList method)
(InstanceVertexList method)
(VertexList method)
set_attribute_region() (VertexStream method)
set_attributes() (ShaderProgram method)
set_binding() (UniformBlock method)
set_blend() (Group method)
set_bytes() (ImageData method)
(ImageDataRegion method)
set_capacity() (Allocator method)
set_caption() (Window method)
set_clipboard_text() (Window method)
set_data_type() (Attribute method)
set_default() (in module pyglet.clock)
set_depth_test() (Group method)
set_divisor() (Attribute method)
(GraphicsAttribute method)
set_exclusive_keyboard() (Window method)
set_exclusive_mouse() (Window method)
set_fullscreen() (Window method)
set_handler() (EventDispatcher method)
set_handlers() (EventDispatcher method)
set_icon() (Window method)
set_location() (Window method)
set_maximum_size() (Window method)
set_minimum_size() (Window method)
set_mipmap_data() (CompressedImageData method)
set_mode() (Screen method)
set_mouse_cursor() (Window method)
set_mouse_cursor_platform_visible() (Window method)
set_mouse_cursor_visible() (Window method)
set_num (UniformBlockDesc attribute)
set_paragraph_style() (AbstractDocument method)
(UnformattedDocument method)
set_pointer() (GraphicsAttribute method)
set_region() (IndexStream method)
(Stream method)
(VertexStream method)
set_samplers() (ShaderProgram method)
set_scissor() (Group method)
set_selection() (IncrementalTextLayout method)
set_shader_program() (Group method)
set_shader_uniforms() (Group method)
set_size() (Window method)
set_state_all() (Group method)
set_state_recursive() (Group method)
set_style() (AbstractDocument method)
(Caret method)
(DocumentLabel method)
(UnformattedDocument method)
set_texture() (Group method)
set_timer() (PlatformEventLoop method)
set_uniform_blocks() (ShaderProgram method)
set_uniform_buffer() (Group method)
set_viewport() (Group method)
set_visible() (Window method)
Shader (class in pyglet.graphics.shader)
shader() (in module pyglet.resource)
shader_bind_management (Options attribute)
ShaderException
ShaderGroup (class in pyglet.graphics.draw)
ShaderProgram (class in pyglet.graphics.shader)
ShaderSource (class in pyglet.graphics.shader)
ShapeBase (class in pyglet.shapes)
shear() (Mat3 method)
Silence (class in pyglet.media.synthesis)
silence_generator() (in module pyglet.media.synthesis)
Sine (class in pyglet.media.synthesis)
sine_generator() (in module pyglet.media.synthesis)
sine_operator() (in module pyglet.media.synthesis)
size (UniformBase attribute)
(UniformBlock attribute)
(Window attribute)
sizes (Allocator attribute)
skip_platform() (in module tests.annotations)
sleep() (Clock static method)
(EventLoop method)
Slider (class in pyglet.gui)
SolidColorImagePattern (class in pyglet.image)
source (AudioPlayer attribute)
Source (class in pyglet.media)
source (VideoPlayer attribute)
SourceInfo (class in pyglet.media.codecs)
Sphere (class in pyglet.model)
Sprite (class in pyglet.sprite)
SpriteGroup (class in pyglet.sprite)
Square (class in pyglet.media.synthesis)
SRC_ALPHA (BlendFactor attribute)
SRC_COLOR (BlendFactor attribute)
stages (PushConstants attribute)
(Sampler attribute)
(UniformBlockDesc attribute)
Star (class in pyglet.shapes)
start (VertexList attribute)
start() (PlatformEventLoop method)
start_angle (Arc attribute)
(Sector attribute)
starts (Allocator attribute)
states (Group attribute)
StaticMemorySource (class in pyglet.media.codecs)
StaticSource (class in pyglet.media)
STENCIL (FramebufferAttachment attribute)
STEP (AnimationInterpolation attribute)
step() (PlatformEventLoop method)
(Vec2 method)
stop() (PlatformEventLoop method)
Stream (class in pyglet.graphics.vertexdomain)
StreamingSource (class in pyglet.media)
streams (VertexArrayBinding attribute)
Stretch (class in pyglet.enums)
stride (AttributeView attribute)
strips (Allocator attribute)
Style (class in pyglet.enums)
style (Window attribute)
STYLE_INDETERMINATE (in module pyglet.text.document)
SUBTRACT (BlendOp attribute)
supported_shaders() (Shader class method)
supports_base_vertex (InstanceIndexedVertexList attribute)
switch_to() (Window method)
symbol_string() (in module pyglet.window.key)
SynthesisSource (class in pyglet.media.synthesis)