PrimitiveTopology()
To tell the RenderPass how to display the triangles.
Default TRIANGLE_LIST
Constructor
new PrimitiveTopology()
- Source:
- RenderPass.js, line 23
Example
renderPass.topology = PrimitiveTopology.POINT_LIST;
Members
LINE_LIST GPUPrimitiveTopology
- Source:
- RenderPass.js, line 27
LINE_STRIP GPUPrimitiveTopology
- Source:
- RenderPass.js, line 29
POINT_LIST GPUPrimitiveTopology
- Source:
- RenderPass.js, line 25
TRIANGLE_LIST GPUPrimitiveTopology
- Source:
- RenderPass.js, line 31
TRIANGLE_STRIP GPUPrimitiveTopology
- Source:
- RenderPass.js, line 33