~haggai-eran/nux/rtl-rebased

« back to all changes in this revision

Viewing changes to NuxGraphics/IOpenGLIndexBuffer.h

  • Committer: Jay Taoko
  • Date: 2011-10-21 22:06:35 UTC
  • mto: This revision was merged to the branch mainline in revision 509.
  • Revision ID: jay.taoko@canonical.com-20111021220635-1tdvncs47hdlfbz1
* Removed custom Nux types: t_u32, t_s32, t_bool, ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    virtual ~IOpenGLIndexBuffer();
36
36
 
37
37
    int Lock(
38
 
      t_u32 OffsetToLock,
39
 
      t_u32 SizeToLock,
 
38
      unsigned int OffsetToLock,
 
39
      unsigned int SizeToLock,
40
40
      void **ppbData);
41
41
    int Unlock();
42
42
 
51
51
    }
52
52
 
53
53
    void BindIndexBuffer();
54
 
    t_u32 GetSize();
 
54
    unsigned int GetSize();
55
55
 
56
56
  private:
57
 
    IOpenGLIndexBuffer(t_u32 Length, VBO_USAGE Usage, INDEX_FORMAT Format, NUX_FILE_LINE_PROTO);
 
57
    IOpenGLIndexBuffer(unsigned int Length, VBO_USAGE Usage, INDEX_FORMAT Format, NUX_FILE_LINE_PROTO);
58
58
 
59
 
    t_u32        _Length;
 
59
    unsigned int        _Length;
60
60
    INDEX_FORMAT   _Format;
61
61
    VBO_USAGE      _Usage;
62
62
 
63
63
    BYTE       *_MemMap;
64
 
    t_u32        _OffsetToLock;
65
 
    t_u32        _SizeToLock;
 
64
    unsigned int        _OffsetToLock;
 
65
    unsigned int        _SizeToLock;
66
66
    friend class GpuDevice;
67
67
  };
68
68