OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CPU_ATTRIBUTES
(Results
1 - 2
of
2
) sorted by null
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/batches/
PointSpriteParticleBatch.java
35
protected static final VertexAttributes
CPU_ATTRIBUTES
= new VertexAttributes(
40
protected static final int CPU_VERTEX_SIZE = (short)(
CPU_ATTRIBUTES
.vertexSize / 4),
41
CPU_POSITION_OFFSET = (short)(
CPU_ATTRIBUTES
.findByUsage(Usage.Position).offset/4),
42
CPU_COLOR_OFFSET = (short)(
CPU_ATTRIBUTES
.findByUsage(Usage.ColorUnpacked).offset/4),
43
CPU_REGION_OFFSET = (short)(
CPU_ATTRIBUTES
.findByUsage(Usage.TextureCoordinates).offset/4),
44
CPU_SIZE_AND_ROTATION_OFFSET = (short)(
CPU_ATTRIBUTES
.findByUsage(sizeAndRotationUsage).offset/4);
78
renderable.meshPart.mesh = new Mesh(false, capacity, 0,
CPU_ATTRIBUTES
);
BillboardParticleBatch.java
56
CPU_ATTRIBUTES
= new VertexAttributes( new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE),
78
CPU_POSITION_OFFSET = (short)(
CPU_ATTRIBUTES
.findByUsage(Usage.Position).offset/4),
79
CPU_UV_OFFSET = (short)(
CPU_ATTRIBUTES
.findByUsage(Usage.TextureCoordinates).offset/4),
80
CPU_COLOR_OFFSET = (short)(
CPU_ATTRIBUTES
.findByUsage(Usage.ColorUnpacked).offset/4),
81
CPU_VERTEX_SIZE=
CPU_ATTRIBUTES
.vertexSize/4;
238
currentAttributes =
CPU_ATTRIBUTES
;
Completed in 1418 milliseconds