_Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpGrad¶
Description¶
Signature¶
float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpGrad( vector<float, isArray+Shape.dimensions> location, float compareValue, vector<float, Shape.dimensions> gradX, vector<float, Shape.dimensions> gradY) where T : ITexelElement where Shape : __ITextureShape where access == 0 where isCombined == 1; float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpGrad( vector<float, isArray+Shape.dimensions> location, float compareValue, vector<float, Shape.dimensions> gradX, vector<float, Shape.dimensions> gradY, vector<int, Shape.planeDimensions> offset) where T : ITexelElement where Shape : __ITextureShape where access == 0 where isCombined == 1; float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpGrad( vector<float, isArray+Shape.dimensions> location, float compareValue, vector<float, Shape.dimensions> gradX, vector<float, Shape.dimensions> gradY, vector<int, Shape.planeDimensions> offset, out uint status) where T : ITexelElement where Shape : __ITextureShape where access == 0 where isCombined == 1; float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpGrad( SamplerComparisonState s, vector<float, isArray+Shape.dimensions> location, float compareValue, vector<float, Shape.dimensions> gradX, vector<float, Shape.dimensions> gradY) where T : ITexelElement where Shape : __ITextureShape where access == 0 where isCombined == 0; float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpGrad( SamplerComparisonState s, vector<float, isArray+Shape.dimensions> location, float compareValue, vector<float, Shape.dimensions> gradX, vector<float, Shape.dimensions> gradY, vector<int, Shape.planeDimensions> offset) where T : ITexelElement where Shape : __ITextureShape where access == 0 where isCombined == 0; float _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.SampleCmpGrad( SamplerComparisonState s, vector<float, isArray+Shape.dimensions> location, float compareValue, vector<float, Shape.dimensions> gradX, vector<float, Shape.dimensions> gradY, 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¶
gradX : vector<float, Shape.dimensions>¶
gradY : vector<float, Shape.dimensions>¶
offset : vector<int, Shape.planeDimensions>¶
status : uint¶
s : SamplerComparisonState¶
Availability and Requirements¶
Defined for the following targets:
hlsl¶
Available in all stages.
spirv¶
Available in all stages.