Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ShapesShaderCode string
Functions ¶
This section is empty.
Types ¶
type Polygon ¶
type Polygon struct { *wgpu.SwapChainDescriptor *common.Transform // contains filtered or unexported fields }
func NewPolygon ¶
func (*Polygon) Dispose ¶
func (p *Polygon) Dispose()
Dispose releases any resources used by the Triangle.
func (*Polygon) IsDisposed ¶
func (*Polygon) RenderPass ¶
func (p *Polygon) RenderPass(encoder *wgpu.RenderPassEncoder)
Click to show internal directories.
Click to hide internal directories.