_Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load
Description
Signature
/// Requires Capability Set 1: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions+1> location) where Shape : __ITextureShape where isMS == 0 where access == 0; /// Requires Capability Set 2: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions+1> location, vector<int, Shape.planeDimensions> offset) where Shape : __ITextureShape where isMS == 0 where access == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions+1> location, vector<int, Shape.planeDimensions> offset, out uint status) where Shape : __ITextureShape where isMS == 0 where access == 0; /// Requires Capability Set 1: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, int sampleIndex) where Shape : __ITextureShape where isMS == 1 where access == 0; /// Requires Capability Set 2: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions+1> locationAndSampleIndex) where Shape : __ITextureShape where isMS == 1 where access == 0; /// Requires Capability Set 2: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, int sampleIndex, vector<int, Shape.planeDimensions> offset) where Shape : __ITextureShape where isMS == 1 where access == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, int sampleIndex, vector<int, Shape.planeDimensions> offset, out uint status) where Shape : __ITextureShape where isMS == 1 where access == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location) where Shape : __ITextureShape where isMS == 0 where access == 1 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, vector<int, isArray+Shape.dimensions> offset) where Shape : __ITextureShape where isMS == 0 where access == 1 where isCombined == 0; T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, vector<int, isArray+Shape.dimensions> offset, out uint status) where Shape : __ITextureShape where isMS == 0 where access == 1 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, int sampleIndex) where Shape : __ITextureShape where isMS == 1 where access == 1 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, int sampleIndex, vector<int, isArray+Shape.dimensions> offset) where Shape : __ITextureShape where isMS == 1 where access == 1 where isCombined == 0; T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, int sampleIndex, vector<int, isArray+Shape.dimensions> offset, out uint status) where Shape : __ITextureShape where isMS == 1 where access == 1 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location) where Shape : __ITextureShape where isMS == 0 where access == 3 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, vector<int, isArray+Shape.dimensions> offset) where Shape : __ITextureShape where isMS == 0 where access == 3 where isCombined == 0; T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, vector<int, isArray+Shape.dimensions> offset, out uint status) where Shape : __ITextureShape where isMS == 0 where access == 3 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location) where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 0 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location, out uint status) where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 0 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location) where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 1 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location, out uint status) where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 1 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location) where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 2 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 3: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location, out uint status) where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 2 where isShadow == 0 where isCombined == 0;
Parameters
location : vector<int, isArray + Shape.dimensions + 1>
offset : vector<int, Shape.planeDimensions>
status : uint
location : vector<int, isArray + Shape.dimensions>
sampleIndex : int
locationAndSampleIndex : vector<int, isArray + Shape.dimensions + 1>
offset : vector<int, isArray + Shape.dimensions>
location : int
Availability and Requirements
Capability Set 1
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
cpp
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.
glsl
Available in all stages.
cpp
Available in all stages.
spirv
Available in all stages.
Capability Set 3
Defined for the following targets:
hlsl
Available in all stages.