allowsNextDrawableTimeout
TypeScriptget allowsNextDrawableTimeout(): Promise<boolean>Swift declarationvar allowsNextDrawableTimeout: BoolA Boolean value that determines whether requests for a new drawable expire if the system can’t satisfy them.
class · iOS 15.0+ · SDK 27.1
class DrawableQueueA drawable queue that may be used to update a texture resource dynamically Each drawable queue can work with at most one consumer, such as a ``RealityRenderer`` instance or a render server.
get allowsNextDrawableTimeout(): Promise<boolean>Swift declarationvar allowsNextDrawableTimeout: BoolA Boolean value that determines whether requests for a new drawable expire if the system can’t satisfy them.
setAllowsNextDrawableTimeout(value: boolean): Promise<void>Swift declarationvar allowsNextDrawableTimeout: BoolA Boolean value that determines whether requests for a new drawable expire if the system can’t satisfy them.
nextDrawable(): Promise<TextureResource_Drawable>Swift declarationfunc nextDrawable() throws -> TextureResource.DrawableReturns drawable when one is available, blocking the caller in the meantime. The method can block the caller for a duration up to the ``DrawableQueue-swift.class/Descriptor/timeout`` period. - Note: The method returns `nil` without blocking when the drawable queue isn't bound to a material in the scene, or when the render server is currently loading and initializing it.
get mipmapsMode(): Promise<TextureResource_MipmapsMode>Swift declarationvar mipmapsMode: TextureResource.MipmapsMode { get }Options that determine how mipmaps are handled for each drawable's textures.
get pixelFormat(): Promise<_Metal_MTLPixelFormat>Swift declarationvar pixelFormat: MTLPixelFormat { get }The size and bit layout of all pixels in each drawable's texture.
get usage(): Promise<_Metal_MTLTextureUsage>Swift declarationvar usage: MTLTextureUsage { get }Options that determine how you can use each drawable's textures.
get width(): Promise<number>Swift declarationvar width: Int { get }The width of each drawable's texture in pixels.
get height(): Promise<number>Swift declarationvar height: Int { get }The height of each drawable's texture in pixels.
static init(descriptor: TextureResource_DrawableQueue_Descriptor): Promise<TextureResource_DrawableQueue>Swift declaration@MainActor @preconcurrency init(_ descriptor: TextureResource.DrawableQueue.Descriptor) throwsCreate a new drawable queue. - Parameter descriptor: A descriptor object that describes the texture to be created.
No declarations were skipped in this snapshot.