IT. Expert System.

Android Reference

Sampler


android.renderscript

Class Sampler



  • public class Sampler
    extends BaseObj
    Sampler object which defines how data is extracted from textures. Samplers are attached to Program objects (currently only ProgramFragment) when those objects need to access texture data.
    • Method Detail

      • getMinification

        public Sampler.Value getMinification()
        Returns:
        minification setting for the sampler
      • getMagnification

        public Sampler.Value getMagnification()
        Returns:
        magnification setting for the sampler
      • getWrapS

        public Sampler.Value getWrapS()
        Returns:
        S wrapping mode for the sampler
      • getWrapT

        public Sampler.Value getWrapT()
        Returns:
        T wrapping mode for the sampler
      • getAnisotropy

        public float getAnisotropy()
        Returns:
        anisotropy setting for the sampler
      • CLAMP_NEAREST

        public static Sampler CLAMP_NEAREST(RenderScript rs)
        Retrieve a sampler with min and mag set to nearest and wrap modes set to clamp.
        Parameters:
        rs - Context to which the sampler will belong.
        Returns:
        Sampler
      • CLAMP_LINEAR

        public static Sampler CLAMP_LINEAR(RenderScript rs)
        Retrieve a sampler with min and mag set to linear and wrap modes set to clamp.
        Parameters:
        rs - Context to which the sampler will belong.
        Returns:
        Sampler
      • CLAMP_LINEAR_MIP_LINEAR

        public static Sampler CLAMP_LINEAR_MIP_LINEAR(RenderScript rs)
        Retrieve a sampler with ag set to linear, min linear mipmap linear, and to and wrap modes set to clamp.
        Parameters:
        rs - Context to which the sampler will belong.
        Returns:
        Sampler
      • WRAP_NEAREST

        public static Sampler WRAP_NEAREST(RenderScript rs)
        Retrieve a sampler with min and mag set to nearest and wrap modes set to wrap.
        Parameters:
        rs - Context to which the sampler will belong.
        Returns:
        Sampler
      • WRAP_LINEAR

        public static Sampler WRAP_LINEAR(RenderScript rs)
        Retrieve a sampler with min and mag set to nearest and wrap modes set to wrap.
        Parameters:
        rs - Context to which the sampler will belong.
        Returns:
        Sampler
      • WRAP_LINEAR_MIP_LINEAR

        public static Sampler WRAP_LINEAR_MIP_LINEAR(RenderScript rs)
        Retrieve a sampler with ag set to linear, min linear mipmap linear, and to and wrap modes set to wrap.
        Parameters:
        rs - Context to which the sampler will belong.
        Returns:
        Sampler


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: 848 / . Delta: 0.00621 с