textures

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckerPattern

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

func NewCheckerColorPattern

func NewCheckerColorPattern(even, odd vector3.Float64) CheckerPattern

func NewCheckerPattern

func NewCheckerPattern(even, odd rendering.Texture) CheckerPattern

func NewCheckerPatternWithTilingRate

func NewCheckerPatternWithTilingRate(even, odd rendering.Texture, tilingRate float64) CheckerPattern

func (CheckerPattern) Value

type ImageTexture added in v0.4.0

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

func NewImage added in v0.4.0

func NewImage(c image.Image) ImageTexture

func (ImageTexture) Value added in v0.4.0

type SolidColorTexture

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

func NewSolidColorTexture

func NewSolidColorTexture(c vector3.Float64) SolidColorTexture

func (SolidColorTexture) Value

Jump to

Keyboard shortcuts

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