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

Description

Signature

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

/// Requires Capability Set 2:
vector<T.Element, 4> _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GatherAlpha(
    SamplerState s,
    vector<float, isArray+Shape.dimensions> location,
    out uint status)
    where T : ITexelElement
    where Shape : __ITextureShape
    where isMS == 0
    where access == 0
    where isCombined == 0;

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

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

/// Requires Capability Set 3:
vector<T.Element, 4> _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GatherAlpha(
    SamplerState s,
    vector<float, isArray+Shape.dimensions> location,
    vector<int, Shape.planeDimensions> offset1,
    vector<int, Shape.planeDimensions> offset2,
    vector<int, Shape.planeDimensions> offset3,
    vector<int, Shape.planeDimensions> offset4)
    where T : ITexelElement
    where Shape : __ITextureShape
    where isMS == 0
    where access == 0
    where isCombined == 0;

/// Requires Capability Set 2:
vector<T.Element, 4> _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GatherAlpha(
    SamplerState s,
    vector<float, isArray+Shape.dimensions> location,
    vector<int, Shape.planeDimensions> offset1,
    vector<int, Shape.planeDimensions> offset2,
    vector<int, Shape.planeDimensions> offset3,
    vector<int, Shape.planeDimensions> offset4,
    out uint status)
    where T : ITexelElement
    where Shape : __ITextureShape
    where isMS == 0
    where access == 0
    where isCombined == 0;

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

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

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

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

/// Requires Capability Set 3:
vector<T.Element, 4> _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GatherAlpha(
    vector<float, isArray+Shape.dimensions> location,
    vector<int, Shape.planeDimensions> offset1,
    vector<int, Shape.planeDimensions> offset2,
    vector<int, Shape.planeDimensions> offset3,
    vector<int, Shape.planeDimensions> offset4)
    where T : ITexelElement
    where Shape : __ITextureShape
    where isMS == 0
    where access == 0
    where isCombined == 1;

/// Requires Capability Set 2:
vector<T.Element, 4> _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GatherAlpha(
    vector<float, isArray+Shape.dimensions> location,
    vector<int, Shape.planeDimensions> offset1,
    vector<int, Shape.planeDimensions> offset2,
    vector<int, Shape.planeDimensions> offset3,
    vector<int, Shape.planeDimensions> offset4,
    out uint status)
    where T : ITexelElement
    where Shape : __ITextureShape
    where isMS == 0
    where access == 0
    where isCombined == 1;

Parameters

s : SamplerState

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

status : uint

offset : vector<int, Shape.planeDimensions>

offset1 : vector<int, Shape.planeDimensions>

offset2 : vector<int, Shape.planeDimensions>

offset3 : vector<int, Shape.planeDimensions>

offset4 : vector<int, Shape.planeDimensions>

Availability and Requirements

Capability Set 1

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

cuda

Available in all stages.

metal

Available in all stages.

wgsl

Available in all stages.

spirv

Available in all stages.

Requires capability: spvImageGatherExtended.

Capability Set 2

Defined for the following targets:

hlsl

Available in all stages.

Capability Set 3

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

spirv

Available in all stages.

Requires capability: spvImageGatherExtended.