示例#1
0
func (this *FontTexture) CreateGlTexture() *texture.Texture {
	return texture.NewTexture(this.textureData)
}
示例#2
0
func (f *Fractal) renewTexture() {
	f.tex = texture.NewTexture(texture.NewTextureDataFromPixelGrid(f.grid))
}