NewGraphicsSystem returns a new system initialized for this GPU, for graphics functionality, using Device from the Surface or RenderFrame depending on the target of rendering.
(name string, dev *Device)
| 460 | // for graphics functionality, using Device from the Surface or |
| 461 | // RenderFrame depending on the target of rendering. |
| 462 | func (gp *GPU) NewGraphicsSystem(name string, dev *Device) *System { |
| 463 | sy := &System{} |
| 464 | sy.InitGraphics(gp, name, dev) |
| 465 | return sy |
| 466 | } |
| 467 | |
| 468 | // PropertiesString returns a human-readable summary of the GPU properties. |
| 469 | func (gp *GPU) PropertiesString(print bool) string { |
no test coverage detected