| Modifier and Type | Field and Description |
|---|---|
| private static FloatBuffer | |
| private static IntBuffer | |
| private final Map | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| private static native int | |
| public void | |
| public void | dispose()
Overrides com. Implements com.
|
| private static native int | |
| public void | |
| private int | |
| pack-priv static native long | init(long pCtx, ByteBuffer buf, int maxTexCoordIndex, boolean isPixcoordUsed, boolean isPerVertexColorUsed)
|
| public boolean | isValid()
Implements com. Returns whether this shader is valid and can be used for rendering. |
| private static native int | |
| public void | |
| public void | |
| public void | |
| public void | setConstant(String name, int i0, int i1, int i2, int i3)
Implements com.
|
| public void | |
| public void | |
| public void | setConstant(String name, float f0, float f1, float f2)
Implements com.
|
| public void | setConstant(String name, float f0, float f1, float f2, float f3)
Implements com.
|
| public void | setConstants(String name, IntBuffer buf, int off, int count)
Implements com.
|
| public void | setConstants(String name, FloatBuffer buf, int off, int count)
Implements com.
|
| private static native int | |
| private static native int |
| ftmp | back to summary |
|---|---|
| private static FloatBuffer ftmp | |
| itmp | back to summary |
|---|---|
| private static IntBuffer itmp | |
| registers | back to summary |
|---|---|
| private final Map<String, Integer> registers | |
| valid | back to summary |
|---|---|
| private boolean valid | |
| D3DShader | back to summary |
|---|---|
| pack-priv D3DShader(D3DContext context, long pData, Map<String, Integer> registers) | |
| checkTmpFloatBuf | back to summary |
|---|---|
| private static void checkTmpFloatBuf() | |
| checkTmpIntBuf | back to summary |
|---|---|
| private static void checkTmpIntBuf() | |
| disable | back to summary |
|---|---|
| private static native int disable(long pCtx, long pData) | |
| disable | back to summary |
|---|---|
| public void disable() Implements com.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides com. Implements com.
| |
| enable | back to summary |
|---|---|
| private static native int enable(long pCtx, long pData) | |
| enable | back to summary |
|---|---|
| public void enable() Implements com.
| |
| getRegister | back to summary |
|---|---|
| private int getRegister(String name) | |
| init | back to summary |
|---|---|
| pack-priv static native long init(long pCtx, ByteBuffer buf, int maxTexCoordIndex, boolean isPixcoordUsed, boolean isPerVertexColorUsed) | |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements com. Doc from com. Returns whether this shader is valid and can be used for rendering. Called on the rendering thread.
| |
| nGetRegister | back to summary |
|---|---|
| private static native int nGetRegister(long pCtx, long pData, String name) | |
| setConstant | back to summary |
|---|---|
| public void setConstant(String name, int i0) Implements com.
| |
| setConstant | back to summary |
|---|---|
| public void setConstant(String name, int i0, int i1) Implements com.
| |
| setConstant | back to summary |
|---|---|
| public void setConstant(String name, int i0, int i1, int i2) Implements com.
| |
| setConstant | back to summary |
|---|---|
| public void setConstant(String name, int i0, int i1, int i2, int i3) Implements com.
| |
| setConstant | back to summary |
|---|---|
| public void setConstant(String name, float f0) Implements com.
| |
| setConstant | back to summary |
|---|---|
| public void setConstant(String name, float f0, float f1) Implements com.
| |
| setConstant | back to summary |
|---|---|
| public void setConstant(String name, float f0, float f1, float f2) Implements com.
| |
| setConstant | back to summary |
|---|---|
| public void setConstant(String name, float f0, float f1, float f2, float f3) Implements com.
| |
| setConstants | back to summary |
|---|---|
| public void setConstants(String name, IntBuffer buf, int off, int count) Implements com.
| |
| setConstants | back to summary |
|---|---|
| public void setConstants(String name, FloatBuffer buf, int off, int count) Implements com.
| |
| setConstantsF | back to summary |
|---|---|
| private static native int setConstantsF(long pCtx, long pData, int register, FloatBuffer buf, int off, int count) | |
| setConstantsI | back to summary |
|---|---|
| private static native int setConstantsI(long pCtx, long pData, int register, IntBuffer buf, int off, int count) | |