Documentation ¶
Overview ¶
Package renderers implement the drawing code for specific rendering APIs. The renderers in here are dependent on the context the platform provides and process the drawing commands from imgui by driving the rendering API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenGL2 ¶
type OpenGL2 struct {
// contains filtered or unexported fields
}
OpenGL2 implements a renderer based on github.com/go-gl/gl (v2.1).
func NewOpenGL2 ¶
NewOpenGL2 attempts to initialize a renderer. An OpenGL context has to be established before calling this function.
type OpenGL3 ¶
type OpenGL3 struct {
// contains filtered or unexported fields
}
OpenGL3 implements a renderer based on github.com/go-gl/gl (v3.2-core).
func NewOpenGL3 ¶
NewOpenGL3 attempts to initialize a renderer. An OpenGL context has to be established before calling this function.
Directories ¶
Path | Synopsis |
---|---|
gl
|
|
v2.1/gl
Package gl implements Go bindings to OpenGL.
|
Package gl implements Go bindings to OpenGL. |
v3.2-core/gl
Package gl implements Go bindings to OpenGL.
|
Package gl implements Go bindings to OpenGL. |
Click to show internal directories.
Click to hide internal directories.