Download Now

    Reference TTexVertexBuffer

    Declared in Codebot.Render.Buffers.pas on line 300

    TTexVertexBuffer is a buffer of textured vertices
      TTexVertexBuffer = class(TDrawingBuffer<TTexVertex>)
      protected
        function CountAttributes: Integer; override;
        procedure BindAttributes; override;
      public
        { Add a vertex, returning the buffer so calls can be chained }
        function Add(const V: TVec3; const P: TVec2): TTexVertexBuffer; overload;
        function Add(X, Y, Z, PX, PY: Float): TTexVertexBuffer; overload;
      end;

    See also

    Float in Codebot.System.pas
    TVec2 in Codebot.Geometry.pas
    TVec3 in Codebot.Geometry.pas