:: com :: sun :: star :: rendering ::
|
unpublished |
constants group TexturingMode |
|
|
- Usage Restrictions
- not published
- Description
- Enumeration of possible values to spread a texture across a
primitive.
- Since
- OOo 2.0
|
Constants |
NONE |
Pixel outside the texture area are fully transparent. |
CLAMP |
Clamp texture coordinate. |
REPEAT |
Repeat the texture. |
Constants' Details |
NONE
const byte NONE =0;
- Description
- Pixel outside the texture area are fully transparent.
This completely switches off pixel generation outside the
texture coordinate range [0,1]. This results in only one
instance of the texture generated per textured primitive.
|
|
CLAMP
const byte CLAMP =1;
- Description
- Clamp texture coordinate.
This value clamps the texture coordinates to the range
[0,1]. This results in only one instance of the texture
generated per textured primitive, with the remaining area
filled with the color of the outermost texels
|
|
REPEAT
const byte REPEAT =2;
- Description
- Repeat the texture.
This value repeats the texture over the textured primitive,
for the given texture coordinate.
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.