_Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpLevelZero

Description

Signature

/// Requires Capability Set 1:
float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpLevelZero(
    vector<float, isArray+Shape.dimensions> location,
    float compareValue)
    where T : ITexelElement
    where Shape : __ITextureShape
    where access == 0
    where isCombined == 1;

/// Requires Capability Set 1:
float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpLevelZero(
    vector<float, isArray+Shape.dimensions> location,
    float compareValue,
    vector<int, Shape.planeDimensions> offset)
    where T : ITexelElement
    where Shape : __ITextureShape
    where access == 0
    where isCombined == 1;

/// Requires Capability Set 2:
float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpLevelZero(
    vector<float, isArray+Shape.dimensions> location,
    float compareValue,
    vector<int, Shape.planeDimensions> offset,
    out uint status)
    where T : ITexelElement
    where Shape : __ITextureShape
    where access == 0
    where isCombined == 1;

/// Requires Capability Set 1:
float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpLevelZero(
    SamplerComparisonState s,
    vector<float, isArray+Shape.dimensions> location,
    float compareValue)
    where T : ITexelElement
    where Shape : __ITextureShape
    where access == 0
    where isCombined == 0;

/// Requires Capability Set 1:
float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpLevelZero(
    SamplerComparisonState s,
    vector<float, isArray+Shape.dimensions> location,
    float compareValue,
    vector<int, Shape.planeDimensions> offset)
    where T : ITexelElement
    where Shape : __ITextureShape
    where access == 0
    where isCombined == 0;

/// Requires Capability Set 2:
float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpLevelZero(
    SamplerComparisonState s,
    vector<float, isArray+Shape.dimensions> location,
    float compareValue,
    vector<int, Shape.planeDimensions> offset,
    out uint status)
    where T : ITexelElement
    where Shape : __ITextureShape
    where access == 0
    where isCombined == 0;

Parameters

location : vector<float, isArray + Shape.dimensions>

compareValue : float

offset : vector<int, Shape.planeDimensions>

status : uint

s : SamplerComparisonState

Availability and Requirements

Capability Set 1

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

metal

Available in all stages.

wgsl

Available in all stages.

spirv

Available in all stages.

Capability Set 2

Defined for the following targets:

hlsl

Available in all stages.

spirv

Available in all stages.

Requires capabilities: SPV_KHR_non_semantic_info, SPV_GOOGLE_user_type, spvDerivativeControl, spvImageQuery, spvImageGatherExtended, spvSparseResidency, spvMinLod, spvFragmentFullyCoveredEXT.