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 – S
safe_alloc() (VertexDomain method)
safe_index_alloc() (IndexedVertexDomain method)
safe_index_realloc() (IndexedVertexDomain method)
safe_realloc() (VertexDomain method)
sample_buffers (OpenGLUserConfig attribute)
Sampler (class in pyglet.graphics.shader)
samples (OpenGLUserConfig attribute)
save() (Source method)
Sawtooth (class in pyglet.media.synthesis)
sawtooth_generator() (in module pyglet.media.synthesis)
SCALE (AnimationChannelTargetPath attribute)
scale (ModelInstance property)
(Sprite property)
(Window attribute)
scale() (Mat3 method)
(Mat4 method)
scale_x (Sprite property)
scale_y (Sprite property)
scaling (MouseCursor attribute)
scene() (in module pyglet.resource)
(Loader method)
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 (BatchDrawOptions attribute)
(DrawPass attribute)
scissor_area (IncrementalTextDecorationGroup attribute)
(IncrementalTextLayoutGroup attribute)
(ScrollableTextDecorationGroup attribute)
(ScrollableTextLayoutGroup attribute)
scissor_stack (DrawContext 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_binding() (UniformBlock method)
set_blend() (Group method)
set_bytes() (AbstractBuffer method)
(BackedBufferObject method)
(BufferDataStore method)
(CTypeDataStore method)
(ImageData method)
(ImageDataRegion method)
set_bytes_region() (AbstractBuffer method)
(BackedBufferObject method)
set_camera() (Group method)
set_capacity() (Allocator method)
set_caption() (Window method)
set_clipboard_text() (Window method)
set_data() (AbstractBuffer method)
(BackedBufferObject method)
set_data_ptr() (AbstractBuffer method)
(BackedBufferObject method)
set_data_region() (AbstractBuffer method)
(BackedBufferObject 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_frame_index() (MultiTextureSprite method)
set_fullscreen() (Window method)
set_handler() (EventDispatcher method)
set_handlers() (EventDispatcher method)
set_icon() (Window method)
set_instance_order() (InstanceIndexedVertexList method)
(InstanceVertexList method)
set_layer() (MultiTextureSprite 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() (BackedBufferObject method)
(BufferDataStore method)
(CTypeDataStore method)
(IndexStream method)
(Stream method)
(VertexStream 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() (Group 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_textures() (Group method)
set_timer() (PlatformEventLoop 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)
,
[1]
(Loader method)
shader_bind_management (Options attribute)
ShaderException
ShaderGroup (class in pyglet.graphics.draw)
ShaderProgram (class in pyglet.graphics.shader)
ShaderSource (class in pyglet.graphics.shader)
ShaderStorageBuffer (class in pyglet.graphics.buffer)
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 (AbstractBuffer attribute)
(BufferBindingSlice attribute)
(BufferDataStore attribute)
(BufferRange attribute)
(UniformBase attribute)
(UniformBlock attribute)
(UniformBufferObject property)
(Window attribute)
sizes (Allocator attribute)
skip_platform() (in module tests.annotations)
sleep() (Clock static method)
(EventLoop method)
slice_size (UniformBufferObject property)
slice_stride (UniformBufferObject property)
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 property)
StaticMemorySource (class in pyglet.media.codecs)
StaticSource (class in pyglet.media)
STENCIL (FramebufferAttachment attribute)
stencil (WebGLUserConfig attribute)
stencil_size (OpenGLUserConfig attribute)
STEP (AnimationInterpolation attribute)
step() (PlatformEventLoop method)
(Vec2 method)
stereo (OpenGLUserConfig attribute)
stop() (PlatformEventLoop method)
store (BackedBufferObject attribute)
Stream (class in pyglet.graphics.vertexdomain)
StreamingSource (class in pyglet.media)
streams (VertexArrayBinding attribute)
Stretch (class in pyglet.enums)
strict (RingBuffer attribute)
stride (AttributeView attribute)
(BackedBufferObject attribute)
(BufferDataStore attribute)
strips (Allocator attribute)
Style (class in pyglet.enums)
style (Window attribute)
STYLE_INDETERMINATE (in module pyglet.text.document)
styles (UnformattedDocument attribute)
SUBTRACT (BlendOp attribute)
supported_shaders() (Shader class method)
supports_base_vertex (InstanceIndexedVertexList attribute)
surface_ctx (DrawContext attribute)
SurfaceConfig (class in pyglet.config.base)
swap_instances() (InstanceIndexedVertexList method)
(InstanceVertexList method)
switch_to() (Window method)
symbol_string() (in module pyglet.window.key)
SynthesisSource (class in pyglet.media.synthesis)