Documentation ¶
Index ¶
Constants ¶
View Source
const Diffuse = Slot("diffuse")
View Source
const FilterLinear = Filter(core1_0.FilterLinear)
View Source
const FilterNearest = Filter(core1_0.FilterNearest)
View Source
const Normal = Slot("normal")
View Source
const WrapClamp = Wrap(core1_0.SamplerAddressModeClampToEdge)
View Source
const WrapMirror = Wrap(core1_0.SamplerAddressModeMirroredRepeat)
View Source
const WrapRepeat = Wrap(core1_0.SamplerAddressModeRepeat)
Variables ¶
View Source
var Checker = PathRef("textures/uv_checker.png")
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { Filter Filter Wrap Wrap Aspect core1_0.ImageAspectFlags Usage core1_0.ImageUsageFlags Border core1_0.BorderColor }
type Ref ¶
type Ref interface { Key() string Version() int // ImageData is called by texture caches and loaders, and should return the image data. // todo: This interface is a bit too simple as it does not allow us to pass // formats, filters and aspects. ImageData() *image.Data TextureArgs() Args }
func PathArgsRef ¶
type T ¶
type Wrap ¶
type Wrap core1_0.SamplerAddressMode
Click to show internal directories.
Click to hide internal directories.