Codota Logo
VertexShader.getAttribLocation
Code IndexAdd Codota to your IDE (free)

How to use
getAttribLocation
method
in
org.rajawali3d.materials.shaders.VertexShader

Best Java code snippets using org.rajawali3d.materials.shaders.VertexShader.getAttribLocation (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: Rajawali/Rajawali

@Override
public void setLocations(final int programHandle) {
  maTextureCoordHandle = getAttribLocation(programHandle, DefaultShaderVar.A_TEXTURE_COORD);
  maNormalHandle = getAttribLocation(programHandle, DefaultShaderVar.A_NORMAL);
  maPositionHandle = getAttribLocation(programHandle, DefaultShaderVar.A_POSITION);
  if (mUseVertexColors) {
    maVertexColorBufferHandle = getAttribLocation(programHandle, DefaultShaderVar.A_VERTEX_COLOR);
  }
  muMVPMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_MVP_MATRIX);
  muNormalMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_NORMAL_MATRIX);
  muModelMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_MODEL_MATRIX);
  muInverseViewMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_INVERSE_VIEW_MATRIX);
  muModelViewMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_MODEL_VIEW_MATRIX);
  muColorHandle = getUniformLocation(programHandle, DefaultShaderVar.U_COLOR);
  muTimeHandle = getUniformLocation(programHandle, DefaultShaderVar.U_TIME);
  super.setLocations(programHandle);
}
origin: pondurii/vrVideo

@Override
public void setLocations(final int programHandle) {
  maTextureCoordHandle = getAttribLocation(programHandle, DefaultShaderVar.A_TEXTURE_COORD);
  maNormalHandle = getAttribLocation(programHandle, DefaultShaderVar.A_NORMAL);
  maPositionHandle = getAttribLocation(programHandle, DefaultShaderVar.A_POSITION);
  if (mUseVertexColors)
    maVertexColorBufferHandle = getAttribLocation(programHandle, DefaultShaderVar.A_VERTEX_COLOR);
  muMVPMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_MVP_MATRIX);
  muNormalMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_NORMAL_MATRIX);
  muModelMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_MODEL_MATRIX);
  muModelViewMatrixHandle = getUniformLocation(programHandle, DefaultShaderVar.U_MODEL_VIEW_MATRIX);
  muColorHandle = getUniformLocation(programHandle, DefaultShaderVar.U_COLOR);
  muTimeHandle = getUniformLocation(programHandle, DefaultShaderVar.U_TIME);
  super.setLocations(programHandle);
}
org.rajawali3d.materials.shadersVertexShadergetAttribLocation

Popular methods of VertexShader

  • <init>
  • addAttribute
  • addGlobal
  • addShaderFragment
  • addUniform
  • addVarying
  • applyParams
  • buildShader
  • castMat3
  • castVec3
  • enableTime
  • getGlobal
  • enableTime,
  • getGlobal,
  • getShaderString,
  • getUniformLocation,
  • hasCubeMaps,
  • hasSkyTexture,
  • initialize,
  • needsBuild,
  • normalize

Popular in Java

  • Creating JSON documents from java classes using gson
  • setScale (BigDecimal)
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Path (java.nio.file)
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now