video.glvertex - ICE 0.1 API documentation

ICE 0.1 API documentation

# video.glvertex

OpenGL vertex.

enum GLVertexType;

  Vertex type enum.

  Colored

    Vertex with position and color.

  Textured

    Vertex with position, color and texture coordinate.

struct GLVertex2DColored;

  Vertex with position and color.

  Vector2f vertex;

    Vertex position.

  Color color;

    Vertex color.

  static immutable int vertexOffset;

    Offset of GLVertex2DColored.vertex relative to the struct in bytes.

  static immutable int colorOffset;

    Offset of GLVertex2DColored.color relative to the struct in bytes.

  static immutable GLVertexType vertexType;

    Enum value corresponding to this vertex type.

struct GLVertex2DTextured;

  Vertex with position, color and texture coordinate.

  Vector2f vertex;

    Vertex position.

  Vector2f texcoord;

    Vertex texcoord.

  Color color;

    Vertex color.

  static immutable int vertexOffset;

    Offset of GLVertex2DTextured.vertex relative to the struct in bytes.

  static immutable int texcoordOffset;

    Offset of GLVertex2DTextured.texcoord relative to the struct in bytes.

  static immutable int colorOffset;

    Offset of GLVertex2DTextured.color relative to the struct in bytes.

  static immutable GLVertexType vertexType;

    Enum value corresponding to this vertex type.

Copyright © Ferdinand Majerech 2011. | Page generated by AutoDDoc and Ddoc.