IT. Expert System.

Android Reference

Type


android.support.v8.renderscript

Class Type



  • public class Type
    extends BaseObj

    Type is an allocation template. It consists of an Element and one or more dimensions. It describes only the layout of memory but does not allocate any storage for the data that is described.

    A Type consists of several dimensions. Those are X, Y, Z, LOD (level of detail), Faces (faces of a cube map). The X,Y,Z dimensions can be assigned any positive integral value within the constraints of available memory. A single dimension allocation would have an X dimension of greater than zero while the Y and Z dimensions would be zero to indicate not present. In this regard an allocation of x=10, y=1 would be considered 2 dimensionsal while x=10, y=0 would be considered 1 dimensional.

    The LOD and Faces dimensions are booleans to indicate present or not present.

    Developer Guides

    For more information about creating an application that uses Renderscript, read the Renderscript developer guide.

    • Nested Class Summary

      Nested Classes
      Modifier and Type Class and Description
      static class Type.Builder
      Builder class for Type.
      static class Type.CubemapFace
    • Method Detail

      • getElement

        public Element getElement()
        Return the element associated with this Type.
        Returns:
        Element
      • getX

        public int getX()
        Return the value of the X dimension.
        Returns:
        int
      • getY

        public int getY()
        Return the value of the Y dimension or 0 for a 1D allocation.
        Returns:
        int
      • getZ

        public int getZ()
        Return the value of the Z dimension or 0 for a 1D or 2D allocation.
        Returns:
        int
      • hasMipmaps

        public boolean hasMipmaps()
        Return if the Type has a mipmap chain.
        Returns:
        boolean
      • hasFaces

        public boolean hasFaces()
        Return if the Type is a cube map.
        Returns:
        boolean
      • getCount

        public int getCount()
        Return the total number of accessable cells in the Type.
        Returns:
        int


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: 581 / . Delta: 0.01560 с