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/ShaderBuffer/Headers/ShaderBuffer.h

Diff revisions: vs.
  @@ -56,35 +56,30 @@
56 56
57 57 virtual void updateData(ptrdiff_t offsetElementCount,
58 58 ptrdiff_t rangeElementCount,
59 - const bufferPtr data,
60 - U32 sizeFactorOffset = 0) = 0;
59 + const bufferPtr data) = 0;
61 60
62 - virtual void setData(const bufferPtr data, U32 sizeFactorOffset = 0);
61 + virtual void setData(const bufferPtr data);
63 62
64 63 virtual void getData(ptrdiff_t offsetElementCount,
65 64 ptrdiff_t rangeElementCount,
66 - bufferPtr result,
67 - U32 sizeFactorOffset = 0) const = 0;
65 + bufferPtr result) const = 0;
68 66
69 67 virtual bool bindRange(U32 bindIndex,
70 68 U32 offsetElementCount,
71 - U32 rangeElementCount,
72 - U32 sizeFactorOffset = 1) = 0;
69 + U32 rangeElementCount) = 0;
73 70
74 - virtual bool bind(U32 bindIndex, U32 sizeFactorOffset = 0) = 0;
71 + virtual bool bind(U32 bindIndex) = 0;
75 72
76 - inline bool bind(ShaderBufferLocation bindIndex, U32 sizeFactorOffset = 0) {
77 - return bind(to_uint(bindIndex), sizeFactorOffset);
73 + inline bool bind(ShaderBufferLocation bindIndex) {
74 + return bind(to_uint(bindIndex));
78 75 }
79 76
80 77 inline bool bindRange(ShaderBufferLocation bindIndex,
81 78 U32 offsetElementCount,
82 - U32 rangeElementCount,
83 - U32 sizeFactorOffset = 0) {
79 + U32 rangeElementCount) {
84 80 return bindRange(to_uint(bindIndex),
85 81 offsetElementCount,
86 - rangeElementCount,
87 - sizeFactorOffset);
82 + rangeElementCount);
88 83
89 84 }
90 85