WebGLRenderingContext.getVertexAttribOffset - Web APIs
文章推薦指數: 80 %
The WebGLRenderingContext.getVertexAttribOffset() method of the WebGL API returns the address of a specified vertex attribute. WebGLRenderingContext.getVertexAttribOffset() TheWebGLRenderingContext.getVertexAttribOffset()methodoftheWebGLAPIreturnstheaddressofaspecifiedvertexattribute. Syntax GLintptrgl.getVertexAttribOffset(index,pname); Parameters indexAGLuintspecifyingtheindexofthevertexattribute.pnameAGLenumwhichmustbegl.VERTEX_ATTRIB_ARRAY_POINTER. Returnvalue AGLintptrindicatingtheaddressofthevertexattribute. Examples gl.getVertexAttribOffset(i,gl.VERTEX_ATTRIB_ARRAY_POINTER); Specifications Specification WebGLSpecification(WebGL)#5.14.10 Browsercompatibility Desktop Mobile Chrome Edge Firefox InternetExplorer Opera Safari WebViewAndroid ChromeAndroid FirefoxforAndroid OperaAndroid SafarionIOS SamsungInternet getVertexAttribOffset 9 12 4 11 12 5.1 ≤37 25 Yes 12 8 1.5 Seealso WebGLRenderingContext.vertexAttribPointer() ©2005–2021MDNcontributors.LicensedundertheCreativeCommonsAttribution-ShareAlikeLicensev2.5orlater. https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset
延伸文章資訊
- 1glGetVertexAttribPointerv
- 2getVertexAttribOffset | Apple Developer Documentation
getVertexAttribOffset. No overview available. Availability. Safari Desktop 9.0+; Safari Mobile 9....
- 3WebGLRenderingContext.getVertexAttribOffset() | Web API
WebGLRenderingContext.getVertexAttribOffset() 方法源于 WebGL API returns the address of a specified v...
- 4getVertexAttribOffset - Kotlin Programming Language
abstract fun getVertexAttribOffset( index: Int, pname: Int ): Int (source). Stay in touch: Contri...
- 5getVertexAttribOffset method - RenderingContext class - Dart
API docs for the getVertexAttribOffset method from the RenderingContext class, for the Dart progr...