_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 T : ITexelElement 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 T : ITexelElement 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 T : ITexelElement where Shape : __ITextureShape where isMS == 0 where access == 0; /// Requires Capability Set 4: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, int sampleIndex) where T : ITexelElement where Shape : __ITextureShape where isMS == 1 where access == 0; /// Requires Capability Set 5: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions+1> locationAndSampleIndex) where T : ITexelElement 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 T : ITexelElement 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 T : ITexelElement where Shape : __ITextureShape where isMS == 1 where access == 0; /// Requires Capability Set 6: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location) where T : ITexelElement where Shape : __ITextureShape where isMS == 0 where access == 1 where isCombined == 0; /// Requires Capability Set 7: 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 T : ITexelElement 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 T : ITexelElement where Shape : __ITextureShape where isMS == 0 where access == 1 where isCombined == 0; /// Requires Capability Set 8: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location, int sampleIndex) where T : ITexelElement where Shape : __ITextureShape where isMS == 1 where access == 1 where isCombined == 0; /// Requires Capability Set 7: 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 T : ITexelElement 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 T : ITexelElement where Shape : __ITextureShape where isMS == 1 where access == 1 where isCombined == 0; /// Requires Capability Set 6: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( vector<int, isArray+Shape.dimensions> location) where T : ITexelElement where Shape : __ITextureShape where isMS == 0 where access == 3 where isCombined == 0; /// Requires Capability Set 7: 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 T : ITexelElement 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 T : ITexelElement where Shape : __ITextureShape where isMS == 0 where access == 3 where isCombined == 0; /// Requires Capability Set 9: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location) where T : ITexelElement where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 0 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 10: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location, out uint status) where T : ITexelElement where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 0 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 9: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location) where T : ITexelElement where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 1 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 10: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location, out uint status) where T : ITexelElement where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 1 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 9: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location) where T : ITexelElement where Shape == __ShapeBuffer where isArray == 0 where isMS == 0 where sampleCount == 0 where access == 2 where isShadow == 0 where isCombined == 0; /// Requires Capability Set 10: T _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.Load( int location, out uint status) where T : ITexelElement 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.
cuda¶
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.
spirv¶
Available in all stages.
Capability Set 4¶
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 5¶
Defined for the following targets:
hlsl¶
Available in all stages.
glsl¶
Available in all stages.
cpp¶
Available in all stages.
wgsl¶
Available in all stages.
spirv¶
Available in all stages.
Capability Set 6¶
Defined for the following targets:
hlsl¶
Available in all stages.
glsl¶
Available in all stages.
cpp¶
Available in all stages.
cuda¶
Available in all stages.
metal¶
Available in all stages.
wgsl¶
Available in all stages.
spirv¶
Available in all stages.
Capability Set 7¶
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 8¶
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 9¶
Defined for the following targets:
hlsl¶
Available in all stages.
glsl¶
Available in all stages.
metal¶
Available in all stages.
spirv¶
Available in all stages.
Capability Set 10¶
Defined for the following targets:
hlsl¶
Available in all stages.