IT. Expert System.

Android Reference

Mesh


android.renderscript

Class Mesh


  • Deprecated.
    in API 16

    This class is a container for geometric data displayed with Renderscript. Internally, a mesh is a collection of allocations that represent vertex data (positions, normals, texture coordinates) and index data such as triangles and lines.

    Vertex data could either be interleaved within one allocation that is provided separately, as multiple allocation objects, or done as a combination of both. When a vertex channel name matches an input in the vertex program, Renderscript automatically connects the two together.

    Parts of the mesh can be rendered with either explicit index sets or primitive types.


    public class Mesh
    extends BaseObj
    • Method Detail

      • getVertexAllocationCount

        public int getVertexAllocationCount()
        Deprecated. in API 16
        Returns:
        number of allocations containing vertex data
      • getVertexAllocation

        public Allocation getVertexAllocation(int slot)
        Deprecated. in API 16
        Parameters:
        slot - index in the list of allocations to return
        Returns:
        vertex data allocation at the given index
      • getPrimitiveCount

        public int getPrimitiveCount()
        Deprecated. in API 16
        Returns:
        number of primitives or index sets in the mesh
      • getIndexSetAllocation

        public Allocation getIndexSetAllocation(int slot)
        Deprecated. in API 16
        Parameters:
        slot - locaton within the list of index set allocation
        Returns:
        allocation containing primtive index data or null if the index data is not specified explicitly
      • getPrimitive

        public Mesh.Primitive getPrimitive(int slot)
        Deprecated. in API 16
        Parameters:
        slot - locaiton within the list of index set primitives
        Returns:
        index set primitive type


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 877 / 158692316. Delta: 0.02899 с