Documentation ¶
Overview ¶
Package sampler implements different types of samplers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Albedo ¶
type Albedo struct {
// contains filtered or unexported fields
}
Albedo represents an albedo sampler.
type SamplerType ¶
type SamplerType int
const ( InvalidSampler SamplerType = iota NormalSampler ColourSampler WireFrameSampler AlbedoSampler )
func StringToType ¶
func StringToType(s string) SamplerType
type WireFrame ¶
type WireFrame struct {
// contains filtered or unexported fields
}
WireFrame represents a WireFrame sampler.
func NewWireFrame ¶
NewWireFrame returns a new wireframe sampler with the provided colour.
Click to show internal directories.
Click to hide internal directories.