_Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmp
Description
Signature
float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmp( vector<float, isArray+Shape.dimensions> location, float compareValue) where Shape : __ITextureShape where access == 0 where isCombined == 1; float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmp( vector<float, isArray+Shape.dimensions> location, float compareValue, vector<int, Shape.planeDimensions> offset) where Shape : __ITextureShape where access == 0 where isCombined == 1; float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmp( SamplerComparisonState s, vector<float, isArray+Shape.dimensions> location, float compareValue) where Shape : __ITextureShape where access == 0 where isCombined == 0; float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmp( SamplerComparisonState s, vector<float, isArray+Shape.dimensions> location, float compareValue, vector<int, Shape.planeDimensions> offset) where Shape : __ITextureShape where access == 0 where isCombined == 0;
Parameters
location : vector<float, isArray + Shape.dimensions>
compareValue : float
offset : vector<int, Shape.planeDimensions>
s : SamplerComparisonState
Availability and Requirements
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.