@@ -52,12 +52,12 @@ public class TextureImage {
5252 public enum Access {
5353
5454 /**
55- * The image can only read from in a shader.
55+ * The image can only be read from in a shader.
5656 */
5757 ReadOnly (true , false , GL2 .GL_READ_ONLY ),
5858
5959 /**
60- * The image can written to in a shader.
60+ * The image can only be written to in a shader.
6161 */
6262 WriteOnly (false , true , GL2 .GL_WRITE_ONLY ),
6363
@@ -204,8 +204,8 @@ public void setLevel(int level) {
204204 * Sets the image layer to bind.
205205 * <p>
206206 * If the underlying texture is a one/two/three demensional array,
207- * cube map, cube map array, two demensional multisample array, then this
208- * specifies which layer of the array to bind.
207+ * cube map, cube map array, or two demensional multisample array,
208+ * then this value specifies which layer of the array to bind.
209209 * <p>
210210 * default=-1
211211 *
@@ -231,9 +231,9 @@ public void setAccess(Access access) {
231231 }
232232
233233 /**
234+ * Gets the underlying texture wrapped by this TextureImage.
234235 *
235- * @return
236- * @see #setTexture(com.jme3.texture.Texture)
236+ * @return underlying texture
237237 */
238238 public Texture getTexture () {
239239 return texture ;
@@ -267,6 +267,7 @@ public int getImageId() {
267267 }
268268
269269 /**
270+ * Gets the level.
270271 *
271272 * @return
272273 * @see #setLevel(int)
@@ -276,6 +277,7 @@ public int getLevel() {
276277 }
277278
278279 /**
280+ * Gets the layer.
279281 *
280282 * @return
281283 * @see #setLayer(int)
@@ -285,6 +287,7 @@ public int getLayer() {
285287 }
286288
287289 /**
290+ * Gets the access hint.
288291 *
289292 * @return
290293 * @see #setAccess(com.jme3.texture.TextureImage.Access)
0 commit comments