DefaultShader will be used
instead. This shader will be used when dealing with billboards using GPU mode or point sprites.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static class | |
| public static class | |
| public static enum | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final ParticleShader. | |
| pack-priv Material | |
| private static String | |
| private static String | |
| protected static long | |
| private long | |
| private static final long | optionalAttributes
Material attributes which are not required but always supported. |
| private Renderable | renderable
The renderable used to create this shader, invalid after the call to init |
| pack-priv static final Vector3 | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | ParticleShader(final Renderable renderable, final ParticleShader.
|
| public | ParticleShader(final Renderable renderable, final ParticleShader.
|
| public | ParticleShader(final Renderable renderable, final ParticleShader.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | begin(final Camera camera, final RenderContext context)
Overrides com. Implements com. Initializes the context for exclusive rendering by this shader. |
| protected void | |
| public boolean | canRender(final Renderable renderable)
Implements com. Checks whether this shader is intended to render the |
| public int | compareTo(Shader other)
Implements com. Compare this shader against the other, used for sorting, light weight shaders are rendered first. |
| public static String | |
| public void | dispose()
Overrides com. Implements com. Releases all resources of this object. |
| public void | end()
Overrides com. Implements com. Cleanup the context so other shaders can render. |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public boolean | |
| public int | |
| public int | |
| public static String | |
| public static String | |
| public void | init()
Implements com. Initializes the Shader, must be called before the Shader can be used. |
| public void | render(final Renderable renderable)
Overrides com. Implements com. Renders the |
| public void | |
| public void |
| config | back to summary |
|---|---|
| protected final ParticleShader. | |
| currentMaterial | back to summary |
|---|---|
| pack-priv Material currentMaterial | |
| defaultFragmentShader | back to summary |
|---|---|
| private static String defaultFragmentShader | |
| defaultVertexShader | back to summary |
|---|---|
| private static String defaultVertexShader | |
| implementedFlags | back to summary |
|---|---|
| protected static long implementedFlags | |
| materialMask | back to summary |
|---|---|
| private long materialMask | |
| optionalAttributes | back to summary |
|---|---|
| private static final long optionalAttributes Material attributes which are not required but always supported. | |
| renderable | back to summary |
|---|---|
| private Renderable renderable The renderable used to create this shader, invalid after the call to init | |
| TMP_VECTOR3 | back to summary |
|---|---|
| pack-priv static final Vector3 TMP_VECTOR3 | |
| vertexMask | back to summary |
|---|---|
| private long vertexMask | |
| ParticleShader | back to summary |
|---|---|
| public ParticleShader(final Renderable renderable) | |
| ParticleShader | back to summary |
|---|---|
| public ParticleShader(final Renderable renderable, final ParticleShader. | |
| ParticleShader | back to summary |
|---|---|
| public ParticleShader(final Renderable renderable, final ParticleShader. | |
| ParticleShader | back to summary |
|---|---|
| public ParticleShader(final Renderable renderable, final ParticleShader. | |
| ParticleShader | back to summary |
|---|---|
| public ParticleShader(final Renderable renderable, final ParticleShader. | |
| begin | back to summary |
|---|---|
| public void begin(final Camera camera, final RenderContext context) Overrides com. Implements com. Doc from com. Initializes the context for exclusive rendering by this shader. Use the
| |
| bindMaterial | back to summary |
|---|---|
| protected void bindMaterial(final Renderable renderable) | |
| canRender | back to summary |
|---|---|
| public boolean canRender(final Renderable renderable) Implements com. Doc from com. Checks whether this shader is intended to render the
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(Shader other) Implements com. Doc from com. Compare this shader against the other, used for sorting, light weight shaders are rendered first.
| |
| createPrefix | back to summary |
|---|---|
| public static String createPrefix(final Renderable renderable, final ParticleShader. | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides com. Implements com. Doc from com. Releases all resources of this object.
| |
| end | back to summary |
|---|---|
| public void end() Overrides com. Implements com. Doc from com. Cleanup the context so other shaders can render. Must be called when done rendering using the
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| equals | back to summary |
|---|---|
| public boolean equals(ParticleShader obj) | |
| getDefaultCullFace | back to summary |
|---|---|
| public int getDefaultCullFace() | |
| getDefaultDepthFunc | back to summary |
|---|---|
| public int getDefaultDepthFunc() | |
| getDefaultFragmentShader | back to summary |
|---|---|
| public static String getDefaultFragmentShader() | |
| getDefaultVertexShader | back to summary |
|---|---|
| public static String getDefaultVertexShader() | |
| init | back to summary |
|---|---|
| public void init() Implements com. Doc from com. Initializes the Shader, must be called before the Shader can be used. This typically compiles a
| |
| render | back to summary |
|---|---|
| public void render(final Renderable renderable) Overrides com. Implements com. Doc from com. Renders the
| |
| setDefaultCullFace | back to summary |
|---|---|
| public void setDefaultCullFace(int cullFace) | |
| setDefaultDepthFunc | back to summary |
|---|---|
| public void setDefaultDepthFunc(int depthFunc) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ParticleShader. | |
| public static final ParticleShader. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ParticleShader. | |
| public static ParticleShader. |
| Screen | back to summary |
|---|---|
| public static final ParticleShader. | |
| ViewPoint | back to summary |
|---|---|
| public static final ParticleShader. | |
| AlignMode | back to summary |
|---|---|
| private AlignMode() | |
| valueOf | back to summary |
|---|---|
| public static ParticleShader. | |
| values | back to summary |
|---|---|
| public static ParticleShader. | |
| Modifier and Type | Field and Description |
|---|---|
| public ParticleShader. | |
| public int | defaultCullFace
Set to 0 to disable culling |
| public int | defaultDepthFunc
Set to 0 to disable depth test |
| public String | fragmentShader
The uber fragment shader to use, null to use the default fragment shader. |
| public boolean | |
| public ParticleShader. | |
| public String | vertexShader
The uber vertex shader to use, null to use the default vertex shader. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| align | back to summary |
|---|---|
| public ParticleShader. | |
| defaultCullFace | back to summary |
|---|---|
| public int defaultCullFace Set to 0 to disable culling | |
| defaultDepthFunc | back to summary |
|---|---|
| public int defaultDepthFunc Set to 0 to disable depth test | |
| fragmentShader | back to summary |
|---|---|
| public String fragmentShader The uber fragment shader to use, null to use the default fragment shader. | |
| ignoreUnimplemented | back to summary |
|---|---|
| public boolean ignoreUnimplemented | |
| type | back to summary |
|---|---|
| public ParticleShader. | |
| vertexShader | back to summary |
|---|---|
| public String vertexShader The uber vertex shader to use, null to use the default vertex shader. | |
| Config | back to summary |
|---|---|
| public Config() | |
| Config | back to summary |
|---|---|
| public Config(ParticleShader. | |
| Config | back to summary |
|---|---|
| public Config(ParticleShader. | |
| Config | back to summary |
|---|---|
| public Config(ParticleShader. | |
| Config | back to summary |
|---|---|
| public Config(final String vertexShader, final String fragmentShader) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BaseShader. | |
| public static final BaseShader. | |
| public static final BaseShader. | |
| public static final BaseShader. |
| Access | Constructor and Description |
|---|---|
| public |
| cameraInvDirection | back to summary |
|---|---|
| public static final BaseShader. | |
| cameraRight | back to summary |
|---|---|
| public static final BaseShader. | |
| regionSize | back to summary |
|---|---|
| public static final BaseShader. | |
| screenWidth | back to summary |
|---|---|
| public static final BaseShader. | |
| Inputs | back to summary |
|---|---|
| public Inputs() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ParticleShader. | |
| public static final ParticleShader. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ParticleShader. | |
| public static ParticleShader. |
| Billboard | back to summary |
|---|---|
| public static final ParticleShader. | |
| Point | back to summary |
|---|---|
| public static final ParticleShader. | |
| ParticleType | back to summary |
|---|---|
| private ParticleType() | |
| valueOf | back to summary |
|---|---|
| public static ParticleShader. | |
| values | back to summary |
|---|---|
| public static ParticleShader. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BaseShader. | |
| public static final BaseShader. | |
| public static final BaseShader. | |
| public static final BaseShader. | |
| public static final BaseShader. | |
| public static final BaseShader. |
| Access | Constructor and Description |
|---|---|
| public |
| cameraInvDirection | back to summary |
|---|---|
| public static final BaseShader. | |
| cameraPosition | back to summary |
|---|---|
| public static final BaseShader. | |
| cameraRight | back to summary |
|---|---|
| public static final BaseShader. | |
| cameraUp | back to summary |
|---|---|
| public static final BaseShader. | |
| screenWidth | back to summary |
|---|---|
| public static final BaseShader. | |
| worldViewTrans | back to summary |
|---|---|
| public static final BaseShader. | |
| Setters | back to summary |
|---|---|
| public Setters() | |