We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
My code is using the following bufferSubData signature.
bufferSubData
bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView, srcOffset: GLuint, length?: GLuint): void;
Notice that it doesn't support passing in an ArrayBuffer, but only DataView or any of the concrete TypedArray classes. I am using a DataView.
ArrayBuffer
DataView
TypedArray
This is what I see in Spector.
The issue [object DataView]. It looks like an unhandled case which falls back to using a string for the report.
[object DataView]
If you use a concrete TypeArray such as Float32Array, it tells me how much bytes were uploaded.
TypeArray
Float32Array
Similar thing happens to bufferData when you use a DataView instead of an ArrayBuffer or a concrete TypedArray.
bufferData
(The STENCIL_BUFFER_BIT is another weird thing visible on the screenshot, but I filed that as a separate issue as #262.)
STENCIL_BUFFER_BIT
The text was updated successfully, but these errors were encountered:
Thanks for the report I ll address it over the weekend.
Sorry, something went wrong.
Do you have a simple repro I can use to test ?
131d7ab
No branches or pull requests
My code is using the following
bufferSubData
signature.Notice that it doesn't support passing in an
ArrayBuffer
, but onlyDataView
or any of the concreteTypedArray
classes. I am using aDataView
.This is what I see in Spector.
The issue
[object DataView]
. It looks like an unhandled case which falls back to using a string for the report.If you use a concrete
TypeArray
such asFloat32Array
, it tells me how much bytes were uploaded.Similar thing happens to
bufferData
when you use aDataView
instead of anArrayBuffer
or a concreteTypedArray
.(The
STENCIL_BUFFER_BIT
is another weird thing visible on the screenshot, but I filed that as a separate issue as #262.)The text was updated successfully, but these errors were encountered: