Sets a new texture dimension value. Generally the texture dimension can accept the following three integer values: 1, 2, 3, but in the current implementation there is only one acceptable value for the texture dimension: 2. Values 1 and 3 are reserved for future use.