Searched refs:BYTES_PER_FLOAT (Results 1 – 5 of 5) sorted by relevance
70 … mPositionBuffer = ByteBuffer.allocateDirect(coneData.getVertexData().length * BYTES_PER_FLOAT) in initialise()72 mColorBuffer = ByteBuffer.allocateDirect(colours.length * BYTES_PER_FLOAT) in initialise()74 … mNormalsBuffer = ByteBuffer.allocateDirect(coneData.getNormalsData().length * BYTES_PER_FLOAT) in initialise()
96 … mPositionBuffer = ByteBuffer.allocateDirect(ringData.getVertexData().length * BYTES_PER_FLOAT) in initialise()98 mColorBuffer = ByteBuffer.allocateDirect(colours.length * BYTES_PER_FLOAT) in initialise()100 … mNormalsBuffer = ByteBuffer.allocateDirect(ringData.getNormalsData().length * BYTES_PER_FLOAT) in initialise()
57 mPositionBuffer = ByteBuffer.allocateDirect(mRectanglePositionData.length * BYTES_PER_FLOAT) in initialiseRectangle()71 mColorBuffer = ByteBuffer.allocateDirect(colours.length * BYTES_PER_FLOAT) in initialiseRectangle()
78 … mPositionBuffer = ByteBuffer.allocateDirect(cameraPreviewPositionData.length * BYTES_PER_FLOAT) in initialiseCameraPreview()81 mTextureBuffer = ByteBuffer.allocateDirect(CAMERA_TEXTURE_DATA.length * BYTES_PER_FLOAT) in initialiseCameraPreview()
31 protected static final int BYTES_PER_FLOAT = 4; field in Renderable