Instance Property

commandQueue

The Metal command queue this renderer uses for rendering.

Required.

Declaration

@property(nonatomic, readonly) id<MTLCommandQueue> commandQueue;

Discussion

Use this property to schedule additional command buffers for the Metal device to execute as part of the render cycle. For example, you can use a compute command encoder to modify the vertex data in a Metal buffer for use by a SCNGeometrySource object.

See Also

Customizing Scene Rendering with Metal

currentRenderCommandEncoder

The Metal render command encoder in use for the current SceneKit rendering pass.

Required.

device

The Metal device this renderer uses for rendering.

Required.

colorPixelFormat

The Metal pixel format for the renderer’s color output.

Required.

depthPixelFormat

The Metal pixel format for the renderer’s depth buffer.

Required.

stencilPixelFormat

The Metal pixel format for the renderer’s stencil buffer.

Required.