Lines Matching full:primitive
37 * index sets or primitive types.
46 public enum Primitive {
76 Primitive(int id) {
83 Primitive[] mPrimitives;
130 * @return index set primitive type
133 public Primitive getPrimitive(int slot) {
152 mPrimitives = new Primitive[idxCount];
166 mPrimitives[i] = Primitive.values()[primitives[i]];
184 Primitive prim;
267 * @param p primitive type
271 public Builder addIndexSetType(Type t, Primitive p) {
282 * Adds an index set primitive type to the builder object
284 * @param p primitive type
288 public Builder addIndexSetType(Primitive p) {
303 * @param p primitive type
307 public Builder addIndexSetType(Element e, int size, Primitive p) {
335 Primitive[] primitives = new Primitive[mIndexTypes.size()];
386 Primitive prim;
441 * @param p index set primitive type
445 public AllocationBuilder addIndexSetAllocation(Allocation a, Primitive p) {
456 * @param p index set primitive type
460 public AllocationBuilder addIndexSetType(Primitive p) {
480 Primitive[] primitives = new Primitive[mIndexTypes.size()];
757 smb.addIndexSetType(Element.U16(mRS), mIndexCount, Primitive.TRIANGLE);