Home | History | Annotate | Download | only in renderscript

Lines Matching refs:Builder

185     * Mesh builder object. It starts empty and requires you to
190 public static class Builder {
208 * Creates builder object
214 public Builder(RenderScript rs, int usage) {
225 * builder
234 * builder
242 * Adds a vertex data type to the builder object
248 public Builder addVertexType(Type t) throws IllegalStateException {
262 * Adds a vertex data type to the builder object
269 public Builder addVertexType(Element e, int size) throws IllegalStateException {
284 * Adds an index set data type to the builder object
291 public Builder addIndexSetType(Type t, Primitive p) {
303 * Adds an index set primitive type to the builder object
309 public Builder addIndexSetType(Primitive p) {
321 * Adds an index set data type to the builder object
329 public Builder addIndexSetType(Element e, int size, Primitive p) {
340 Type.Builder tb = new Type.Builder(mRS, e);
347 * Create a Mesh object from the current state of the builder
368 // Should never happen because the builder will always set one
369 throw new IllegalStateException("Builder corrupt, no valid element in entry.");
383 // Should never happen because the builder will always set one
384 throw new IllegalStateException("Builder corrupt, no valid element in entry.");
406 * Mesh builder object. It starts empty and requires the user to
437 * builder
446 * builder
455 * builder
475 * to the builder
492 * Adds an index set type to the builder
508 * Create a Mesh object from the current state of the builder
550 * Builder that allows creation of a mesh object point by point
752 * Adds a new triangle to the mesh builder
779 * Creates the mesh object from the current state of the builder
793 Element.Builder b = new Element.Builder(mRS);
813 Builder smb = new Builder(mRS, usage);