## siHardwareSurfaceDimension

### Introduced

v9.0 (2011)

### Description

Defines the dimension of a hardware surface.

### C# Syntax

    siHardwareSurfaceDimension.siDefaultDimension                               // 0

    siHardwareSurfaceDimension.si1D                                             // 1

    siHardwareSurfaceDimension.si2D                                             // 2

    siHardwareSurfaceDimension.si3D                                             // 3

    siHardwareSurfaceDimension.siRectangle                                      // 4

    siHardwareSurfaceDimension.siCube                                           // 5

Constant | Value | Description
--- | --- | ---
siDefaultDimension | 0 | Default dimension
si1D | 1 | 1D
si2D | 2 | 2D
si3D | 3 | 3D
siRectangle | 4 | 2D Rectangle
siCube | 5 | Cubic

### Applies To

HardwareSurface::Options::PutDimension ShaderballOptions::PutDimension