Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framebuffer ¶
type Framebuffer struct {
// contains filtered or unexported fields
}
func NewFramebufferFromTexture ¶
func NewFramebufferFromTexture(c *opengl.Context, texture *Texture) (*Framebuffer, error)
func NewZeroFramebuffer ¶
func NewZeroFramebuffer(c *opengl.Context, width, height int) (*Framebuffer, error)
func (*Framebuffer) Dispose ¶
func (f *Framebuffer) Dispose(c *opengl.Context)
func (*Framebuffer) DrawTexture ¶
func (f *Framebuffer) DrawTexture(c *opengl.Context, t *Texture, quads TextureQuads, geo, clr Matrix) error
func (*Framebuffer) Size ¶
func (f *Framebuffer) Size() (width, height int)
type Texture ¶
type Texture struct {
// contains filtered or unexported fields
}
func NewTexture ¶
func NewTextureFromImage ¶
Click to show internal directories.
Click to hide internal directories.