Module ffi

Source
Expand description

Low-level Playdate C-API.

SDK version: 2.6.2

Original official docs: latest, current.

Structs§

AudioSample
BitCrusher
CStr
Preferred CStr to use. Representation of a borrowed C string.
CString
Preferred CString to use. A type representing an owned, C-compatible, nul-terminated string with no nul bytes in the middle.
CollisionPoint
CollisionVector
ControlSignal
DelayLine
DelayLineTap
FileOptions
FilePlayer
FileStat
LCDBitmap
LCDBitmapTable
LCDFont
LCDFontData
LCDFontGlyph
LCDFontPage
LCDRect
LCDSprite
LCDVideoPlayer
LuaUDObject
OnePoleFilter
Overdrive
PDBoard
PDBoardsList
PDButtons
PDDateTime
PDMenuItem
PDRect
PDScore
PDScoresList
PDSynth
PDSynthEnvelope
PDSynthInstrument
PDSynthLFO
PDSynthSignal
PDSynthSignalValue
PlaydateAPI
RingModulator
SamplePlayer
SequenceTrack
SoundChannel
SoundEffect
SoundSequence
SoundSource
SpriteCollisionInfo
SpriteQueryInfo
TwoPoleFilter
Utf8Error
Errors which can occur when attempting to interpret a sequence of [u8] as a string.
__BindgenBitfieldUnit
__va_list_tag
json_decoder
json_encoder
json_reader
json_value
lua_reg
lua_val
playdate_control_signal
playdate_display
playdate_file
playdate_graphics
playdate_json
playdate_lua
playdate_scoreboards
playdate_sound
playdate_sound_channel
playdate_sound_effect
playdate_sound_effect_bitcrusher
playdate_sound_effect_delayline
playdate_sound_effect_onepolefilter
playdate_sound_effect_overdrive
playdate_sound_effect_ringmodulator
playdate_sound_effect_twopolefilter
playdate_sound_envelope
playdate_sound_fileplayer
playdate_sound_instrument
playdate_sound_lfo
playdate_sound_sample
playdate_sound_sampleplayer
playdate_sound_sequence
playdate_sound_signal
playdate_sound_source
playdate_sound_synth
playdate_sound_track
playdate_sprite
playdate_sys
playdate_video

Enums§

LCDBitmapDrawMode
LCDBitmapFlip
LCDLineCapStyle
LCDPolygonFillRule
LCDSolidColor
LFOType
LuaType
MicSource
PDLanguage
PDPeripherals
PDStringEncoding
PDSystemEvent
PDTextAlignment
PDTextWrappingMode
SoundFormat
SoundWaveform
SpriteCollisionResponseType
TwoPoleFilterType
json_value_type
l_valtype

Constants§

AUDIO_FRAMES_PER_CYCLE
LCD_COLUMNS
LCD_ROWS
LCD_ROWSIZE
NOTE_C4
SEEK_CUR
SEEK_END
SEEK_SET

Type Aliases§

AddScoreCallback
AudioSourceFunction
BoardsListCallback
LCDColor
LCDPattern
LCDSpriteCollisionFilterProc
LCDSpriteDrawFunction
LCDSpriteUpdateFunction
MIDINote
PDButtonCallbackFunction
PDCallbackFunction
PDMenuItemCallbackFunction
PersonalBestCallback
RecordCallback
SDFile
ScoresCallback
SequenceFinishedCallback
__builtin_va_list
effectProc
json_readFunc
json_writeFunc
lua_CFunction
lua_State
signalDeallocFunc
signalNoteOffFunc
signalNoteOnFunc
signalStepFunc
sndCallbackProc
synthCopyUserdata
synthDeallocFunc
synthNoteOnFunc
synthReleaseFunc
synthRenderFunc
synthSetParameterFunc
va_list

Unions§

json_value__bindgen_ty_1
lua_val__bindgen_ty_1