TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::metal::binding Namespace Reference

Where the shaders find their resources (all_common.slang, sdf_color.slang): buffer, texture and sampler indices, the same in the vertex and the fragment stage. More...

Variables

constexpr NSUInteger kConstants = 0
 RootConstants.
constexpr NSUInteger kPrimitives = 1
constexpr NSUInteger kBoxStyles = 6
constexpr NSUInteger kColorStyles = 7
constexpr NSUInteger kImageSamplers = 8
 each image slot's sampler, a uint each
constexpr NSUInteger kImages = 9
 each image slot's MTLResourceID
constexpr NSUInteger kSamplers = 0
 nearest repeat, linear repeat, linear clamp

Detailed Description

Where the shaders find their resources (all_common.slang, sdf_color.slang): buffer, texture and sampler indices, the same in the vertex and the fragment stage.

Variable Documentation

◆ kConstants

NSUInteger tachyon::metal::binding::kConstants = 0
inlineconstexpr

◆ kPrimitives

NSUInteger tachyon::metal::binding::kPrimitives = 1
inlineconstexpr

◆ kBoxStyles

NSUInteger tachyon::metal::binding::kBoxStyles = 6
inlineconstexpr

◆ kColorStyles

NSUInteger tachyon::metal::binding::kColorStyles = 7
inlineconstexpr

◆ kImageSamplers

NSUInteger tachyon::metal::binding::kImageSamplers = 8
inlineconstexpr

each image slot's sampler, a uint each

◆ kImages

NSUInteger tachyon::metal::binding::kImages = 9
inlineconstexpr

each image slot's MTLResourceID

◆ kSamplers

NSUInteger tachyon::metal::binding::kSamplers = 0
inlineconstexpr

nearest repeat, linear repeat, linear clamp