Documentation ¶
Index ¶
- type MapData
- type TextureGenerator
- func (textureGenerator *TextureGenerator) GenerateBiomeMapTexture() *image.RGBA
- func (textureGenerator *TextureGenerator) GenerateBumpMapTexture() *image.RGBA
- func (textureGenerator *TextureGenerator) GenerateCloudMapTexture() *image.RGBA
- func (textureGenerator *TextureGenerator) GenerateHeatMapTexture() *image.RGBA
- func (textureGenerator *TextureGenerator) GenerateHeightMapTexture() *image.RGBA
- func (textureGenerator *TextureGenerator) GenerateMoistureMapTexture() *image.RGBA
- func (textureGenerator *TextureGenerator) GenerateNormalMapTexture(strength float64) *image.RGBA
- func (textureGenerator *TextureGenerator) GenerateSpecularMapTexture() *image.RGBA
- func (textureGenerator *TextureGenerator) GenerateTextures(strength float64) *image.RGBA
- func (textureGenerator *TextureGenerator) Init()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextureGenerator ¶
type TextureGenerator struct {
// contains filtered or unexported fields
}
func NewTextureGenerator ¶
func NewTextureGenerator(width, height int, textureSet textureset.TextureSet, seed int64) *TextureGenerator
func (*TextureGenerator) GenerateBiomeMapTexture ¶
func (textureGenerator *TextureGenerator) GenerateBiomeMapTexture() *image.RGBA
func (*TextureGenerator) GenerateBumpMapTexture ¶
func (textureGenerator *TextureGenerator) GenerateBumpMapTexture() *image.RGBA
func (*TextureGenerator) GenerateCloudMapTexture ¶
func (textureGenerator *TextureGenerator) GenerateCloudMapTexture() *image.RGBA
func (*TextureGenerator) GenerateHeatMapTexture ¶
func (textureGenerator *TextureGenerator) GenerateHeatMapTexture() *image.RGBA
func (*TextureGenerator) GenerateHeightMapTexture ¶
func (textureGenerator *TextureGenerator) GenerateHeightMapTexture() *image.RGBA
func (*TextureGenerator) GenerateMoistureMapTexture ¶
func (textureGenerator *TextureGenerator) GenerateMoistureMapTexture() *image.RGBA
func (*TextureGenerator) GenerateNormalMapTexture ¶
func (textureGenerator *TextureGenerator) GenerateNormalMapTexture(strength float64) *image.RGBA
func (*TextureGenerator) GenerateSpecularMapTexture ¶
func (textureGenerator *TextureGenerator) GenerateSpecularMapTexture() *image.RGBA
func (*TextureGenerator) GenerateTextures ¶
func (textureGenerator *TextureGenerator) GenerateTextures(strength float64) *image.RGBA
func (*TextureGenerator) Init ¶
func (textureGenerator *TextureGenerator) Init()
Click to show internal directories.
Click to hide internal directories.