One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

TextureResource.Dimensions2D

struct · iOS 18.0+ · SDK 27.1

struct Dimensions2D

The dimensions of a 2D texture. This specifies the width and height of a 2D texture.

Members (1)

static · iOS 18.0+

dimensions

TypeScript
static dimensions(width: number, height: number): Promise<TextureResource_Dimensions2D>
Swift declaration
static func dimensions(width: Int, height: Int) -> TextureResource.Dimensions2D

Specifies the dimensions of the 2D texture. The content specifies the number of mipmap levels.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →