assets

package
v0.0.0-...-2bcbfa6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	// contains filtered or unexported fields
}

Cell models the loaded sheet and hold dimensions of glyphs.

func NewCell

func NewCell() *Cell

NewCell creates a new glyph sheet.

func (*Cell) Texture

func (g *Cell) Texture() rl.Texture2D

Texture returns the texture.

func (*Cell) TextureHeight

func (g *Cell) TextureHeight() int

TextureHeight returns the height of the Texture.

func (*Cell) TextureWidth

func (g *Cell) TextureWidth() int

TextureWidth returns the width of the Texture.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL