IT. Expert System.

Android Reference

RenderScript


android.renderscript

Class RenderScript

  • Direct Known Subclasses:
    RenderScriptGL


    public class RenderScript
    extends Object
    Renderscript base master class. An instance of this class creates native worker threads for processing commands from this object. This base class does not provide any extended capabilities beyond simple data processing. For extended capabilities use derived classes such as RenderScriptGL.

    Developer Guides

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

    • Method Detail

      • setupDiskCache

        public static void setupDiskCache(File cacheDir)
        Sets the directory to use as a persistent storage for the renderscript object file cache.
        Parameters:
        cacheDir - A directory the current process can write to
      • setPriority

        public void setPriority(RenderScript.Priority p)
        Change the priority of the worker threads for this context.
        Parameters:
        p - New priority to be set.
      • getApplicationContext

        public final Context getApplicationContext()
        Gets the application context associated with the RenderScript context.
        Returns:
        The application context.
      • create

        public static RenderScript create(Context ctx,
                          int sdkVersion)
        Create a basic RenderScript context.
        Parameters:
        ctx - The context.
        Returns:
        RenderScript
      • create

        public static RenderScript create(Context ctx)
        Create a basic RenderScript context.
        Parameters:
        ctx - The context.
        Returns:
        RenderScript
      • contextDump

        public void contextDump()
        Print the currently available debugging information about the state of the RS context to the log.
      • finish

        public void finish()
        Wait for any commands in the fifo between the java bindings and native to be processed.
      • destroy

        public void destroy()
        Destroy this renderscript context. Once this function is called its no longer legal to use this or any objects created by this context.


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: 1129 / . Delta: 0.02664 с