libgdx API

com.badlogic.gdx.graphics.glutils
Interface ImmediateModeRenderer

All Known Implementing Classes:
ImmediateModeRenderer10, ImmediateModeRenderer20

public interface ImmediateModeRenderer


Method Summary
 void begin(Matrix4 projModelView, int primitiveType)
           
 void color(float r, float g, float b, float a)
           
 void dispose()
           
 void end()
           
 int getMaxVertices()
           
 int getNumVertices()
           
 void normal(float x, float y, float z)
           
 void texCoord(float u, float v)
           
 void vertex(float x, float y, float z)
           
 

Method Detail

begin

void begin(Matrix4 projModelView,
           int primitiveType)

color

void color(float r,
           float g,
           float b,
           float a)

texCoord

void texCoord(float u,
              float v)

normal

void normal(float x,
            float y,
            float z)

vertex

void vertex(float x,
            float y,
            float z)

end

void end()

getNumVertices

int getNumVertices()

getMaxVertices

int getMaxVertices()

dispose

void dispose()

libgdx API

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