Documentation ¶
Index ¶
- func GenerateResourcesIndices(resDirPath, outFilePath string)
- func GenerateShaders(shadersDirPath, targetFilePath, packageName string)
- type Benchmark
- func (b *Benchmark) GetCount() int
- func (b *Benchmark) GetMillis() int64
- func (b *Benchmark) GetName() string
- func (b *Benchmark) GetResult() time.Duration
- func (b *Benchmark) GetSeconds() float64
- func (b *Benchmark) Print()
- func (b *Benchmark) Start()
- func (b *Benchmark) Stop()
- func (b *Benchmark) ToString() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateResourcesIndices ¶
func GenerateResourcesIndices(resDirPath, outFilePath string)
func GenerateShaders ¶
func GenerateShaders(shadersDirPath, targetFilePath, packageName string)
Types ¶
type Benchmark ¶ added in v0.1.1
type Benchmark struct {
// contains filtered or unexported fields
}
A type for benchmarking time performance of code sections.
func NewBenchmark ¶ added in v0.1.1
func (*Benchmark) GetMillis ¶ added in v0.1.1
Returns the duration in milliseconds of the last run timer.
func (*Benchmark) GetSeconds ¶ added in v0.1.1
Returns the duration in seconds of the last run timer.
func (*Benchmark) Print ¶ added in v0.1.1
func (b *Benchmark) Print()
Prints the result of the last run.
Click to show internal directories.
Click to hide internal directories.