ebiten: github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal Index | Files | Directories

package metal

import "github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal"


Package Files

driver.go view.go view_macos.go

type Driver Uses

type Driver struct {
    // contains filtered or unexported fields

func Get Uses

func Get() *Driver

func (*Driver) Begin Uses

func (d *Driver) Begin()

func (*Driver) Draw Uses

func (d *Driver) Draw(indexLen int, indexOffset int, mode driver.CompositeMode, colorM *affine.ColorM, filter driver.Filter, address driver.Address) error

func (*Driver) End Uses

func (d *Driver) End()

func (*Driver) HasHighPrecisionFloat Uses

func (d *Driver) HasHighPrecisionFloat() bool

func (*Driver) IsGL Uses

func (d *Driver) IsGL() bool

func (*Driver) MaxImageSize Uses

func (d *Driver) MaxImageSize() int

func (*Driver) NeedsRestoring Uses

func (d *Driver) NeedsRestoring() bool

func (*Driver) NewImage Uses

func (d *Driver) NewImage(width, height int) (driver.Image, error)

func (*Driver) NewScreenFramebufferImage Uses

func (d *Driver) NewScreenFramebufferImage(width, height int) (driver.Image, error)

func (*Driver) Reset Uses

func (d *Driver) Reset() error

func (*Driver) ResetSource Uses

func (d *Driver) ResetSource()

func (*Driver) SetThread Uses

func (d *Driver) SetThread(thread *thread.Thread)

func (*Driver) SetTransparent Uses

func (d *Driver) SetTransparent(transparent bool)

func (*Driver) SetUIView Uses

func (d *Driver) SetUIView(uiview uintptr)

func (*Driver) SetVertices Uses

func (d *Driver) SetVertices(vertices []float32, indices []uint16)

func (*Driver) SetVsyncEnabled Uses

func (d *Driver) SetVsyncEnabled(enabled bool)

func (*Driver) SetWindow Uses

func (d *Driver) SetWindow(window unsafe.Pointer)

func (*Driver) VDirection Uses

func (d *Driver) VDirection() driver.VDirection

type Image Uses

type Image struct {
    // contains filtered or unexported fields

func (*Image) Dispose Uses

func (i *Image) Dispose()

func (*Image) IsInvalidated Uses

func (i *Image) IsInvalidated() bool

func (*Image) Pixels Uses

func (i *Image) Pixels() ([]byte, error)

func (*Image) ReplacePixels Uses

func (i *Image) ReplacePixels(args []*driver.ReplacePixelsArgs)

func (*Image) SetAsDestination Uses

func (i *Image) SetAsDestination()

func (*Image) SetAsSource Uses

func (i *Image) SetAsSource()


caPackage ca provides access to Apple's Core Animation API (https://developer.apple.com/documentation/quartzcore).
mtlPackage mtl provides access to Apple's Metal API (https://developer.apple.com/documentation/metal).
nsPackage ns provides access to Apple's AppKit API (https://developer.apple.com/documentation/appkit).

Package metal imports 12 packages (graph). Updated 2019-12-15 with GOOS=darwin. Refresh now. Tools for package owners.