Mercurial > projects > dwt-mac
comparison dwt/opengl/GLData.d @ 117:bb00974d5ded
Ported dwt.opengl.GLData
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 31 Dec 2008 15:48:20 +0100 |
parents | 580596d83ac4 |
children |
comparison
equal
deleted
inserted
replaced
116:580596d83ac4 | 117:bb00974d5ded |
---|---|
132 * description of the receiver. | 132 * description of the receiver. |
133 * | 133 * |
134 * @return a string representation of the data | 134 * @return a string representation of the data |
135 */ | 135 */ |
136 public String toString() { | 136 public String toString() { |
137 return (doubleBuffer ? "doubleBuffer," : "") + | 137 return Format("{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}", (doubleBuffer ? "doubleBuffer," : "") , |
138 (stereo ? "stereo," : "") + | 138 (stereo ? "stereo," : "") , |
139 "r:" + redSize + " g:" + greenSize + " b:" + blueSize + " a:" + alphaSize + "," + | 139 "r:" , redSize , " g:" , greenSize , " b:" , blueSize , " a:" , alphaSize , "," , |
140 "depth:" + depthSize + ",stencil:" + stencilSize + | 140 "depth:" , depthSize , ",stencil:" , stencilSize , |
141 ",accum r:" + accumRedSize + "g:" + accumGreenSize + "b:" + accumBlueSize + "a:" + accumAlphaSize + | 141 ",accum r:" , accumRedSize , "g:" , accumGreenSize , "b:" , accumBlueSize , "a:" , accumAlphaSize , |
142 ",sampleBuffers:" + sampleBuffers + ",samples:" + samples; | 142 ",sampleBuffers:" , sampleBuffers , ",samples:" , samples); |
143 } | 143 } |
144 } | 144 } |