|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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 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 | |
---|---|
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 with parameters of type ShaderProgram | |
---|---|
void |
ImmediateModeRenderer20.begin(ShaderProgram shader,
int primitiveType)
|
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 |
VertexBufferObject.unbind(ShaderProgram shader)
Unbinds this VertexBufferObject. |
void |
VertexBufferObjectSubData.unbind(ShaderProgram shader)
Unbinds this VertexBufferObject. |
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |