Versions in this module Expand all Collapse all v1 v1.1.0 Jan 25, 2015 Changes in this version + type Framebuffer struct + func NewFramebufferFromTexture(c *opengl.Context, texture *Texture) (*Framebuffer, error) + func NewZeroFramebuffer(c *opengl.Context, width, height int) (*Framebuffer, error) + func (f *Framebuffer) Dispose(c *opengl.Context) + func (f *Framebuffer) DrawTexture(c *opengl.Context, t *Texture, quads TextureQuads, geo, clr Matrix) error + func (f *Framebuffer) Fill(c *opengl.Context, r, g, b, a float64) error + func (f *Framebuffer) Pixels(c *opengl.Context) ([]uint8, error) + func (f *Framebuffer) Size() (width, height int) + type Matrix interface + Element func(i, j int) float64 + type Texture struct + func NewTexture(c *opengl.Context, width, height int, filter opengl.FilterType) (*Texture, error) + func NewTextureFromImage(c *opengl.Context, img image.Image, filter opengl.FilterType) (*Texture, error) + func (t *Texture) Dispose(c *opengl.Context) + func (t *Texture) Size() (width, height int) + type TextureQuads interface + Len func() int + Texture func(i int) (u0, v0, u1, v1 float32) + Vertex func(i int) (x0, y0, x1, y1 float32) v1.1.0-rc1 Jan 9, 2015