namespace ComputeSharp; /// /// A to be used with to indicate the dispatch /// public enum DispatchAxis { /// /// Indicates a shader dispatch only along the X axis. /// /// /// This applies to using or . /// X, /// /// Indicates a shader dispatch only along the Y axis. /// /// /// This applies to using or , /// but only as long as the input dispatch size on both the X and Z axes is 1. Using any other combination will not be able to leverage the precompiled shader bytecode. /// Y, /// /// Indicates a shader dispatch only along the Z axis. /// /// /// This applies to using or , /// but only as long as the input dispatch size on both the X and Y axes is 1. Using any other combination will not be able to leverage the precompiled shader bytecode. /// Z, /// /// Indicates a shader dispatch along the X and Y axes. /// /// /// This applies to using , , /// , , /// or . /// XY, /// /// Indicates a shader dispatch along the X and Z axes. /// /// /// This applies to using or , /// but only as long as the input dispatch size on the Y axis 1. Using any other combination will not be able to leverage the precompiled shader bytecode. /// XZ, /// /// Indicates a shader dispatch along the Y and Z axes. /// /// /// This applies to using or , /// but only as long as the input dispatch size on the X axis 1. Using any other combination will not be able to leverage the precompiled shader bytecode. /// YZ, /// /// Indicates a shader dispatch along the X, Y and Z axes. /// /// /// This applies to using or . /// XYZ }