Lines Matching defs:Primitive
47 public enum Primitive {
83 Primitive(int id) {
90 Primitive[] mPrimitives;
145 public Primitive getPrimitive(int slot) {
164 mPrimitives = new Primitive[idxCount];
178 mPrimitives[i] = Primitive.values()[primitives[i]];
197 Primitive prim;
290 public Builder addIndexSetType(Type t, Primitive p) {
308 public Builder addIndexSetType(Primitive p) {
328 public Builder addIndexSetType(Element e, int size, Primitive p) {
357 Primitive[] primitives = new Primitive[mIndexTypes.size()];
415 Primitive prim;
481 public AllocationBuilder addIndexSetAllocation(Allocation a, Primitive p) {
497 public AllocationBuilder addIndexSetType(Primitive p) {
518 Primitive[] primitives = new Primitive[mIndexTypes.size()];
814 smb.addIndexSetType(Element.U16(mRS), mIndexCount, Primitive.TRIANGLE);