• Slang Standard Library Reference
    • Interfaces
    • Types
      • Buffer types
      • Math types
      • Miscelaneous types
      • Ray-tracing
      • Sampler types
        • SamplerComparisonState
        • SamplerState
          • Handle
          • descriptorAccess
          • init
          • kind
      • Scalar types
      • Stage IO types
      • Texture types
      • Array
      • Atomic
      • AtomicAdd
      • BindlessDescriptorOptions
      • ConstantBuffer
      • CoopMat
      • CoopMatClampMode
      • CoopMatMatrixLayout
      • CoopMatMatrixUse
      • CoopVec
      • CoopVecComponentType
      • CoopVecMatrixLayout
      • DefaultVkBindlessBindings
      • DescriptorAccess
      • DescriptorHandle
      • DescriptorKind
      • DiffTensorView
      • DifferentialPair
      • DifferentialPtrPair
      • DispatchNodeInputRecord
      • MemoryScope
      • NodePayloadPtr
      • NullDifferential
      • Optional
      • ParameterBlock
      • Ptr
      • String
      • TensorLayout
      • TensorView
      • TorchTensor
      • Tuple
      • VkMutableBindlessBindings
      • _AttributeTargets
      • extension T : ITexelElement
      • int8_t4_packed
      • uint8_t4_packed
    • Attributes
    • Global Declarations

SamplerState.init

Description

Signature

SamplerState.init(__DynamicResource<__DynamicResourceKind.General> res);

SamplerState.init(DescriptorHandle<SamplerState> bindless);

Parameters

res : __DynamicResource<__DynamicResourceKind.General>

bindless : DescriptorHandle<SamplerState>