Contents

makeBufferResource(descriptor:)

Creates a GPU-managed buffer resource from the given descriptor.

Declaration

func makeBufferResource(descriptor: LowLevelBufferResource.Descriptor) throws -> LowLevelBufferResource

Parameters

  • descriptor:

    The capacity and alignment requirements for the buffer.

Return Value

A newly created LowLevelBufferResource.

Discussion

See Also

Creating resources