Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Framebuffer ¶
type Framebuffer struct {
// contains filtered or unexported fields
}
func NewFramebufferFromTexture ¶
func NewFramebufferFromTexture(texture *Texture) (*Framebuffer, error)
func NewZeroFramebuffer ¶
func NewZeroFramebuffer(width, height int) (*Framebuffer, error)
func (*Framebuffer) Dispose ¶
func (f *Framebuffer) Dispose()
func (*Framebuffer) ProjectionMatrix ¶
func (f *Framebuffer) ProjectionMatrix() [4][4]float64
func (*Framebuffer) SetAsViewport ¶
func (f *Framebuffer) SetAsViewport() error
func (*Framebuffer) Size ¶
func (f *Framebuffer) Size() (width, height int)
type Texture ¶
type Texture struct {
// contains filtered or unexported fields
}
func NewTextureFromImage ¶
Click to show internal directories.
Click to hide internal directories.