Index

A B C D E F G H I K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values

A

action(int) - Static method in class org.inspirenxe.strata.vulkan.glfw.GlfwInput
Translates a key action.
advance(int, float) - Method in class org.inspirenxe.strata.vulkan.BitmapFont.Builder
Gives a character a fixed advance with nothing drawn, unless it already has a glyph or advance.
ascent() - Method in class org.inspirenxe.strata.vulkan.BitmapFont
 
ascent() - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Returns the distance from the top of a line to its baseline, from the regular face.
ascent() - Method in class org.inspirenxe.strata.vulkan.VulkanFont
Returns the distance from the top of a line to its baseline.
ascent(TextStyle) - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
 
attach(long, StrataVulkan) - Static method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Connects a view to a window at a zoom of 1 and installs the callbacks.
attach(long, StrataVulkan, float) - Static method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Connects a view to a window and installs the callbacks.

B

backdrop() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns the image frosted glass blurs.
base(ThemeId) - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
 
bases(ThemeId) - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
 
BitmapFont - Class in org.inspirenxe.strata.vulkan
A font of glyphs cut from images, for engines and looks whose fonts are bitmaps.
BitmapFont.Builder - Class in org.inspirenxe.strata.vulkan
Collects a font's sheets and advances.
bold(byte[]) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Sets the bold face from bytes.
bold(Path) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Sets the bold face from a file.
boldItalic(byte[]) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Sets the bold italic face from bytes.
boldItalic(Path) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Sets the bold italic face from a file.
bottom() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns the bottom edge.
bounds() - Method in class org.inspirenxe.strata.vulkan.VulkanFrame
Returns the smallest rectangle that holds the damage, for a render area.
build() - Method in class org.inspirenxe.strata.vulkan.BitmapFont.Builder
Builds the font.
build() - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Reads the fonts.
build() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Builds the platform.
builder(float) - Static method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Starts a family at a size.
builder(float, float) - Static method in class org.inspirenxe.strata.vulkan.BitmapFont
Starts a font.
builder(VulkanTextMetrics) - Static method in class org.inspirenxe.strata.vulkan.VulkanPlatform
Starts building a platform.
button(int) - Static method in class org.inspirenxe.strata.vulkan.glfw.GlfwInput
Translates a mouse button.

C

capabilities() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
charTyped(int) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Sends a typed character, as GLFW's character callback gives it.
classPath(ClassLoader, SpriteResolver) - Static method in interface org.inspirenxe.strata.vulkan.SpriteSource
Returns a source that reads image files from the class path, at the resource a resolver names.
clear() - Method in class org.inspirenxe.strata.vulkan.VulkanSprites
Forgets every loaded image, so each is loaded from the source again when next drawn.
clipboard() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
clipboard(Clipboard) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Sets the clipboard text boxes copy to and paste from.
clock() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
clock(Clock) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Sets the clock for click counting, caret blinking and key repeats.
close() - Method in class org.inspirenxe.strata.vulkan.BitmapFont
Marks the font closed, and closes the fallback when it is the default one the font found itself.
close() - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Frees the fonts' native memory.
close() - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Puts back the callbacks the window had before StrataGlfw.attach(long, StrataVulkan), destroys the cursors this made, and disconnects the view from the window.
close() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Closes every screen without asking them, and frees the view's buffers.
close() - Method in class org.inspirenxe.strata.vulkan.VulkanFont
Frees what the font holds outside the Java heap.
close() - Method in class org.inspirenxe.strata.vulkan.VulkanImage
Lets go of the descriptor set once every view has rendered the frames in flight since.
close() - Method in class org.inspirenxe.strata.vulkan.VulkanRenderer
Destroys every device resource.
collection(Path) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Reads every face of a font collection (.ttc) and uses each for the style its own flags name, unless that style was set another way.
colorFormat() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns the value of the colorFormat record component.
conventions() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
conventions(Conventions) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Sets how the application's own controls behave, so Strata's match them.
create(long, StrataVulkan, float) - Static method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Connects a view to a window without installing callbacks, for an application that forwards GLFW's events itself.
cursorEnter(boolean) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Sends the pointer entering or leaving the window, as GLFW's cursor enter callback gives it.
cursorPos(double, double) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Sends the pointer's position, as GLFW's cursor position callback gives it.

D

damage() - Method in class org.inspirenxe.strata.vulkan.VulkanFrame
Returns what changed since the view's last frame.
DEFAULT - Static variable in interface org.inspirenxe.strata.vulkan.SpriteResolver
The default layout: assets/<namespace>/sprites/<path>.png, the same as the Swing adapter's.
DEFAULT - Static variable in interface org.inspirenxe.strata.vulkan.ThemePathResolver
The default layout: assets/<namespace>/themes/<path>.json.
DEFAULT_SIZE - Static variable in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
The size VulkanTextMetrics.defaults() uses, in UI units, the same as the Swing adapter's default font.
defaults() - Static method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Returns metrics for the operating system's sans-serif and monospaced fonts at 9.0f units, as FreeTypeFont.system(float) and FreeTypeFont.systemMonospace(float) find them.
defaultSize() - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Returns the size text of size 0 measures and draws at: the ordinary font's own size.
defaultTheme() - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
 
densePath(String, float) - Static method in interface org.inspirenxe.strata.vulkan.SpriteSource
Returns the path of a denser image: @2x or @1.5x put before the file's extension, or after the name when it has none.
depthFormat() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns the value of the depthFormat record component.
documents(ThemeId) - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
 
drop(List) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Sends files dropped on the window, as GLFW's drop callback gives them, at the pointer's current position.
dynamic(int) - Static method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns a target for dynamic rendering with one color attachment and no depth or stencil attachment.
dynamic(int, int, int) - Static method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns a target for dynamic rendering whose pass also has depth or stencil attachments, which Strata leaves alone but its pipeline must name.

E

EMPTY - Static variable in record class org.inspirenxe.strata.vulkan.PixelRect
A rectangle with no area at the origin.
ENCODED - Enum constant in enum class org.inspirenxe.strata.vulkan.ImageEncoding
Samples are sRGB-encoded, as from a _UNORM format holding sRGB bytes, the usual way 8-bit images are stored.
encoding() - Method in class org.inspirenxe.strata.vulkan.VulkanImage
Returns what the shader reads when it samples the image, as the application named it when making the visual.
equals(Object) - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Indicates whether some other object is "equal to" this one.
every(long, Runnable) - Method in class org.inspirenxe.strata.vulkan.VulkanScheduler
 

F

fallback(byte[]) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Adds a fallback face from bytes.
fallback(Path, int) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Adds a fallback face, searched in the order added for characters the family's faces lack.
fallback(VulkanFont) - Method in class org.inspirenxe.strata.vulkan.BitmapFont.Builder
Sets the font for characters with no glyph.
font(TextStyle) - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Returns the font a style is measured and drawn with, at the font's own size.
forFormat(int) - Static method in enum class org.inspirenxe.strata.vulkan.ImageEncoding
Returns the encoding a view of the given format usually has.
framesInFlight() - Method in class org.inspirenxe.strata.vulkan.VulkanRenderer
Returns how many frames the application keeps in flight.
FreeTypeFont - Class in org.inspirenxe.strata.vulkan
A family of fonts at one size, read with FreeType: a regular face, optionally bold, italic and bold italic faces, and fallback faces for characters the family lacks.
FreeTypeFont.Builder - Class in org.inspirenxe.strata.vulkan
Builds a FreeTypeFont from font files or bytes.

G

get() - Method in class org.inspirenxe.strata.vulkan.glfw.GlfwClipboard
Reads the clipboard's text.
GlfwClipboard - Class in org.inspirenxe.strata.vulkan.glfw
The system clipboard through GLFW, which holds text only.
GlfwClipboard(long) - Constructor for class org.inspirenxe.strata.vulkan.glfw.GlfwClipboard
Creates the clipboard.
GlfwInput - Class in org.inspirenxe.strata.vulkan.glfw
Translates GLFW's key, button and modifier codes to Strata's.

H

has(int) - Method in class org.inspirenxe.strata.vulkan.BitmapFont
Returns whether the font has a glyph or a fixed advance for a character, so the fallback is not used for it.
has(SpriteId) - Method in class org.inspirenxe.strata.vulkan.VulkanSprites
Returns whether the source has an image for a sprite that can be decoded.
hashCode() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns a hash code value for this object.
hashCode() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns a hash code value for this object.
hasMonospace() - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Returns whether these metrics have a monospaced font, which the platform reports as Capabilities.monospaceFont().
height() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns the value of the height record component.
height() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns the height of the view's bounds.

I

image(long, float, float) - Method in class org.inspirenxe.strata.vulkan.VulkanRenderer
Makes a live visual of an image the application owns, which screens show with an Image control or a painter's visual call.
image(long, long, float, float) - Method in class org.inspirenxe.strata.vulkan.VulkanRenderer
Makes a live visual of an image the application owns, sampled with the application's sampler.
image(long, long, ImageEncoding, float, float) - Method in class org.inspirenxe.strata.vulkan.VulkanRenderer
Makes a live visual of an image the application owns, sampled with the application's sampler and converted from the given encoding to the space the target blends in.
image(long, ImageEncoding, float, float) - Method in class org.inspirenxe.strata.vulkan.VulkanRenderer
Makes a live visual of an image the application owns, sampled with linear filtering, clamped at the edges, and converted from the given encoding to the space the target blends in.
image(PixelBuffer) - Static method in class org.inspirenxe.strata.vulkan.VulkanVisuals
Makes a live visual of a pixel buffer at its pixel size, one UI unit per pixel.
image(PixelBuffer, float, float) - Static method in class org.inspirenxe.strata.vulkan.VulkanVisuals
Makes a live visual of a pixel buffer with a size of its own, for pixels meant to draw smaller or larger than one UI unit each.
ImageEncoding - Enum Class in org.inspirenxe.strata.vulkan
What the shader reads when it samples an image of the application's, so Strata can bring the colors into the space its target blends in: linear light when the target encodes to sRGB, sRGB-encoded values otherwise.
invalidate() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Makes the next StrataVulkan.prepare() damage the whole view, because the application's kept image no longer holds the last frame, such as after the swapchain or the image was made again.
isDefault() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns whether this view is the default, the one Strata.screens() opens screens on.
isDynamic() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns whether this target uses dynamic rendering rather than a render pass.
isEmpty() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns whether the rectangle covers no pixel.
isEmpty() - Method in class org.inspirenxe.strata.vulkan.VulkanFrame
Returns whether nothing changed, so the application can record and present nothing for this frame.
isSupported() - Static method in class org.inspirenxe.strata.vulkan.VulkanSnapshot
Returns whether this machine can take snapshots, making the adapter's device if it was not made yet.
isText(int) - Static method in class org.inspirenxe.strata.vulkan.glfw.GlfwInput
Returns whether a typed code point is text, not a control character, so it may go to InputSink.charTyped.
italic(byte[]) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Sets the italic face from bytes.
italic(Path) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Sets the italic face from a file.

K

key(int) - Static method in class org.inspirenxe.strata.vulkan.glfw.GlfwInput
Translates a key.
key(int, int, int, int) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Sends a key event, as GLFW's key callback gives it.

L

LINEAR - Enum constant in enum class org.inspirenxe.strata.vulkan.ImageEncoding
Samples are linear, as from a _SRGB format, which the device decodes as it samples, or from a floating-point format holding linear light, such as a scene before tone mapping.
lineHeight() - Method in class org.inspirenxe.strata.vulkan.BitmapFont
 
lineHeight() - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Returns the distance from one line's top to the next line's top, from the regular face: its line spacing, or its ascent plus descent when that is larger.
lineHeight() - Method in class org.inspirenxe.strata.vulkan.VulkanFont
Returns the distance from one line's top to the next line's top.
lineHeight(TextStyle) - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
 
load(Path, float) - Static method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Reads one font file as a family, with bold and italic made from it.
load(SpriteId) - Method in interface org.inspirenxe.strata.vulkan.SpriteSource
Loads a sprite's image file.
loadDense(SpriteId, float) - Method in interface org.inspirenxe.strata.vulkan.SpriteSource
Loads a sprite's image drawn for a denser display, with density image pixels for each pixel of the plain image, so it shows the same sprite at the same size in UI units, only sharper.

M

manageWindow(String) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Lets the view run the window's title and close button: the title follows the top screen's, and the close button asks the screens with ScreenStack.requestClose() and closes the window only when every screen agreed.
modifiers(int) - Static method in class org.inspirenxe.strata.vulkan.glfw.GlfwInput
Translates modifier bits.
mouseButton(int, int, int) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Sends a mouse button's press or release, as GLFW's mouse button callback gives it, at the pointer's current position.

N

nextDueNanos() - Method in class org.inspirenxe.strata.vulkan.VulkanScheduler
Returns when the next task is due, by the platform's clock.
nextFrameNanos() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns when the view next needs a frame without input: the earlier of the screens' nextFrameNanos() and the time the platform's VulkanScheduler next has a task due.

O

org.inspirenxe.strata.vulkan - package org.inspirenxe.strata.vulkan
The Vulkan adapter: Strata screens drawn into a Vulkan render pass the application records, on any device the application created through LWJGL.
org.inspirenxe.strata.vulkan.glfw - package org.inspirenxe.strata.vulkan.glfw
Connects Strata's Vulkan views to GLFW windows: input, size, display scale, cursors, title, close button and the clipboard.

P

PixelRect - Record Class in org.inspirenxe.strata.vulkan
A rectangle of whole framebuffer pixels, such as part of a VulkanFrame's damage.
PixelRect(int, int, int, int) - Constructor for record class org.inspirenxe.strata.vulkan.PixelRect
Checks the size.
platform(long, VulkanTextMetrics) - Static method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Starts a platform for a GLFW window: GLFW's clipboard, and key repeats from GLFW.
prepare() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Draws a frame of the screens and compares it with the view's last frame, for an application that keeps its image between frames.

R

record(VkCommandBuffer) - Method in class org.inspirenxe.strata.vulkan.VulkanFrame
Records the frame's draws that touch the damage, each held to the damage rectangles, into a command buffer recording inside a pass of the renderer's target, as StrataVulkan.render(VkCommandBuffer) does with all of them.
register(FontId, VulkanFont) - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Registers a family under an id, replacing any family registered under it before, so styles that name the id draw with it.
register(ThemeId, List) - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
Registers base files under an id, replacing any base theme or base files registered under it before, and reloads.
register(ThemeId, Theme) - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
Registers a theme built in code under an id, replacing any base theme or base files registered under it before, and reloads.
registered(FontId) - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Returns the family registered under an id.
regular(byte[]) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Sets the regular face from bytes, such as a font read from the class path.
regular(Path) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont.Builder
Sets the regular face from a file.
reload() - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
Drops the cached files and changes VulkanThemeSource.version(), so open hosts read the files again on their next layout or render.
render(Screen, Theme, int, int, float) - Static method in class org.inspirenxe.strata.vulkan.VulkanSnapshot
Opens a screen on a fresh screen stack, draws one frame, and closes it again.
render(Screen, Theme, int, int, float, Consumer) - Static method in class org.inspirenxe.strata.vulkan.VulkanSnapshot
Opens a screen on a fresh screen stack, feeds it input, draws one frame, and closes it again.
render(VulkanPlatform, Screen, Theme, int, int, float, VulkanSprites, Consumer) - Static method in class org.inspirenxe.strata.vulkan.VulkanSnapshot
Opens a screen on a fresh screen stack of a given platform, feeds it input, draws one frame with the given sprites, and closes it again.
render(VulkanPlatform, Screen, ThemeRef, int, int, float, VulkanSprites, Consumer) - Static method in class org.inspirenxe.strata.vulkan.VulkanSnapshot
Opens a screen on a fresh screen stack whose theme is resolved from the platform's theme source, feeds it input, draws one frame, and closes it again, so a snapshot shows what theme files make of a theme.
render(VkCommandBuffer) - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Draws a frame of the screens into a command buffer.
renderPass() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns the value of the renderPass record component.
renderPass(long, int, boolean) - Static method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns a target for a subpass of a render pass.
resolve(ThemeRef) - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
Resolves a ref against this source once, with the themes and overrides added in code, as a host does when it opens.
resourcePath(SpriteId) - Method in interface org.inspirenxe.strata.vulkan.SpriteResolver
Returns the resource path of a sprite's image.
resourcePath(ThemeId) - Method in interface org.inspirenxe.strata.vulkan.ThemePathResolver
Returns the resource path of a theme's files.
right() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns the right edge.
runDue() - Method in class org.inspirenxe.strata.vulkan.VulkanScheduler
Runs every task whose time has come, once each.

S

samples() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns the value of the samples record component.
scale() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns the number of framebuffer pixels per UI unit.
scheduler() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
scheduler(Scheduler) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Sets what runs the repeating tasks screens ask for, for an application with a scheduler of its own, such as its game loop's.
screens() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns the screens this view shows, which is also its ScreenController and the InputSink to send input to.
scroll(double, double) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Sends wheel or trackpad scrolling, as GLFW's scroll callback gives it, at the pointer's current position.
sendsKeyRepeat(boolean) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Says whether the application's input delivers key repeats itself, as Capabilities.sendsKeyRepeat() describes.
set(String) - Method in class org.inspirenxe.strata.vulkan.glfw.GlfwClipboard
Puts text on the clipboard.
setBackdrop(VulkanImage) - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Gives the view the image that frosted glass blurs: what the application drew behind the screens, such as its scene rendered to an image.
setBounds(int, int, int, int) - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Sets the rectangle of the framebuffer the view fills, such as the whole framebuffer after it was resized.
setDefault() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Marks this view as the default, so that Strata.screens() returns its StrataVulkan.screens() and screens opened through it show here.
setDefaultTheme(ThemeId) - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
Sets the platform's default theme for every view whose platform reads this source, and reloads, so open screens in the default theme change to it on their next layout or render.
setScale(float) - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Changes the number of framebuffer pixels per UI unit, such as when the user zooms or the window moves to a display with another scale.
setSprites(VulkanSprites) - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Changes where sprite images come from, starting with the next frame.
setWindow(VulkanWindow) - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Gives the view the window it sits in, for its cursor and title.
setZoom(float) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Changes the zoom, and with it the view's scale.
sheet(byte[], float, float, List) - Method in class org.inspirenxe.strata.vulkan.BitmapFont.Builder
Adds a sheet of glyphs from an image file, decoded with stb_image, which reads PNG, JPEG, BMP, TGA and GIF.
sheet(PixelBuffer, float, float, List) - Method in class org.inspirenxe.strata.vulkan.BitmapFont.Builder
Adds a sheet of glyphs.
showCursor(CursorKind) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
 
showCursor(CursorKind) - Method in interface org.inspirenxe.strata.vulkan.VulkanWindow
Shows a cursor over the view, after every frame: the one the frame asked for, or CursorKind.ARROW when it asked for none, such as while the pointer is outside every component.
showsCursor(CursorKind) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
 
showsCursor(CursorKind) - Method in interface org.inspirenxe.strata.vulkan.VulkanWindow
Returns whether the window can show a cursor kind.
showTitle(String) - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
 
showTitle(String) - Method in interface org.inspirenxe.strata.vulkan.VulkanWindow
Shows the title of the view's top screen, translated, whenever it changes.
size() - Method in class org.inspirenxe.strata.vulkan.BitmapFont
Returns the line height, which a bitmap font takes as its size: text of twice the line height draws every glyph twice as large.
size() - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Returns the size.
size() - Method in class org.inspirenxe.strata.vulkan.VulkanFont
Returns the size the font measures and draws at, in UI units: the height of its em square, as a point size is.
size() - Method in class org.inspirenxe.strata.vulkan.VulkanImage
 
size(SpriteId) - Method in class org.inspirenxe.strata.vulkan.VulkanSprites
Returns a sprite's size in UI units: its plain image's width and height in pixels, one pixel to a unit.
SpriteResolver - Interface in org.inspirenxe.strata.vulkan
Maps a sprite id to the class path resource that holds its image, for SpriteSource.classPath(ClassLoader, SpriteResolver).
SpriteSource - Interface in org.inspirenxe.strata.vulkan
Loads the image file for a sprite id, from wherever the images live: the class path, a folder, a zip file, or images made in code.
srgb() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns the value of the srgb record component.
stencilFormat() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns the value of the stencilFormat record component.
StrataGlfw - Class in org.inspirenxe.strata.vulkan.glfw
Connects a StrataVulkan view to a GLFW window: input, size, display scale, cursor, title and close button.
StrataVulkan - Class in org.inspirenxe.strata.vulkan
A stack of Strata screens drawn with Vulkan into a pass the application records.
StrataVulkan(VulkanPlatform, VulkanRenderer, Theme, float) - Constructor for class org.inspirenxe.strata.vulkan.StrataVulkan
Creates a view with an empty screen stack.
StrataVulkan(VulkanPlatform, VulkanRenderer, Theme, float, VulkanSprites) - Constructor for class org.inspirenxe.strata.vulkan.StrataVulkan
Creates a view with an empty screen stack.
subpass() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns the value of the subpass record component.
system(float) - Static method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Finds the operating system's sans-serif family: Segoe UI on Windows, Arial on macOS, and DejaVu Sans, Noto Sans or Liberation Sans on Linux, with the system's symbol and CJK fonts as fallbacks where they are found.
systemMonospace(float) - Static method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Finds the operating system's monospaced family: Consolas on Windows, Menlo on macOS, and DejaVu Sans Mono, Noto Sans Mono or Liberation Mono on Linux.

T

target() - Method in class org.inspirenxe.strata.vulkan.VulkanRenderer
Returns what this renderer's pipeline draws into.
textInput() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
textInput(TextInputSink) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Sets where hosts announce that a text field gained or lost focus, for a windowing library that opens an input method or an on-screen keyboard.
textMetrics() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
ThemePathResolver - Interface in org.inspirenxe.strata.vulkan
Turns a theme id into the class path resource that holds its theme files, for VulkanThemeSource.
themes() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
themes(ThemeSource) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Sets where themes named by id come from.
toString() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns a string representation of this record class.
toString() - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns a string representation of this record class.

U

uiExecutor() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
uiExecutor(Executor) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Sets the executor for the render thread, the thread that renders the views and sends them input, for work handed to the UI thread while nothing renders.
uiThreadCheck() - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform
 
uiThreadCheck(BooleanSupplier) - Method in class org.inspirenxe.strata.vulkan.VulkanPlatform.Builder
Sets the test that answers whether the calling thread is the render thread.
union(PixelRect) - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns the smallest rectangle that holds this one and another.
unitX(double) - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Converts a horizontal position in framebuffer pixels to UI units in the view, for input.
unitY(double) - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Converts a vertical position in framebuffer pixels to UI units in the view, for input.
unregister(FontId) - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Removes the family registered under an id, so styles that name it draw with the default font again.
updateSize() - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Reads the window's framebuffer size and content scale again and gives them to the view.
use(ResourceBundle) - Static method in class org.inspirenxe.strata.vulkan.VulkanTranslations
Translates with a resource bundle.
use(Translator) - Static method in class org.inspirenxe.strata.vulkan.VulkanTranslations
Translates with any translator, such as one that reads a different file format.

V

valueOf(String) - Static method in enum class org.inspirenxe.strata.vulkan.ImageEncoding
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.inspirenxe.strata.vulkan.ImageEncoding
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Method in class org.inspirenxe.strata.vulkan.VulkanSprites
Returns a number that changes on every VulkanSprites.clear(), so a renderer knows when its textures are stale.
version() - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
 
version() - Method in class org.inspirenxe.strata.vulkan.VulkanThemeSource
 
VulkanFont - Class in org.inspirenxe.strata.vulkan
A font the Vulkan canvas measures and draws text with: a FreeTypeFont, read from font files, or a BitmapFont, cut from images.
VulkanFrame - Class in org.inspirenxe.strata.vulkan
A frame StrataVulkan.prepare() drew and compared with the view's last one, for an application that keeps its image between frames and redraws only what changed.
VulkanImage - Class in org.inspirenxe.strata.vulkan
A visual that shows an image the application owns, made by VulkanRenderer.image(long, float, float).
VulkanPlatform - Class in org.inspirenxe.strata.vulkan
The platform for applications that draw with Vulkan.
VulkanPlatform(VulkanTextMetrics) - Constructor for class org.inspirenxe.strata.vulkan.VulkanPlatform
Creates the platform with every default.
VulkanPlatform.Builder - Class in org.inspirenxe.strata.vulkan
Builds a VulkanPlatform.
VulkanRenderer - Class in org.inspirenxe.strata.vulkan
The device resources Strata draws with on one Vulkan device: its pipeline for a VulkanTarget, the glyph atlas, sprite and pixel buffer textures, samplers and descriptor pools.
VulkanRenderer(VkDevice, VkQueue, int, VulkanTarget, int) - Constructor for class org.inspirenxe.strata.vulkan.VulkanRenderer
Creates the renderer and its pipeline.
VulkanScheduler - Class in org.inspirenxe.strata.vulkan
The scheduler a VulkanPlatform has unless its builder is given the application's own.
VulkanScheduler(Clock) - Constructor for class org.inspirenxe.strata.vulkan.VulkanScheduler
Creates a scheduler that reads a clock.
VulkanSnapshot - Class in org.inspirenxe.strata.vulkan
Renders one frame of a screen to pixels with Vulkan, on a device of the adapter's own with no window, as SwingSnapshot does with Java2D.
VulkanSprites - Class in org.inspirenxe.strata.vulkan
Loads sprites for the Vulkan canvas from a SpriteSource: by default the class path, at the resource a SpriteResolver names (SpriteResolver.DEFAULT unless one is given).
VulkanSprites(ClassLoader) - Constructor for class org.inspirenxe.strata.vulkan.VulkanSprites
Creates a loader that reads the class path with SpriteResolver.DEFAULT.
VulkanSprites(ClassLoader, SpriteResolver) - Constructor for class org.inspirenxe.strata.vulkan.VulkanSprites
Creates a loader that reads the class path.
VulkanSprites(SpriteSource) - Constructor for class org.inspirenxe.strata.vulkan.VulkanSprites
Creates a loader that reads from any source.
VulkanTarget - Record Class in org.inspirenxe.strata.vulkan
What Strata draws into: the attachments of the render pass, or of the dynamic rendering, that the application has begun when it calls StrataVulkan.render(VkCommandBuffer).
VulkanTarget(int, int, int, long, int, int, boolean) - Constructor for record class org.inspirenxe.strata.vulkan.VulkanTarget
Checks the arguments.
VulkanTextMetrics - Class in org.inspirenxe.strata.vulkan
Measures text the way the Vulkan canvas draws it, with a VulkanFont for ordinary text, another for monospaced text, and the families the application registers under a FontId.
VulkanTextMetrics(VulkanFont) - Constructor for class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Creates metrics with one font for every style; monospaced spans use it too.
VulkanTextMetrics(VulkanFont, VulkanFont) - Constructor for class org.inspirenxe.strata.vulkan.VulkanTextMetrics
Creates metrics with a font for monospaced spans.
VulkanThemeSource - Class in org.inspirenxe.strata.vulkan
Finds theme files on the class path at assets/<namespace>/themes/<path>.json, next to where SpriteResolver.DEFAULT looks for sprites, or wherever a ThemePathResolver says.
VulkanThemeSource(ClassLoader) - Constructor for class org.inspirenxe.strata.vulkan.VulkanThemeSource
Creates a source.
VulkanThemeSource(ClassLoader, ThemePathResolver) - Constructor for class org.inspirenxe.strata.vulkan.VulkanThemeSource
Creates a source that finds theme files where a resolver says.
VulkanTranslations - Class in org.inspirenxe.strata.vulkan
Sets where translated text comes from in an application that draws with Vulkan.
VulkanVisuals - Class in org.inspirenxe.strata.vulkan
Makes visuals of pixels held on the host, as the Swing adapter's SwingVisuals does for images.
VulkanWindow - Interface in org.inspirenxe.strata.vulkan
The window a StrataVulkan view sits in, as far as Strata needs it: the mouse cursor and the title.

W

What the application provides - Section in class org.inspirenxe.strata.vulkan.VulkanRenderer
 
width() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns the value of the width record component.
width() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns the width of the view's bounds.
width(TextSpan) - Method in class org.inspirenxe.strata.vulkan.BitmapFont
 
width(TextSpan) - Method in class org.inspirenxe.strata.vulkan.FreeTypeFont
Measures a span: the sum of its glyphs' advances, plus the kerning between neighbors from the same face, at the font's size.
width(TextSpan) - Method in class org.inspirenxe.strata.vulkan.VulkanFont
Measures how wide a span draws at the font's own size.
width(TextSpan) - Method in class org.inspirenxe.strata.vulkan.VulkanTextMetrics
 
withSamples(int) - Method in record class org.inspirenxe.strata.vulkan.VulkanTarget
Returns this target with another sample count, for multisampled attachments.

X

x() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns the value of the x record component.
x() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns the left edge of the view's bounds.

Y

y() - Method in record class org.inspirenxe.strata.vulkan.PixelRect
Returns the value of the y record component.
y() - Method in class org.inspirenxe.strata.vulkan.StrataVulkan
Returns the top edge of the view's bounds.

Z

zoom() - Method in class org.inspirenxe.strata.vulkan.glfw.StrataGlfw
Returns the zoom.
A B C D E F G H I K L M N O P R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values