One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

RealityRenderer.CameraOutput.Descriptor

struct · iOS 18.0+ · SDK 27.1

struct Descriptor

Describes the output of rendering with a camera.

Members (5)

get · iOS 18.0+

colorTextures

TypeScript
get colorTextures(): Array<SDKHandle>
Swift declaration
var colorTextures: [any MTLTexture]

Textures to store color output.

set · iOS 18.0+

colorTextures

TypeScript
set colorTextures(value: Array<SDKHandle>)
Swift declaration
var colorTextures: [any MTLTexture]

Textures to store color output.

static · iOS 18.0+

singleProjection

TypeScript
static singleProjection(colorTexture: SDKHandle): RealityRenderer_CameraOutput_Descriptor
Swift declaration
static func singleProjection(colorTexture: any MTLTexture) -> RealityRenderer.CameraOutput.Descriptor

Creates a descriptor for single projection output.

get · iOS 18.0+

viewports

TypeScript
get viewports(): Array<RealityRenderer_CameraOutput_RelativeViewport>
Swift declaration
var viewports: [RealityRenderer.CameraOutput.RelativeViewport]

Viewports to use for rendering with a camera.

set · iOS 18.0+

viewports

TypeScript
set viewports(value: Array<RealityRenderer_CameraOutput_RelativeViewport>)
Swift declaration
var viewports: [RealityRenderer.CameraOutput.RelativeViewport]

Viewports to use for rendering with a camera.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →