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