| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private final D3DContext | |
| private D3DFrameStats | |
| private final int | |
| private static final Map | |
| private int | |
| private final LinkedList | records
List of disposer records for d3d resources created by the pipeline. |
| private static final Map | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| private int | |
| public Mesh | |
| public MeshView | |
| public PhongMaterial | |
| public Presentable | createPresentable(PresentableState pState)
Implements com.
|
| public D3DRTTexture | createRTTexture(int width, int height, Texture.
Implements com.
|
| public D3DRTTexture | createRTTexture(int width, int height, Texture.
Implements com.
|
| public Shader | createShader(String pixelShaderName, InputStream pixelShaderCode, Map<String, Integer> samplers, Map<String, Integer> params, int maxTexCoordIndex, boolean isPixcoordUsed, boolean isPerVertexColorUsed)
Implements com.
|
| public Shader | |
| public D3DTexture | createTexture(PixelFormat format, Texture.
Implements com. Returns a new |
| public D3DTexture | createTexture(PixelFormat format, Texture.
Implements com. Returns a new |
| public Texture | createTexture(MediaFrame frame)
Implements com. Returns a new |
| private void | |
| public void | dispose()
Overrides com. Implements com.
|
| private static ByteBuffer | |
| pack-priv D3DContext | |
| public int | getMaximumTextureSize()
Implements com. Returns the maximum supported texture dimension for this device. |
| public int | getRTTHeight(int h, Texture.
Implements com.
|
| public int | |
| public TextureResourcePool | |
| public boolean | isCompatibleTexture(Texture tex)
Implements com. A Texture may have been obtained from a different resource factory. |
| public boolean | isDeviceReady()
Overrides com. Implements com. Returns status of this graphics device, possibly reinitializing it. |
| public boolean | isFormatSupported(PixelFormat format)
Implements com. Returns true if the given |
| pack-priv static native long | |
| pack-priv static native long | nCreateTexture(long pContext, int format, int hint, boolean isRTT, int width, int height, int samples, boolean useMipmap)
|
| pack-priv static int | |
| pack-priv static native long | |
| pack-priv static native long | |
| pack-priv static native int | |
| pack-priv static native long | |
| pack-priv static native int | |
| pack-priv static native int | |
| pack-priv static native boolean | |
| protected void | notifyReset()
Overrides com. Called when the factory is reset. |
| pack-priv static native int | nReadPixelsB(long pContext, long pResource, long length, Buffer pixels, byte[] arr, int contentWidth, int contentHeight)
|
| pack-priv static native int | nReadPixelsI(long pContext, long pResource, long length, Buffer pixels, int[] arr, int contentWidth, int contentHeight)
|
| pack-priv static native int | |
| pack-priv static native int | |
| pack-priv static native int | |
| pack-priv static native int | nUpdateTextureB(long contextHandle, long pResource, ByteBuffer buf, byte[] pixels, int formatHint, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan)
|
| pack-priv static native int | nUpdateTextureF(long contextHandle, long pResource, FloatBuffer buf, float[] pixels, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan)
|
| pack-priv static native int | nUpdateTextureI(long contextHandle, long pResource, IntBuffer buf, int[] pixels, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan)
|
| pack-priv void |
| clampTexCache | back to summary |
|---|---|
| private static final Map<Image, Texture> clampTexCache | |
| context | back to summary |
|---|---|
| private final D3DContext context | |
| frameStats | back to summary |
|---|---|
| private D3DFrameStats frameStats | |
| maxTextureSize | back to summary |
|---|---|
| private final int maxTextureSize | |
| mipmapTexCache | back to summary |
|---|---|
| private static final Map<Image, Texture> mipmapTexCache Hides com. | |
| nFrame | back to summary |
|---|---|
| private int nFrame | |
| records | back to summary |
|---|---|
| private final LinkedList<D3DResource. List of disposer records for d3d resources created by the pipeline.
| |
| repeatTexCache | back to summary |
|---|---|
| private static final Map<Image, Texture> repeatTexCache Hides com. | |
| STATS_FREQUENCY | back to summary |
|---|---|
| pack-priv static final int STATS_FREQUENCY | |
| D3DResourceFactory | back to summary |
|---|---|
| pack-priv D3DResourceFactory(long pContext, Screen screen) | |
| addRecord | back to summary |
|---|---|
| pack-priv void addRecord(D3DResource. | |
| computeMaxTextureSize | back to summary |
|---|---|
| private int computeMaxTextureSize() | |
| createMesh | back to summary |
|---|---|
| public Mesh createMesh() Implements com.
| |
| createMeshView | back to summary |
|---|---|
| public MeshView createMeshView(Mesh mesh) Implements com.
| |
| createPhongMaterial | back to summary |
|---|---|
| public PhongMaterial createPhongMaterial() Implements com.
| |
| createPresentable | back to summary |
|---|---|
| public Presentable createPresentable(PresentableState pState) Implements com.
| |
| createRTTexture | back to summary |
|---|---|
| public D3DRTTexture createRTTexture(int width, int height, Texture. Implements com.
| |
| createRTTexture | back to summary |
|---|---|
| public D3DRTTexture createRTTexture(int width, int height, Texture. Implements com.
| |
| createShader | back to summary |
|---|---|
| public Shader createShader(String pixelShaderName, InputStream pixelShaderCode, Map<String, Integer> samplers, Map<String, Integer> params, int maxTexCoordIndex, boolean isPixcoordUsed, boolean isPerVertexColorUsed) Implements com.
| |
| createStockShader | back to summary |
|---|---|
| public Shader createStockShader(final String name) Implements com.
| |
| createTexture | back to summary |
|---|---|
| public D3DTexture createTexture(PixelFormat format, Texture. Implements com. Doc from com. Returns a new
| |
| createTexture | back to summary |
|---|---|
| public D3DTexture createTexture(PixelFormat format, Texture. Implements com. Doc from com. Returns a new
| |
| createTexture | back to summary |
|---|---|
| public Texture createTexture(MediaFrame frame) Implements com. Doc from com. Returns a new
| |
| displayPrismStatistics | back to summary |
|---|---|
| private void displayPrismStatistics() | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides com. Implements com.
| |
| getBuffer | back to summary |
|---|---|
| private static ByteBuffer getBuffer(InputStream is) | |
| getContext | back to summary |
|---|---|
| pack-priv D3DContext getContext() | |
| getMaximumTextureSize | back to summary |
|---|---|
| public int getMaximumTextureSize() Implements com. Doc from com. 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.
| |
| getRTTHeight | back to summary |
|---|---|
| public int getRTTHeight(int h, Texture. Implements com.
| |
| getRTTWidth | back to summary |
|---|---|
| public int getRTTWidth(int w, Texture. Implements com.
| |
| getTextureResourcePool | back to summary |
|---|---|
| public TextureResourcePool Implements com.
| |
| isCompatibleTexture | back to summary |
|---|---|
| public boolean isCompatibleTexture(Texture tex) Implements com. Doc from com. A Texture may have been obtained from a different resource factory.
| |
| isDeviceReady | back to summary |
|---|---|
| public boolean isDeviceReady() Overrides com. Implements com. Doc from com. 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.
| |
| isFormatSupported | back to summary |
|---|---|
| public boolean isFormatSupported(PixelFormat format) Implements com. Doc from com. 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
| |
| nCreateSwapChain | back to summary |
|---|---|
| pack-priv static native long nCreateSwapChain(long pContext, long hwnd, boolean isVsyncEnabled) | |
| nCreateTexture | back to summary |
|---|---|
| pack-priv static native long nCreateTexture(long pContext, int format, int hint, boolean isRTT, int width, int height, int samples, boolean useMipmap) | |
| nextPowerOfTwo | back to summary |
|---|---|
| pack-priv static int nextPowerOfTwo(int val, int max) | |
| nGetContext | back to summary |
|---|---|
| pack-priv static native long nGetContext(int adapterOrdinal) | |
| nGetDevice | back to summary |
|---|---|
| pack-priv static native long nGetDevice(long pContext) | |
| nGetMaximumTextureSize | back to summary |
|---|---|
| pack-priv static native int nGetMaximumTextureSize(long pContext) | |
| nGetNativeTextureObject | back to summary |
|---|---|
| pack-priv static native long nGetNativeTextureObject(long pResource) | |
| nGetTextureHeight | back to summary |
|---|---|
| pack-priv static native int nGetTextureHeight(long pResource) | |
| nGetTextureWidth | back to summary |
|---|---|
| pack-priv static native int nGetTextureWidth(long pResource) | |
| nIsDefaultPool | back to summary |
|---|---|
| pack-priv static native boolean nIsDefaultPool(long pResource) | |
| notifyReset | back to summary |
|---|---|
| protected void notifyReset() Overrides com. Doc from com. Called when the factory is reset. Some resources (based in vram) could be lost.
| |
| nReadPixelsB | back to summary |
|---|---|
| pack-priv static native int nReadPixelsB(long pContext, long pResource, long length, Buffer pixels, byte[] arr, int contentWidth, int contentHeight) | |
| nReadPixelsI | back to summary |
|---|---|
| pack-priv static native int nReadPixelsI(long pContext, long pResource, long length, Buffer pixels, int[] arr, int contentWidth, int contentHeight) | |
| nReleaseResource | back to summary |
|---|---|
| pack-priv static native int nReleaseResource(long pContext, long resource) | |
| nResetDevice | back to summary |
|---|---|
| pack-priv static native int nResetDevice(long pContext) | |
| nTestCooperativeLevel | back to summary |
|---|---|
| pack-priv static native int nTestCooperativeLevel(long pContext) | |
| nUpdateTextureB | back to summary |
|---|---|
| pack-priv static native int nUpdateTextureB(long contextHandle, long pResource, ByteBuffer buf, byte[] pixels, int formatHint, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan) | |
| nUpdateTextureF | back to summary |
|---|---|
| pack-priv static native int nUpdateTextureF(long contextHandle, long pResource, FloatBuffer buf, float[] pixels, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan) | |
| nUpdateTextureI | back to summary |
|---|---|
| pack-priv static native int nUpdateTextureI(long contextHandle, long pResource, IntBuffer buf, int[] pixels, int dstx, int dsty, int srcx, int srcy, int srcw, int srch, int srcscan) | |
| removeRecord | back to summary |
|---|---|
| pack-priv void removeRecord(D3DResource. | |