_Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions
Description
Signature
/// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width) where T : ITexelElement where Shape == __Shape1D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out float width, out float numberOfLevels) where T : ITexelElement where Shape == __Shape1D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width) where T : ITexelElement where Shape == __Shape1D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out int width, out int numberOfLevels) where T : ITexelElement where Shape == __Shape1D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width) where T : ITexelElement where Shape == __Shape1D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out uint width, out uint numberOfLevels) where T : ITexelElement where Shape == __Shape1D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width, out float elements) where T : ITexelElement where Shape == __Shape1D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out float width, out float elements, out float numberOfLevels) where T : ITexelElement where Shape == __Shape1D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width, out int elements) where T : ITexelElement where Shape == __Shape1D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out int width, out int elements, out int numberOfLevels) where T : ITexelElement where Shape == __Shape1D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width, out uint elements) where T : ITexelElement where Shape == __Shape1D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out uint width, out uint elements, out uint numberOfLevels) where T : ITexelElement where Shape == __Shape1D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width, out float height) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out float width, out float height, out float numberOfLevels) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width, out int height) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out int width, out int height, out int numberOfLevels) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width, out uint height) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out uint width, out uint height, out uint numberOfLevels) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width, out float height, out float sampleCount) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 1; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width, out int height, out int sampleCount) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 1; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width, out uint height, out uint sampleCount) where T : ITexelElement where Shape == __Shape2D where isArray == 0 where isMS == 1; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width, out float height, out float elements) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out float width, out float height, out float elements, out float numberOfLevels) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width, out int height, out int elements) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out int width, out int height, out int elements, out int numberOfLevels) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width, out uint height, out uint elements) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out uint width, out uint height, out uint elements, out uint numberOfLevels) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width, out float height, out float elements, out float sampleCount) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 1; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width, out int height, out int elements, out int sampleCount) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 1; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width, out uint height, out uint elements, out uint sampleCount) where T : ITexelElement where Shape == __Shape2D where isArray == 1 where isMS == 1; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width, out float height, out float depth) where T : ITexelElement where Shape == __Shape3D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out float width, out float height, out float depth, out float numberOfLevels) where T : ITexelElement where Shape == __Shape3D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width, out int height, out int depth) where T : ITexelElement where Shape == __Shape3D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out int width, out int height, out int depth, out int numberOfLevels) where T : ITexelElement where Shape == __Shape3D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width, out uint height, out uint depth) where T : ITexelElement where Shape == __Shape3D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out uint width, out uint height, out uint depth, out uint numberOfLevels) where T : ITexelElement where Shape == __Shape3D where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width, out float height) where T : ITexelElement where Shape == __ShapeCube where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out float width, out float height, out float numberOfLevels) where T : ITexelElement where Shape == __ShapeCube where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width, out int height) where T : ITexelElement where Shape == __ShapeCube where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out int width, out int height, out int numberOfLevels) where T : ITexelElement where Shape == __ShapeCube where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width, out uint height) where T : ITexelElement where Shape == __ShapeCube where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out uint width, out uint height, out uint numberOfLevels) where T : ITexelElement where Shape == __ShapeCube where isArray == 0 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out float width, out float height, out float elements) where T : ITexelElement where Shape == __ShapeCube where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out float width, out float height, out float elements, out float numberOfLevels) where T : ITexelElement where Shape == __ShapeCube where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out int width, out int height, out int elements) where T : ITexelElement where Shape == __ShapeCube where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out int width, out int height, out int elements, out int numberOfLevels) where T : ITexelElement where Shape == __ShapeCube where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint width, out uint height, out uint elements) where T : ITexelElement where Shape == __ShapeCube where isArray == 1 where isMS == 0; /// Requires Capability Set 1: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( uint mipLevel, out uint width, out uint height, out uint elements, out uint numberOfLevels) where T : ITexelElement where Shape == __ShapeCube where isArray == 1 where isMS == 0; /// Requires Capability Set 2: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint dim) 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 2: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint dim) 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 2: void _Texture<T, Shape, isArray, isMS, sampleCount, access, isShadow, isCombined, format>.GetDimensions( out uint dim) 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
width : float
mipLevel : uint
numberOfLevels : float
width : int
numberOfLevels : int
width : uint
numberOfLevels : uint
elements : float
elements : int
elements : uint
height : float
height : int
height : uint
sampleCount : float
sampleCount : int
sampleCount : uint
depth : float
depth : int
depth : uint
dim : uint
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.
metal
Available in all stages.
spirv
Available in all stages.
Requires capability: spvImageQuery
.