Home | History | Annotate | Download | only in queue

Lines Matching refs:bucket

71      * The render queue <code>Bucket</code> specifies the bucket
75 * bucket the spatial is placed. A spatial's queue bucket can be set
76 * via {@link Spatial#setQueueBucket(com.jme3.renderer.queue.RenderQueue.Bucket) }.
78 public enum Bucket {
100 * spatials in this bucket will appear behind everything, the downside
101 * to this bucket is that 3D objects will not be rendered correctly
165 * Sets a different geometry comparator for the specified bucket, one
171 * bucket since there is no correct way to sort the transparent bucket
178 * <li>Bucket.Opaque: {@link com.jme3.renderer.queue.OpaqueComparator} which sorts
180 * <li>Bucket.Transparent: {@link com.jme3.renderer.queue.TransparentComparator} which
182 * <li>Bucket.Translucent: {@link com.jme3.renderer.queue.TransparentComparator} which
183 * sorts purely back to front by leading bounding edge with no material sort. this bucket is rendered after post processors.
184 * <li>Bucket.Sky: {@link com.jme3.renderer.queue.NullComparator} which does no sorting
186 * <li>Bucket.Gui: {@link com.jme3.renderer.queue.GuiComparator} sorts geometries back to
189 public void setGeometryComparator(Bucket bucket, GeometryComparator c) {
190 switch (bucket) {
207 throw new UnsupportedOperationException("Unknown bucket type: " + bucket);
212 * Adds a geometry to a shadow bucket.
220 * @param shadBucket The shadow bucket type, if it is
241 throw new UnsupportedOperationException("Unrecognized shadow bucket type: " + shadBucket);
246 * Adds a geometry to the given bucket.
248 * when flattening the scene graph. The bucket to add
252 * @param bucket The bucket to add to, usually
255 public void addToQueue(Geometry g, Bucket bucket) {
256 switch (bucket) {
273 throw new UnsupportedOperationException("Unknown bucket type: " + bucket);
320 throw new IllegalArgumentException("Unexpected shadow bucket: " + shadBucket);
324 public boolean isQueueEmpty(Bucket bucket) {
325 switch (bucket) {
337 throw new UnsupportedOperationException("Unsupported bucket type: " + bucket);
341 public void renderQueue(Bucket bucket, RenderManager rm, Camera cam) {
342 renderQueue(bucket, rm, cam, true);
345 public void renderQueue(Bucket bucket, RenderManager rm, Camera cam, boolean clear) {
346 switch (bucket) {
364 throw new UnsupportedOperationException("Unsupported bucket type: " + bucket);