util

package
v0.0.0-...-42578a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2019 License: MIT Imports: 6 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFontGlyphRanges

func GetFontGlyphRanges(str string) *uint16

Types

type Render

type Render struct {
	// contains filtered or unexported fields
}

func NewRender

func NewRender(glslVersion string) *Render

func (*Render) CreateDeviceObjects

func (impl *Render) CreateDeviceObjects()

func (*Render) DestroyDeviceObjects

func (impl *Render) DestroyDeviceObjects()

func (*Render) Render

func (impl *Render) Render(drawData imgui.DrawData)

indexSize := imgui.IndexBufferLayout() vertexSize, vertexOffsetPos, vertexOffsetUv, vertexOffsetCol := imgui.VertexBufferLayout()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL