GLTFTextureSampler
继承: Resource
< RefCounted
< Object
Represents a glTF texture sampler
描述
Represents a texture sampler as defined by the base glTF spec. Texture samplers in glTF specify how to sample data from the texture's base image, when rendering the texture on an object.
属性
属性说明
int
mag_filter = 9729
Texture's magnification filter, used when texture appears larger on screen than the source image.
int
min_filter = 9987
Texture's minification filter, used when the texture appears smaller on screen than the source image.
int
wrap_s = 10497
Wrapping mode to use for S-axis (horizontal) texture coordinates.
int
wrap_t = 10497
Wrapping mode to use for T-axis (vertical) texture coordinates.
本方法通常需要用户覆盖才能生效。
本方法无副作用,不会修改该实例的任何成员变量。
本方法除了能接受在此处描述的参数外,还能够继续接受任意数量的参数。
本方法用于构造某个类型。
调用本方法无需实例,可直接使用类名进行调用。
本方法描述的是使用本类型作为左操作数的有效运算符。
这个值是由下列位标志构成位掩码的整数。
无返回值。