OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:compsForBuf
(Results
1 - 2
of
2
) sorted by null
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
BatchNode.java
374
int[]
compsForBuf
= new int[VertexBuffer.Type.values().length];
375
VertexBuffer.Format[] formatForBuf = new VertexBuffer.Format[
compsForBuf
.length];
413
compsForBuf
[vb.getBufferType().ordinal()] = vb.getNumComponents();
422
compsForBuf
[VertexBuffer.Type.Index.ordinal()] = components;
435
for (int i = 0; i <
compsForBuf
.length; i++) {
436
if (
compsForBuf
[i] == 0) {
442
data = VertexBuffer.createBuffer(formatForBuf[i],
compsForBuf
[i], totalTris);
444
data = VertexBuffer.createBuffer(formatForBuf[i],
compsForBuf
[i], totalVerts);
448
vb.setupData(VertexBuffer.Usage.Dynamic,
compsForBuf
[i], formatForBuf[i], data);
462
for (int bufType = 0; bufType <
compsForBuf
.length; bufType++)
[
all
...]
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
GeometryBatchFactory.java
97
int[]
compsForBuf
= new int[VertexBuffer.Type.values().length];
98
Format[] formatForBuf = new Format[
compsForBuf
.length];
134
compsForBuf
[vb.getBufferType().ordinal()] = vb.getNumComponents();
143
compsForBuf
[Type.Index.ordinal()] = components;
156
for (int i = 0; i <
compsForBuf
.length; i++) {
157
if (
compsForBuf
[i] == 0) {
163
data = VertexBuffer.createBuffer(formatForBuf[i],
compsForBuf
[i], totalTris);
165
data = VertexBuffer.createBuffer(formatForBuf[i],
compsForBuf
[i], totalVerts);
169
vb.setupData(Usage.Static,
compsForBuf
[i], formatForBuf[i], data);
184
for (int bufType = 0; bufType <
compsForBuf
.length; bufType++)
[
all
...]
Completed in 66 milliseconds