Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 630 vs 631 for /trunk/Source Code/Platform/Video/Buffers/VertexBuffer/Headers/GenericVertexData.h

Diff revisions: vs.
  @@ -55,19 +55,16 @@
55 55 _wasSet(false),
56 56 _dirty(false),
57 57 _normalized(false),
58 - _stride(0),
59 58 _type(GFXDataFormat::UNSIGNED_INT)
60 59 {
61 60 }
62 61
63 62 void set(U32 bufferIndex, U32 instanceDivisor, U32 componentsPerElement,
64 - bool normalized, size_t stride, U32 elementCountOffset,
65 - GFXDataFormat dataType) {
63 + bool normalized, U32 elementCountOffset, GFXDataFormat dataType) {
66 64 this->bufferIndex(bufferIndex);
67 65 this->instanceDivisor(instanceDivisor);
68 66 this->componentsPerElement(componentsPerElement);
69 67 this->normalized(normalized);
70 - this->stride(stride);
71 68 this->offset(elementCountOffset);
72 69 this->dataType(dataType);
73 70 }
  @@ -104,11 +101,6 @@
104 101 _dirty = true;
105 102 }
106 103
107 - inline void stride(size_t stride) {
108 - _stride = stride;
109 - _dirty = true;
110 - }
111 -
112 104 inline void dataType(GFXDataFormat type) {
113 105 _type = type;
114 106 _dirty = true;
  @@ -131,7 +123,6 @@
131 123 return _componentsPerElement;
132 124 }
133 125 inline bool normalized() const { return _normalized; }
134 - inline size_t stride() const { return _stride; }
135 126 inline GFXDataFormat dataType() const { return _type; }
136 127 inline bool wasSet() const { return _wasSet; }
137 128 inline bool dirty() const { return _dirty; }