| Modifier and Type | Field and Description |
|---|---|
| private final MTLContext |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Mesh | |
| public MeshView | |
| public PhongMaterial | |
| public Presentable | createPresentable(PresentableState pState)
Implements com.
|
| public RTTexture | createRTTexture(int width, int height, Texture.
Implements com.
|
| public RTTexture | 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 | createShader(String shaderName, Map<String, Integer> samplers, Map<String, Integer> params, int maxTexCoordIndex, boolean isPixcoordUsed, boolean isPerVertexColorUsed)
Implements com.
|
| public Shader | |
| public Texture | createTexture(PixelFormat formatHint, Texture.
Implements com. Returns a new |
| public Texture | createTexture(PixelFormat formatHint, Texture.
Implements com. Returns a new |
| public Texture | createTexture(MediaFrame frame)
Implements com. Returns a new |
| public void | dispose()
Overrides com. Implements com.
|
| public MTLContext | |
| 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 | isFormatSupported(PixelFormat format)
Implements com. Returns true if the given |
| 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 int | |
| pack-priv static native void | |
| pack-priv static void |
| context | back to summary |
|---|---|
| private final MTLContext context | |
| MTLResourceFactory | back to summary |
|---|---|
| pack-priv MTLResourceFactory(Screen screen) | |
| checkTextureSize | back to summary |
|---|---|
| private void checkTextureSize(int width, int height) | |
| 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 RTTexture createRTTexture(int width, int height, Texture. Implements com.
| |
| createRTTexture | back to summary |
|---|---|
| public RTTexture 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.
| |
| createShader | back to summary |
|---|---|
| public Shader createShader(String shaderName, Map<String, Integer> samplers, Map<String, Integer> params, int maxTexCoordIndex, boolean isPixcoordUsed, boolean isPerVertexColorUsed) Implements com.
| |
| createStockShader | back to summary |
|---|---|
| public Shader createStockShader(String shaderName) Implements com.
| |
| createTexture | back to summary |
|---|---|
| public Texture createTexture(PixelFormat formatHint, Texture. Implements com. Doc from com. Returns a new
| |
| createTexture | back to summary |
|---|---|
| public Texture createTexture(PixelFormat formatHint, 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
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides com. Implements com.
| |
| getContext | back to summary |
|---|---|
| public MTLContext 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.
| |
| 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
| |
| 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) | |
| nextPowerOf64 | back to summary |
|---|---|
| pack-priv static int nextPowerOf64(int val, int max) | |
| nextPowerOfTwo | back to summary |
|---|---|
| pack-priv static int nextPowerOfTwo(int val, int max) | |
| nReleaseTexture | back to summary |
|---|---|
| pack-priv static native void nReleaseTexture(long pTexture) | |
| releaseTexture | back to summary |
|---|---|
| pack-priv static void releaseTexture(long resource) | |