Documentation ¶
Index ¶
- func FlushCommands(context *opengl.Context) error
- func NextPowerOf2Int32(x int32) int32
- func Reset(context *opengl.Context) error
- type Image
- func (i *Image) Dispose() error
- func (i *Image) DrawImage(src *Image, vertices []int16, geo, clr Matrix, mode opengl.CompositeMode) error
- func (i *Image) Fill(clr color.RGBA) error
- func (i *Image) IsInvalidated(context *opengl.Context) bool
- func (i *Image) Pixels(context *opengl.Context) ([]uint8, error)
- func (i *Image) ReplacePixels(p []uint8) error
- func (i *Image) Size() (int, int)
- type Matrix
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlushCommands ¶ added in v1.4.0
func NextPowerOf2Int32 ¶ added in v1.3.0
Types ¶
type Image ¶ added in v1.4.0
type Image struct {
// contains filtered or unexported fields
}
func NewImageFromImage ¶ added in v1.4.0
func NewScreenFramebufferImage ¶ added in v1.4.0
func (*Image) IsInvalidated ¶ added in v1.4.0
func (*Image) ReplacePixels ¶ added in v1.4.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.