Package | Description |
---|---|
com.sun.prism | |
com.sun.prism.es2 | |
com.sun.prism.impl |
Modifier and Type | Method and Description |
---|---|
Texture.WrapMode |
Texture.getWrapMode()
Returns the
WrapMode for this texture. |
Texture.WrapMode |
MultiTexture.getWrapMode() |
Texture.WrapMode |
Texture.WrapMode.simulatedVersion() |
static Texture.WrapMode |
Texture.WrapMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Texture.WrapMode[] |
Texture.WrapMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Texture |
ResourceFactory.createMaskTexture(int width,
int height,
Texture.WrapMode wrapMode) |
RTTexture |
ResourceFactory.createRTTexture(int width,
int height,
Texture.WrapMode wrapMode) |
RTTexture |
ResourceFactory.createRTTexture(int width,
int height,
Texture.WrapMode wrapMode,
boolean msaa) |
Texture |
ResourceFactory.createTexture(Image image,
Texture.Usage usageHint,
Texture.WrapMode wrapMode)
Returns a new
Texture containing the pixels from the given
image with the indicated texture edge wrap mode. |
Texture |
ResourceFactory.createTexture(Image image,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
boolean useMipmap)
Returns a new
Texture containing the pixels from the given
image with the indicated texture edge wrap mode. |
Texture |
ResourceFactory.createTexture(PixelFormat formatHint,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
int w,
int h)
Returns a new
Texture with the given format and edge wrapping
support. |
Texture |
ResourceFactory.createTexture(PixelFormat formatHint,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
int w,
int h,
boolean useMipmap)
Returns a new
Texture with the given format and edge wrapping
support. |
Texture |
ResourceFactory.getCachedTexture(Image image,
Texture.WrapMode wrapMode)
Returns a
Texture for the given image set up to use or
simulate the indicated wrap mode. |
Texture |
ResourceFactory.getCachedTexture(Image image,
Texture.WrapMode wrapMode,
boolean useMipmap)
Returns a
Texture for the given image set up to use or
simulate the indicated wrap mode. |
int |
ResourceFactory.getRTTHeight(int h,
Texture.WrapMode wrapMode) |
int |
ResourceFactory.getRTTWidth(int w,
Texture.WrapMode wrapMode) |
Texture |
Texture.getSharedTexture(Texture.WrapMode altMode)
Constructs an alternate version of this
Texture with an
alternate WrapMode if the two modes allow the underlying texture
to be shared, otherwise a null value is returned. |
Texture |
MultiTexture.getSharedTexture(Texture.WrapMode altMode) |
boolean |
Texture.WrapMode.isCompatibleWith(Texture.WrapMode requestedMode) |
boolean |
ResourceFactory.isWrapModeSupported(Texture.WrapMode mode)
Returns true iff the indicated
wrap mode is directly
supported (i.e. |
Constructor and Description |
---|
MultiTexture(PixelFormat format,
Texture.WrapMode wrapMode,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
RTTexture |
ES2ResourceFactory.createRTTexture(int width,
int height,
Texture.WrapMode wrapMode) |
RTTexture |
ES2ResourceFactory.createRTTexture(int width,
int height,
Texture.WrapMode wrapMode,
boolean msaa) |
Texture |
ES2ResourceFactory.createTexture(PixelFormat formatHint,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
int w,
int h) |
Texture |
ES2ResourceFactory.createTexture(PixelFormat formatHint,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
int w,
int h,
boolean useMipmap) |
int |
ES2ResourceFactory.getRTTHeight(int h,
Texture.WrapMode wrapMode) |
int |
ES2ResourceFactory.getRTTWidth(int w,
Texture.WrapMode wrapMode) |
Modifier and Type | Method and Description |
---|---|
Texture.WrapMode |
BaseTexture.getWrapMode() |
Modifier and Type | Method and Description |
---|---|
Texture |
BaseResourceFactory.createMaskTexture(int width,
int height,
Texture.WrapMode wrapMode) |
protected abstract Texture |
BaseTexture.createSharedTexture(Texture.WrapMode newMode)
Create a new version of this texture which shares the same
ManagedResource reference. |
Texture |
BaseResourceFactory.createTexture(Image image,
Texture.Usage usageHint,
Texture.WrapMode wrapMode) |
Texture |
BaseResourceFactory.createTexture(Image image,
Texture.Usage usageHint,
Texture.WrapMode wrapMode,
boolean useMipmap) |
Texture |
BaseResourceFactory.getCachedTexture(Image image,
Texture.WrapMode wrapMode) |
Texture |
BaseResourceFactory.getCachedTexture(Image image,
Texture.WrapMode wrapMode,
boolean useMipmap) |
Texture |
BaseTexture.getSharedTexture(Texture.WrapMode altMode) |
boolean |
BaseResourceFactory.isWrapModeSupported(Texture.WrapMode mode) |
Constructor and Description |
---|
BaseTexture(BaseTexture<T> sharedTex,
Texture.WrapMode newMode,
boolean useMipmap) |
BaseTexture(T resource,
PixelFormat format,
Texture.WrapMode wrapMode,
int width,
int height) |
BaseTexture(T resource,
PixelFormat format,
Texture.WrapMode wrapMode,
int physicalWidth,
int physicalHeight,
int contentX,
int contentY,
int contentWidth,
int contentHeight,
boolean useMipmap) |
BaseTexture(T resource,
PixelFormat format,
Texture.WrapMode wrapMode,
int physicalWidth,
int physicalHeight,
int contentX,
int contentY,
int contentWidth,
int contentHeight,
int maxContentWidth,
int maxContentHeight,
boolean useMipmap) |
Copyright © 2020. All rights reserved.