Documentation ¶
Rendered for darwin/amd64
Index ¶
Constants ¶
View Source
const ( NSOpenGLPFADoubleBuffer = 5 NSOpenGLPFAAuxBuffers = 7 NSOpenGLPFAColorSize = 8 NSOpenGLPFAAlphaSize = 11 NSOpenGLPFADepthSize = 12 NSOpenGLPFAStencilSize = 13 NSOpenGLPFAAccumSize = 14 NSOpenGLPFASampleBuffers = 55 NSOpenGLPFASamples = 56 NSOpenGLPFAAccelerated = 73 NSOpenGLPFAClosestPolicy = 74 NSOpenGLPFAAllowOfflineRenderers = 96 NSOpenGLPFAOpenGLProfile = 99 NSOpenGLProfileVersion4_1Core = 0x4100 NSOpenGLProfileVersion3_2Core = 0x3200 )
Variables ¶
This section is empty.
Functions ¶
func EnablePollEvents ¶
func EnablePollEvents()
func GetTimerFrequency ¶
func GetTimerFrequency() uint64
func GetTimerValue ¶
func GetTimerValue() uint64
func InitDarwin ¶
func InitDarwin()
func IsEnablePollEvents ¶
func IsEnablePollEvents() bool
func PollEvents ¶
func PollEvents()
Types ¶
type NSOpenGLPixelFormatAttribute ¶
type NSOpenGLPixelFormatAttribute uint32
type ViewEvent ¶
type ViewEvent struct { // View is a CFTypeRef for the NSView for the window. View uintptr // Layer is a CFTypeRef of the CALayer of View. Layer uintptr }
ViewEvent notified the client of changes to the window AppKit handles. The handles are retained until another ViewEvent is sent.
func (ViewEvent) ImplementsEvent ¶
func (ViewEvent) ImplementsEvent()
func (ViewEvent) ImplementsViewEvent ¶
func (ViewEvent) ImplementsViewEvent()
Click to show internal directories.
Click to hide internal directories.