Skip to content

Bridges

The registries of bridges and the bridge contracts of the render, audio, clock, thread and signal replay services, with the textures, framebuffers, shaders and resource resolvers of the render bridge. Learn: The bridges, Render bridge, Resource resolvers.

TypeKindSummary
AudioDownmixclassMixes interleaved audio of 3 to 8 channels down to stereo, for an audio API that plays two channels at most.
BorrowedTextureclassThe base class of a texture that belongs to the host: JOID samples it and reads its size, and never allocates, writes or deletes it.
BridgeHandlerclassThe static registries through which the core of JOID reaches its bridges, one registry per kind of bridge.
BridgeRegistryclassAn ordered set of bridges of one kind, kept sorted by priority, whose highest bridge answers get().
BufferedImageResourceResolverclassThe resolver that turns a BufferedImage into a resource; every resource of one image shares its decoded data.
DirectThreadBridgeclassThe thread bridge that JOID holds before any backend, for which every thread is the render thread.
FrameBufferHandleclassThe base class of a framebuffer, which owns its color texture and deletes it with its own handle.
FrameThreadBridgeclassThe default thread bridge of a backend, for which the thread that creates it draws while other threads queue their tasks.
IAudioBridgeinterfaceThe bridge that creates the audio sources on which JOID plays the sound of videos.
IAudioSourceinterfaceOne stream of 16-bit samples that the video player fills ahead of the clock and plays.
IBridgeinterfaceThe marker interface of every bridge, the type that a BridgeRegistry holds.
IClockBridgeinterfaceThe bridge that gives JOID the time read by animations, tweens, media and drags.
IFrameBufferinterfaceAn offscreen target of the render bridge, with a color texture and a depth buffer.
IRenderBridgeinterfaceThe bridge that draws every pixel of JOID: it clears targets, draws triangles and lines, and creates textures, framebuffers and shaders.
IResourceResolverinterfaceTurns an input that is not a file, a URL or an asset, such as a texture of the host, into a resource.
IShaderinterfaceA shader program of the render bridge, with its uniforms and samplers, bound through the render state.
ISignalReplayBridgeinterfaceThe bridge that maps the class, field and method names compiled in a reactive expression to the names that exist at run time.
ITextureinterfaceA texture of the render bridge, owned by JOID or borrowed from the host.
IThreadBridgeinterfaceThe bridge that tells JOID which thread draws and runs the work of other threads on it.
ManualClockBridgeclassA clock that moves only when you set or advance it, so that every animation gives the same frame on every run.
MipmapChainclassThe levels of a mipmapped texture, each half the size of the previous one down to 1 pixel.
MipmapStepinterfaceOne copy of a mipmap chain, from a level to the next smaller one.
RenderBridgeclassThe base class of a render bridge, which keeps the matrices, the render state and the frame in Java and leaves the GPU calls to its subclass.
ResourceResolverclassThe registry of resource resolvers that Resource.of(...) asks for inputs it cannot read itself.
SamplerBindingclassA texture to bind on the unit of a sampler, with the filter and the wrap to sample it with.
ShaderclassThe base class of a shader of a render bridge, which translates the two stages, lays out the uniforms and compiles the program at the first use.
SystemClockBridgeclassThe default clock, which returns the time of the JVM.
TextureclassThe base class of a texture owned by JOID, which checks every call and leaves the storage, the upload and the mipmaps to its subclass.
TextureFilterenumHow a texture is sampled between its texels.
TextureResourceResolverclassThe resolver that turns a texture of the render bridge, owned or borrowed, into a resource.
TextureSamplingclassA filter, a wrap and a mipmap flag, one of the 12 shared samplings that a render bridge can cache.
TextureWrapenumHow a texture is sampled outside its edges.

Report a problem with this page