Home
last modified time | relevance | path

Searched refs:bufType (Results 1 – 5 of 5) sorted by relevance

/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DGeometryBatchFactory.java184 for (int bufType = 0; bufType < compsForBuf.length; bufType++) { in mergeGeometries()
185 VertexBuffer inBuf = inMesh.getBuffer(Type.values()[bufType]); in mergeGeometries()
186 VertexBuffer outBuf = outMesh.getBuffer(Type.values()[bufType]); in mergeGeometries()
192 if (Type.Index.ordinal() == bufType) { in mergeGeometries()
193 int components = compsForBuf[bufType]; in mergeGeometries()
204 } else if (Type.Position.ordinal() == bufType) { in mergeGeometries()
208 } else if (Type.Normal.ordinal() == bufType) { in mergeGeometries()
212 }else if(Type.Tangent.ordinal() == bufType){ in mergeGeometries()
371 for (int bufType = 0; bufType < Type.values().length; bufType++) { in printMesh()
372 VertexBuffer outBuf = mesh.getBuffer(Type.values()[bufType]); in printMesh()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DBatchNode.java462 for (int bufType = 0; bufType < compsForBuf.length; bufType++) { in mergeGeometries()
463 VertexBuffer inBuf = inMesh.getBuffer(VertexBuffer.Type.values()[bufType]); in mergeGeometries()
465 VertexBuffer outBuf = outMesh.getBuffer(VertexBuffer.Type.values()[bufType]); in mergeGeometries()
471 if (VertexBuffer.Type.Index.ordinal() == bufType) { in mergeGeometries()
472 int components = compsForBuf[bufType]; in mergeGeometries()
483 } else if (VertexBuffer.Type.Position.ordinal() == bufType) { in mergeGeometries()
487 … else if (VertexBuffer.Type.Normal.ordinal() == bufType || VertexBuffer.Type.Tangent.ordinal() == in mergeGeometries()
490 doCopyBuffer(inPos, globalVertIndex, outPos, compsForBuf[bufType]); in mergeGeometries()
491 if (VertexBuffer.Type.Tangent.ordinal() == bufType) { in mergeGeometries()
DVertexBuffer.java312 protected Type bufType; field in VertexBuffer
323 this.bufType = type; in VertexBuffer()
476 return bufType; in getBufferType()
935 +", type="+bufType.name() in toString()
961 oc.write(bufType, "buffer_type", null); in write()
995 bufType = ic.readEnum("buffer_type", Type.class, null); in read()
/external/deqp/modules/glshared/
DglsFboCompletenessTests.hpp102 ImageFormat getDefaultFormat (GLenum attPoint, GLenum bufType) const;
108 void attachTargetToNew (GLenum target, GLenum bufType,
116 Image* makeImage (GLenum bufType, ImageFormat format,
118 Attachment* makeAttachment (GLenum bufType, ImageFormat format,
DglsFboCompletenessTests.cpp677 ImageFormat TestBase::getDefaultFormat (GLenum attPoint, GLenum bufType) const in getDefaultFormat()
679 if (bufType == GL_NONE) in getDefaultFormat()
687 formatFlag(bufType)); in getDefaultFormat()
692 formatFlag(bufType)); in getDefaultFormat()
701 Image* makeImage (GLenum bufType, ImageFormat format, in makeImage() argument
705 switch (bufType) in makeImage()
724 Attachment* makeAttachment (GLenum bufType, ImageFormat format, in makeAttachment() argument
727 Image* const imgCfg = makeImage (bufType, format, width, height, builder); in makeAttachment()
752 void TestBase::attachTargetToNew (GLenum target, GLenum bufType, ImageFormat format, in attachTargetToNew() argument
757 imgFmt = getDefaultFormat(target, bufType); in attachTargetToNew()
[all …]