예제 #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))
}