vertexBufferView

expect abstract fun vertexBufferView(elementName: String? = null): VertexBuffer(source)

Creates a vertex buffer view for a specific element within the shader storage buffer.

This method allows you to extract a view of the underlying GPU memory as a vertex buffer formatted according to the vertex format associated with the given element name.

Return

A VertexBuffer representing the specified element or the entire buffer if no element name is provided.

Parameters

elementName

The name of the element in the shader storage buffer to view as a vertex buffer. If null, the view is created for the entire buffer.

actual abstract fun vertexBufferView(elementName: String?): VertexBuffer(source)
actual abstract fun vertexBufferView(elementName: String?): VertexBuffer(source)