Skip to content

VulkanImage

final class VulkanImage
Package: dev.joid.backend.vulkan.render.texture · Module: backend-vulkan · Source: VulkanImage.java
Backends: Vulkan

An image of the host described for JOID: its image and view handles, its size and its number of levels.

ReturnsSignatureSummary
VulkanImageof(long image, long view, int width, int height, int levels) factoryDescribes the image of those handles, of that size in pixels and with that number of mipmap levels.

ReturnsSignatureSummary
longgetImage()Returns the image handle.
longgetView()Returns the image view handle.
intgetWidth()Returns the width of the image, in pixels.
intgetHeight()Returns the height of the image, in pixels.
intgetLevels()Returns the number of mipmap levels, 1 without mipmaps.

VulkanImage of(long image, long view, int width, int height, int levels) factory

Describes the image of those handles, of that size in pixels and with that number of mipmap levels.

long getImage()

Returns the image handle.

long getView()

Returns the image view handle.

int getWidth()

Returns the width of the image, in pixels.

int getHeight()

Returns the height of the image, in pixels.

int getLevels()

Returns the number of mipmap levels, 1 without mipmaps.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page