DescriptorHandle<T>.init
Description
Constructor for uint64_t handles
Signature
/// Requires Capability Set 1: DescriptorHandle<T>.init(vector<uint, 2> handleValue) where T : IOpaqueDescriptor; /// Requires Capability Set 2: DescriptorHandle<T>.init(uint64_t handleValue) where T : IOpaqueDescriptor; DescriptorHandle<T>.init(UntypedResourceHandle h) where T : __IDynamicResourceCastable<__DynamicResourceKind.General>; DescriptorHandle<T>.init(UntypedSamplerHandle h) where T : __IDynamicResourceCastable<__DynamicResourceKind.Sampler>;
Parameters
handleValue : vector<uint, 2>
handleValue : uint64_t
h : UntypedResourceHandle
h : UntypedSamplerHandle
Availability and Requirements
Capability Set 1
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
wgsl
Available in all stages.
spirv
Available in all stages.
Capability Set 2
Defined for the following targets:
spirv
Available in all stages.
Requires capability: spvBindlessTextureNV.
cuda
Available in all stages.