| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ShapeRep | |
| public ShapeRep | |
| public Texture | |
| public Texture | |
| public Mesh | |
| public MeshView | |
| public ShapeRep | |
| public PhongMaterial | |
| public Presentable | |
| public ShapeRep | |
| public RTTexture | |
| public RTTexture | |
| public Texture | Returns: a new texturethe pixel data to be uploaded to the new texture image, Texture.the Dynamic vs. Static nature of the texture data usageHint,the desired edge behavior (clamping vs. wrapping) wrapModeReturns a new |
| public Texture | Returns: a new texturethe pixel data to be uploaded to the new texture image, Texture.the Dynamic vs. Static nature of the texture data usageHint,the desired edge behavior (clamping vs. wrapping) wrapMode,the flag indicates should texture be created with mipmap useMipmap)Returns a new |
| public Texture | Returns: texture most appropriate for the given intended format, wrap mode and dimensionsintended pixel format of the data to be stored
in this texture formatHint, Texture.the Dynamic vs. Static nature of the texture data usageHint,intended wrap mode to be used for the texture wrapMode,width of the content in the texture w, int height of the content in the texture h)Returns a new |
| public Texture | Returns: texture most appropriate for the given intended format, wrap mode and dimensionsintended pixel format of the data to be stored
in this texture formatHint, Texture.the Dynamic vs. Static nature of the texture data usageHint,intended wrap mode to be used for the texture wrapMode,width of the content in the texture w, int height of the content in the texture h, boolean the flag indicates should texture be created with mipmap useMipmap)Returns a new |
| public Texture | Returns: texture most appropriate for the given video image.the video image that we need to create a new texture for frame)Returns a new |
| public Texture | Returns: a cached texturethe pixel data to be uploaded if the texture is new or
needs new fringe pixels to simulate a new wrap mode image, Texture.the mode that describes the behavior for samples
outside the content area wrapModeReturns a |
| public Texture | Returns: a cached texturethe pixel data to be uploaded if the texture is new or
needs new fringe pixels to simulate a new wrap mode image, Texture.the mode that describes the behavior for samples
outside the content wrapMode,the flag indicates should mipmapping be used for this
texture useMipmap)Returns a |
| public Texture | |
| public int | Returns: the maximum supported texture dimensionReturns the maximum supported texture dimension for this device. |
| public Texture | |
| public int | |
| public int | |
| public TextureResourcePool | |
| public boolean | Returns: whether this texture is compatible.the texture to check. tex)A Texture may have been obtained from a different resource factory. |
| public boolean | Returns: true if this graphics device is ready for use.Returns status of this graphics device, possibly reinitializing it. |
| public boolean | Returns: true if this resource factory has been disposed.Returns whether this resource factory has been disposed. |
| public boolean | Returns: true if the given format is supported; false otherwisethe format)PixelFormat to testReturns true if the given |
| public boolean | |
| public boolean | Returns: true iff the wrap mode is supported and not simulatedthe desired modeWrapModeReturns true iff the indicated |
| public void | |
| public void | |
| public void |
| addFactoryListener | back to summary |
|---|---|
| public void addFactoryListener(ResourceFactoryListener l) | |
| createArcRep | back to summary |
|---|---|
| public ShapeRep createArcRep() | |
| createEllipseRep | back to summary |
|---|---|
| public ShapeRep createEllipseRep() | |
| createFloatTexture | back to summary |
|---|---|
| public Texture createFloatTexture(int width, int height) | |
| createMaskTexture | back to summary |
|---|---|
| public Texture createMaskTexture(int width, int height, Texture. | |
| createMesh | back to summary |
|---|---|
| public Mesh createMesh() | |
| createMeshView | back to summary |
|---|---|
| public MeshView createMeshView(Mesh mesh) | |
| createPathRep | back to summary |
|---|---|
| public ShapeRep createPathRep() | |
| createPhongMaterial | back to summary |
|---|---|
| public PhongMaterial createPhongMaterial() | |
| createPresentable | back to summary |
|---|---|
| public Presentable createPresentable(PresentableState pState) | |
| createRoundRectRep | back to summary |
|---|---|
| public ShapeRep createRoundRectRep() | |
| createRTTexture | back to summary |
|---|---|
| public RTTexture createRTTexture(int width, int height, Texture. | |
| createRTTexture | back to summary |
|---|---|
| public RTTexture createRTTexture(int width, int height, Texture. | |
| createTexture | back to summary |
|---|---|
| public Texture createTexture(Image image, Texture. Returns a new Equivalent to (but perhaps more efficient than):
| |
| createTexture | back to summary |
|---|---|
| public Texture createTexture(Image image, Texture. Returns a new Equivalent to (but perhaps more efficient than):
| |
| createTexture | back to summary |
|---|---|
| public Texture createTexture(PixelFormat formatHint, Texture. Returns a new
| |
| createTexture | back to summary |
|---|---|
| public Texture createTexture(PixelFormat formatHint, Texture. Returns a new
| |
| createTexture | back to summary |
|---|---|
| public Texture createTexture(MediaFrame frame) Returns a new
| |
| getCachedTexture | back to summary |
|---|---|
| public Texture getCachedTexture(Image image, Texture. Returns a Note the caller of this method should not hold a reference to the cached texture beyond its immediate needs since the cache may be cleared at any time. | |
| getCachedTexture | back to summary |
|---|---|
| public Texture getCachedTexture(Image image, Texture. Returns a Note the caller of this method should not hold a reference to the cached texture beyond its immediate needs since the cache may be cleared at any time.
| |
| getGlyphTexture | back to summary |
|---|---|
| public Texture getGlyphTexture() | |
| getMaximumTextureSize | back to summary |
|---|---|
| public int getMaximumTextureSize() Returns the maximum supported texture dimension for this device. For example, if this method returns 2048, it means that textures larger than 2048x2048 cannot be created.
| |
| getRegionTexture | back to summary |
|---|---|
| public Texture getRegionTexture() | |
| getRTTHeight | back to summary |
|---|---|
| public int getRTTHeight(int h, Texture. | |
| getRTTWidth | back to summary |
|---|---|
| public int getRTTWidth(int w, Texture. | |
| getTextureResourcePool | back to summary |
|---|---|
| public TextureResourcePool | |
| isCompatibleTexture | back to summary |
|---|---|
| public boolean isCompatibleTexture(Texture tex) A Texture may have been obtained from a different resource factory.
| |
| isDeviceReady | back to summary |
|---|---|
| public boolean isDeviceReady() Returns status of this graphics device, possibly reinitializing it. If the device is not ready the createRTTexture and present operations will fail. As long as the device has not been disposed, creation of shaders and regular textures will succeed and return valid resources. All hardware resources (RenderTargets and SwapChains) have to be recreated after a device-lost event notification. Note since this method can reinitialize the graphics device if it has been released, it should only be called at the start of a rendering pass.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Returns whether this resource factory has been disposed. If this resource factory has been disposed, it is no longer valid and will need to be recreated before any new resources can be created. Any attempt to create a resource will be ignored and will return null.
| |
| isFormatSupported | back to summary |
|---|---|
| public boolean isFormatSupported(PixelFormat format) Returns true if the given Note that the following formats are guaranteed to be supported across all devices:
Support for the other formats depends on the capabilities of the
device. Be sure to call this method before attempting to create
a
| |
| isSuperShaderAllowed | back to summary |
|---|---|
| public boolean isSuperShaderAllowed() | |
| isWrapModeSupported | back to summary |
|---|---|
| public boolean isWrapModeSupported(Texture. Returns true iff the indicated | |
| removeFactoryListener | back to summary |
|---|---|
| public void removeFactoryListener(ResourceFactoryListener l) | |
| setGlyphTexture | back to summary |
|---|---|
| public void setGlyphTexture(Texture texture) | |
| setRegionTexture | back to summary |
|---|---|
| public void setRegionTexture(Texture texture) | |