func RenderingContextFromJS(value js.Wrapper) *RenderingContext {
	input := value.JSValue()
	if typ := input.Type(); typ == js.TypeNull || typ == js.TypeUndefined {
		return nil
	}
	ret := &RenderingContext{}
	ret.Value_JS = input
	return ret
}
RenderingContextFromJS is casting a js.Wrapper into RenderingContext.
package webgl2
import js "github.com/gowebapi/webapi/core/js"
import (
	"github.com/gowebapi/webapi/graphics/webgl"
	"github.com/gowebapi/webapi/javascript"
)
func unused(value interface{}) {
}
type Union struct {
	Value js.Value
}
func (u *Union) JSValue() js.Value {
	return u.Value
}
func UnionFromJS(value js.Value) *Union {
	return &Union{Value: value}
}
type Query struct {
	webgl.Object
}
func QueryFromJS(value js.Wrapper) *Query {
	input := value.JSValue()
	if typ := input.Type(); typ == js.TypeNull || typ == js.TypeUndefined {
		return nil
	}
	ret := &Query{}
	ret.Value_JS = input
	return ret
}
type RenderingContext struct {
	Value_JS js.Value
}
func (_this *RenderingContext) JSValue() js.Value {
	return _this.Value_JS
}