Documentation
¶
Index ¶
Constants ¶
View Source
const InvalidID = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CubeDataPlayground ¶
type CubeTexture ¶
type CubeTexture struct {
Texture
}
func NewCubeTexture ¶
func NewCubeTexture() *CubeTexture
func (*CubeTexture) Allocate ¶
func (t *CubeTexture) Allocate() error
func (*CubeTexture) Bind ¶
func (t *CubeTexture) Bind()
func (*CubeTexture) CreateData ¶
func (t *CubeTexture) CreateData(playground CubeDataPlayground)
type FlatDataPlayground ¶
type FlatTexture ¶
type FlatTexture struct {
Texture
}
func NewFlatTexture ¶
func NewFlatTexture() *FlatTexture
func (*FlatTexture) Allocate ¶
func (t *FlatTexture) Allocate() error
func (*FlatTexture) Bind ¶
func (t *FlatTexture) Bind()
func (*FlatTexture) CreateData ¶
func (t *FlatTexture) CreateData(playground FlatDataPlayground)
type RGBACubeDataPlayground ¶
type RGBACubeDataPlayground interface {
CubeDataPlayground
SetTexel(side CubeSide, x, y int, rgba RGBA)
Texel(side CubeSide, x, y int) RGBA
SetData(side CubeSide, data []byte)
}
func DedicatedRGBACubeDataPlayground ¶
func DedicatedRGBACubeDataPlayground(size int) RGBACubeDataPlayground
type RGBAFlatDataPlayground ¶
type RGBAFlatDataPlayground interface {
FlatDataPlayground
SetTexel(x, y int, rgba RGBA)
Texel(x, y int) RGBA
SetData([]byte)
}
func DedicatedRGBAFlatDataPlayground ¶
func DedicatedRGBAFlatDataPlayground(width, height int) RGBAFlatDataPlayground
Click to show internal directories.
Click to hide internal directories.