Difference between revisions of "Thread"

(Added newin template)
(Added type argument for Template:newin)
Line 1: Line 1:
{{newin|[[0.7.0]]}}
+
{{newin|[[0.7.0]]|type=type}}
 
A Thread is a chunk of code that can run in parallel with other threads.
 
A Thread is a chunk of code that can run in parallel with other threads.
 
== Constructors ==
 
== Constructors ==

Revision as of 17:50, 20 September 2010

Available since LÖVE 0.7.0
This type is not supported in earlier versions.

A Thread is a chunk of code that can run in parallel with other threads.

Constructors

love.thread.newThreadCreates a new Thread from a filename, string or FileData object containing Lua code.

Functions

BezierCurveA Bézier curve object that can evaluate and render Bézier curves of arbitrary degree.
BodyBodies are objects with velocity and position.
ByteDataData object containing arbitrary bytes in an contiguous memory.
CanvasOff-screen render target.
Canvas (Nederlands)Off-screen render target.
ChainShapeA ChainShape consists of multiple line segments.
ChannelAn object which can be used to send and receive data between different threads.
CircleShapeCircle extends Shape and adds a radius and a local position.
CompressedDataByte data compressed using a specific algorithm.
CompressedImageDataCompressed image data designed to stay compressed in RAM and on the GPU.
ContactContacts are objects created to manage collisions in worlds.
CursorRepresents a hardware cursor.
DataThe superclass of all data.
DecoderAn object which can gradually decode a sound file.
DistanceJointKeeps two bodies at the same distance.
DrawableSuperclass for all things that can be drawn on screen.
DroppedFileRepresents a file dropped from the window.
EdgeShapeEdgeShape is a line segment.
FileRepresents a file on the filesystem.
FileDataData representing the contents of a file.
FixtureFixtures attach shapes to bodies.
FontDefines the shape of characters than can be drawn onto the screen.
FontDataA FontData represents a font.
FramebufferOff-screen render target.
FrictionJointA FrictionJoint applies friction to a body.
GearJointKeeps bodies together in such a way that they act like gears.
GlyphDataA GlyphData represents a drawable symbol of a font.
GraphicsBufferLow-level data stored in graphics memory, including arrays of vertices, vertex indices, and custom collections of data accessible in Shaders.
ImageDrawable image type.
ImageDataRaw (decoded) image data.
JointAttach multiple bodies together to interact in unique ways.
JoystickRepresents a physical joystick.
MeshA 2D polygon mesh used for drawing arbitrary textured shapes.
MotorJointControls the relative motion between two Bodies
MouseJointFor controlling objects with the mouse.
Object:releaseImmediately destroys the object's Lua reference.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.
ParticleSystemUsed to create cool effects, like fire.
PixelEffectPixel shader effect.
PolygonShapePolygon is a convex polygon with up to 8 sides.
PrismaticJointRestricts relative motion between Bodies to one shared axis.
PulleyJointAllows you to simulate bodies connected through pulleys.
QuadA quadrilateral with texture coordinate information.
RandomGeneratorA random number generation object which has its own random state.
RasterizerA Rasterizer represents font data and glyphs.
RecordingDeviceRepresents an audio input device capable of recording sounds.
RevoluteJointAllow two Bodies to revolve around a shared point.
RopeJointEnforces a maximum distance between two points on two bodies.
ShaderShader effect.
... further results

See Also