IT. Expert System.

Android Reference

Mesh.Builder


android.renderscript

Class Mesh.Builder

  • Enclosing class:
    Mesh

    Deprecated.
    in API 16 Mesh builder object. It starts empty and requires you to add the types necessary to create vertex and index allocations.

    public static class Mesh.Builder
    extends Object
    • Constructor Detail

      • Mesh.Builder

        public Mesh.Builder(RenderScript rs,
                    int usage)
        Deprecated. in API 16 Creates builder object
        Parameters:
        rs - Context to which the mesh will belong.
        usage - specifies how the mesh allocations are to be handled, whether they need to be uploaded to a buffer on the gpu, maintain a cpu copy, etc
    • Method Detail

      • getCurrentVertexTypeIndex

        public int getCurrentVertexTypeIndex()
        Deprecated. in API 16
        Returns:
        internal index of the last vertex buffer type added to builder
      • getCurrentIndexSetIndex

        public int getCurrentIndexSetIndex()
        Deprecated. in API 16
        Returns:
        internal index of the last index set added to the builder
      • addVertexType

        public Mesh.Builder addVertexType(Element e,
                                 int size)
                                   throws IllegalStateException
        Deprecated. in API 16 Adds a vertex data type to the builder object
        Parameters:
        e - element describing the vertex data layout
        size - number of elements in the buffer
        Returns:
        this
        Throws:
        IllegalStateException
      • addIndexSetType

        public Mesh.Builder addIndexSetType(Type t,
                                   Mesh.Primitive p)
        Deprecated. in API 16 Adds an index set data type to the builder object
        Parameters:
        t - type of the index set data, could be null
        p - primitive type
        Returns:
        this
      • addIndexSetType

        public Mesh.Builder addIndexSetType(Mesh.Primitive p)
        Deprecated. in API 16 Adds an index set primitive type to the builder object
        Parameters:
        p - primitive type
        Returns:
        this
      • addIndexSetType

        public Mesh.Builder addIndexSetType(Element e,
                                   int size,
                                   Mesh.Primitive p)
        Deprecated. in API 16 Adds an index set data type to the builder object
        Parameters:
        e - element describing the index set data layout
        size - number of elements in the buffer
        p - primitive type
        Returns:
        this
      • create

        public Mesh create()
        Deprecated. in API 16 Create a Mesh object from the current state of the builder


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: 212 / 158855546. Delta: 0.04857 с