Documentation ¶
Index ¶
- type Backend
- func (gl *Backend) AssociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface) uint64
- func (gl Backend) Context() unsafe.Pointer
- func (gl *Backend) Destroy(ctx samure.Context)
- func (gl Backend) Display() unsafe.Pointer
- func (gl *Backend) Init(ctx samure.Context) error
- func (gl Backend) InitBindings(ctx samure.Context, initFunc func() error) error
- func (gl Backend) MakeContextCurrent()
- func (gl *Backend) OnLayerSurfaceConfigure(ctx samure.Context, layerSurface samure.LayerSurface, width, height int)
- func (gl *Backend) RenderEnd(ctx samure.Context, layerSurface samure.LayerSurface)
- func (gl *Backend) RenderStart(ctx samure.Context, layerSurface samure.LayerSurface)
- func (gl *Backend) UnassociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
Handle *C.struct_samure_backend_opengl
}
func (*Backend) AssociateLayerSurface ¶
func (Backend) InitBindings ¶
func (Backend) MakeContextCurrent ¶
func (gl Backend) MakeContextCurrent()
func (*Backend) OnLayerSurfaceConfigure ¶
func (*Backend) RenderEnd ¶
func (gl *Backend) RenderEnd(ctx samure.Context, layerSurface samure.LayerSurface)
func (*Backend) RenderStart ¶
func (gl *Backend) RenderStart(ctx samure.Context, layerSurface samure.LayerSurface)
func (*Backend) UnassociateLayerSurface ¶
func (gl *Backend) UnassociateLayerSurface(ctx samure.Context, layerSurface samure.LayerSurface)
Click to show internal directories.
Click to hide internal directories.