Download Now

    Reference TSkinVertexBuffer

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

    TSkinVertexBuffer is a buffer of vertices moved by bones
      TSkinVertexBuffer = class(TDrawingBuffer<TSkinVertex>)
      protected
        function CountAttributes: Integer; override;
        procedure BindAttributes; override;
      public
        { Add a vertex, returning the buffer so calls can be chained }
        function Add(const V, N: TVec3; const Tex: TVec2; const Bones, Weights: TVec4): TSkinVertexBuffer; overload;
      end;

    See also

    TVec2 in Codebot.Geometry.pas
    TVec3 in Codebot.Geometry.pas
    TVec4 in Codebot.Geometry.pas