libgdx API

Uses of Class
com.badlogic.gdx.graphics.glutils.ShaderProgram

Packages that use ShaderProgram
com.badlogic.gdx.graphics   
com.badlogic.gdx.graphics.g2d   
com.badlogic.gdx.graphics.g2d.tiled   
com.badlogic.gdx.graphics.g3d   
com.badlogic.gdx.graphics.g3d.decals   
com.badlogic.gdx.graphics.glutils   
 

Uses of ShaderProgram in com.badlogic.gdx.graphics
 

Methods in com.badlogic.gdx.graphics with parameters of type ShaderProgram
 void Mesh.bind(ShaderProgram shader)
          Binds the underlying VertexBufferObject and IndexBufferObject if indices where given.
 void Mesh.render(ShaderProgram shader, int primitiveType)
           Renders the mesh using the given primitive type.
 void Mesh.render(ShaderProgram shader, int primitiveType, int offset, int count)
           Renders the mesh using the given primitive type.
 void Mesh.unbind(ShaderProgram shader)
          Unbinds the underlying VertexBufferObject and IndexBufferObject is indices were given.
 

Uses of ShaderProgram in com.badlogic.gdx.graphics.g2d
 

Methods in com.badlogic.gdx.graphics.g2d that return ShaderProgram
static ShaderProgram SpriteBatch.createDefaultShader()
          Returns a new instance of the default shader used by SpriteBatch for GL2 when no shader is specified.
 

Methods in com.badlogic.gdx.graphics.g2d with parameters of type ShaderProgram
 void SpriteBatch.setShader(ShaderProgram shader)
          Sets the shader to be used in a GLES 2.0 environment.
 void SpriteCache.setShader(ShaderProgram shader)
          Sets the shader to be used in a GLES 2.0 environment.
 

Constructors in com.badlogic.gdx.graphics.g2d with parameters of type ShaderProgram
SpriteBatch(int size, int buffers, ShaderProgram defaultShader)
           Constructs a new SpriteBatch.
SpriteBatch(int size, ShaderProgram defaultShader)
           Constructs a new SpriteBatch.
SpriteCache(int size, ShaderProgram shader, boolean useIndices)
          Creates a cache with the specified size and OpenGL ES 2.0 shader.
 

Uses of ShaderProgram in com.badlogic.gdx.graphics.g2d.tiled
 

Constructors in com.badlogic.gdx.graphics.g2d.tiled with parameters of type ShaderProgram
TileMapRenderer(int[][][] map, TileAtlas atlas, int tileWidth, int tileHeight, float unitsPerTileX, float unitsPerTileY, IntArray blendedTiles, int tilesPerBlockX, int tilesPerBlockY, ShaderProgram shader)
          A renderer for static tile maps backed with a Sprite Cache.
TileMapRenderer(TiledMap map, TileAtlas atlas, int tilesPerBlockX, int tilesPerBlockY, float unitsPerTileX, float unitsPerTileY, ShaderProgram shader)
           
TileMapRenderer(TiledMap map, TileAtlas atlas, int tilesPerBlockX, int tilesPerBlockY, ShaderProgram shader)
          A renderer for static tile maps backed with a Sprite Cache.
 

Uses of ShaderProgram in com.badlogic.gdx.graphics.g3d
 

Fields in com.badlogic.gdx.graphics.g3d declared as ShaderProgram
 ShaderProgram Material.Shader
           
 

Uses of ShaderProgram in com.badlogic.gdx.graphics.g3d.decals
 

Methods in com.badlogic.gdx.graphics.g3d.decals that return ShaderProgram
 ShaderProgram CameraGroupStrategy.getGroupShader(int group)
           
 ShaderProgram DefaultGroupStrategy.getGroupShader(int group)
           
 ShaderProgram GroupStrategy.getGroupShader(int group)
          Returns the shader to be used for the group.
 ShaderProgram SimpleOrthoGroupStrategy.getGroupShader(int group)
           
 

Methods in com.badlogic.gdx.graphics.g3d.decals with parameters of type ShaderProgram
protected  void DecalBatch.flush(ShaderProgram shader, int verticesPosition)
          Flushes vertices[0,verticesPosition[ to GL verticesPosition % Decal.SIZE must equal 0
 

Uses of ShaderProgram in com.badlogic.gdx.graphics.glutils
 

Methods in com.badlogic.gdx.graphics.glutils that return ShaderProgram
static ShaderProgram ImmediateModeRenderer20.createDefaultShader(boolean hasNormals, boolean hasColors, int numTexCoords)
          Returns a new instance of the default shader used by SpriteBatch for GL2 when no shader is specified.
 

Methods in com.badlogic.gdx.graphics.glutils with parameters of type ShaderProgram
 void VertexArray.bind(ShaderProgram shader)
           
 void VertexBufferObject.bind(ShaderProgram shader)
          Binds this VertexBufferObject for rendering via glDrawArrays or glDrawElements
 void VertexBufferObjectSubData.bind(ShaderProgram shader)
          Binds this VertexBufferObject for rendering via glDrawArrays or glDrawElements
 void VertexData.bind(ShaderProgram shader)
          Binds this VertexData for rendering via glDrawArrays or glDrawElements.
 void ImmediateModeRenderer20.setShader(ShaderProgram shader)
           
 void VertexArray.unbind(ShaderProgram shader)
          Unbinds this VertexBufferObject.
 void VertexBufferObject.unbind(ShaderProgram shader)
          Unbinds this VertexBufferObject.
 void VertexBufferObjectSubData.unbind(ShaderProgram shader)
          Unbinds this VertexBufferObject.
 void VertexData.unbind(ShaderProgram shader)
          Unbinds this VertexData.
 

Constructors in com.badlogic.gdx.graphics.glutils with parameters of type ShaderProgram
ImmediateModeRenderer20(int maxVertices, boolean hasNormals, boolean hasColors, int numTexCoords, ShaderProgram shader)
           
 


libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)