GPUSamplerDescriptor
class GPUSamplerDescriptor
Describes a sampler.
Summary
Nested types |
|---|
|
Builder for |
Public constructors |
|---|
Public properties |
|
|---|---|
Int |
|
Int |
|
Int |
|
Int |
The comparison function for comparison samplers. |
String? |
A human-readable label for debugging. |
Float |
|
Float |
|
Int |
|
Short |
|
Int |
|
Int |
Public constructors
GPUSamplerDescriptor
Added in 1.0.0-alpha05
GPUSamplerDescriptor(
label: String? = null,
addressModeU: Int = AddressMode.ClampToEdge,
addressModeV: Int = AddressMode.ClampToEdge,
addressModeW: Int = AddressMode.ClampToEdge,
magFilter: Int = FilterMode.Nearest,
minFilter: Int = FilterMode.Nearest,
mipmapFilter: Int = MipmapFilterMode.Nearest,
lodMinClamp: Float = 0.0f,
lodMaxClamp: Float = 32.0f,
compare: Int = CompareFunction.Undefined,
maxAnisotropy: Short = 1
)