PrimitiveTopology()
To tell the RenderPass how to display the triangles.
Default TRIANGLE_LIST
Constructor
new PrimitiveTopology()
- Source:
- RenderPass.js, line 24
Example
renderPass.topology = PrimitiveTopology.POINT_LIST;
Members
LINE_LIST GPUPrimitiveTopology
- Source:
- RenderPass.js, line 28
LINE_STRIP GPUPrimitiveTopology
- Source:
- RenderPass.js, line 30
POINT_LIST GPUPrimitiveTopology
- Source:
- RenderPass.js, line 26
TRIANGLE_LIST GPUPrimitiveTopology
- Source:
- RenderPass.js, line 32
TRIANGLE_STRIP GPUPrimitiveTopology
- Source:
- RenderPass.js, line 34