Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stats ¶
type Stats struct { Glstats gls.Stats // GLS statistics structure UnilocHits int // Uniform location cache hits per frame UnilocMiss int // Uniform location cache misses per frame Unisets int // Uniform sets per frame Drawcalls int // Draw calls per frame Cgocalls int // Cgo calls per frame // contains filtered or unexported fields }
Stats contains several statistics useful for performance evaluation
type StatsTable ¶
type StatsTable struct { *gui.Table // embedded table panel // contains filtered or unexported fields }
StatsTable is a gui.Table panel with statistics
func NewStatsTable ¶
func NewStatsTable(width, height float32, gs *gls.GLS) *StatsTable
NewStatsTable creates and returns a pointer to a new statistics table panel
func (*StatsTable) Update ¶
func (st *StatsTable) Update(s *Stats)
Update updates the table values from the specified stats table
Click to show internal directories.
Click to hide internal directories.