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.
| Type | Kind | Summary |
|---|---|---|
AudioDownmix | class | Mixes interleaved audio of 3 to 8 channels down to stereo, for an audio API that plays two channels at most. |
BorrowedTexture | class | The base class of a texture that belongs to the host: JOID samples it and reads its size, and never allocates, writes or deletes it. |
BridgeHandler | class | The static registries through which the core of JOID reaches its bridges, one registry per kind of bridge. |
BridgeRegistry | class | An ordered set of bridges of one kind, kept sorted by priority, whose highest bridge answers get(). |
BufferedImageResourceResolver | class | The resolver that turns a BufferedImage into a resource; every resource of one image shares its decoded data. |
DirectThreadBridge | class | The thread bridge that JOID holds before any backend, for which every thread is the render thread. |
FrameBufferHandle | class | The base class of a framebuffer, which owns its color texture and deletes it with its own handle. |
FrameThreadBridge | class | The default thread bridge of a backend, for which the thread that creates it draws while other threads queue their tasks. |
IAudioBridge | interface | The bridge that creates the audio sources on which JOID plays the sound of videos. |
IAudioSource | interface | One stream of 16-bit samples that the video player fills ahead of the clock and plays. |
IBridge | interface | The marker interface of every bridge, the type that a BridgeRegistry holds. |
IClockBridge | interface | The bridge that gives JOID the time read by animations, tweens, media and drags. |
IFrameBuffer | interface | An offscreen target of the render bridge, with a color texture and a depth buffer. |
IRenderBridge | interface | The bridge that draws every pixel of JOID: it clears targets, draws triangles and lines, and creates textures, framebuffers and shaders. |
IResourceResolver | interface | Turns an input that is not a file, a URL or an asset, such as a texture of the host, into a resource. |
IShader | interface | A shader program of the render bridge, with its uniforms and samplers, bound through the render state. |
ISignalReplayBridge | interface | The bridge that maps the class, field and method names compiled in a reactive expression to the names that exist at run time. |
ITexture | interface | A texture of the render bridge, owned by JOID or borrowed from the host. |
IThreadBridge | interface | The bridge that tells JOID which thread draws and runs the work of other threads on it. |
ManualClockBridge | class | A clock that moves only when you set or advance it, so that every animation gives the same frame on every run. |
MipmapChain | class | The levels of a mipmapped texture, each half the size of the previous one down to 1 pixel. |
MipmapStep | interface | One copy of a mipmap chain, from a level to the next smaller one. |
RenderBridge | class | The 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. |
ResourceResolver | class | The registry of resource resolvers that Resource.of(...) asks for inputs it cannot read itself. |
SamplerBinding | class | A texture to bind on the unit of a sampler, with the filter and the wrap to sample it with. |
Shader | class | The 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. |
SystemClockBridge | class | The default clock, which returns the time of the JVM. |
Texture | class | The base class of a texture owned by JOID, which checks every call and leaves the storage, the upload and the mipmaps to its subclass. |
TextureFilter | enum | How a texture is sampled between its texels. |
TextureResourceResolver | class | The resolver that turns a texture of the render bridge, owned or borrowed, into a resource. |
TextureSampling | class | A filter, a wrap and a mipmap flag, one of the 12 shared samplings that a render bridge can cache. |
TextureWrap | enum | How a texture is sampled outside its edges. |
