MCPcopy Index your code
hub / github.com/EngoEngine/engo / ImageObject

Struct ImageObject

common/render_filetype.go:143–145  ·  view source on GitHub ↗

ImageObject is a pure Go implementation of a `Drawable`

Source from the content-addressed store, hash-verified

141
142// ImageObject is a pure Go implementation of a `Drawable`
143type ImageObject struct {
144 data *image.NRGBA
145}
146
147// NewImageObject creates a new ImageObject given the image.NRGBA reference
148func NewImageObject(img *image.NRGBA) *ImageObject {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected