glrenderbufferstorage(3g) [osx man page] - The UNIX and ...
文章推薦指數: 80 %
glRenderbufferStorage is equivalent to calling glRenderbufferStorageMultisample() with the samples set to zero. The target of the operation, specified by ... TheUNIXandLinuxForums ForumHome LinuxandUnixManPages SearchForums SearchCommunityPosts Today'sPosts QuickLinks ManPages RedHatCommands OpenSolarisCommands LinuxCommands SunOSCommands FreeBSDCommands AllUNIX ManPages All LinuxManPages FullManRepository LoginorRegistertoAskaQuestionandJoinOurCommunity SearchForums ShowThreads. ShowPosts TagSearch AdvancedSearch QuickLinks ContactUs ForumRules Today'sPosts FAQ Pictures&Albums AllAlbums Miscellaneous WhatisMyIP Whois MarkForumsRead LinuxandUNIXManPages Linux&UnixCommands-SearchManPages glrenderbufferstorage(3g)[osxmanpage] GLRENDERBUFFERSTORAG(3G) OpenGL3.3 GLRENDERBUFFERSTORAG(3G) NAME glRenderbufferStorage-establishdatastorage,formatanddimensionsofarenderbufferobject'simage CSPECIFICATION voidglRenderbufferStorage(GLenumtarget,GLenuminternalformat,GLsizeiwidth,GLsizeiheight); PARAMETERS target SpecifiesabindingtowhichthetargetoftheallocationandmustbeGL_RENDERBUFFER. internalformat Specifiestheinternalformattousefortherenderbufferobject'simage. width Specifiesthewidthoftherenderbuffer,inpixels. height Specifiestheheightoftherenderbuffer,inpixels. DESCRIPTION glRenderbufferStorageisequivalenttocallingglRenderbufferStorageMultisample()withthesamplessettozero. Thetargetoftheoperation,specifiedbytargetmustbeGL_RENDERBUFFER.internalformatspecifiestheinternalformattobeusedforthe renderbufferobject'sstorageandmustbeacolor-renderable,depth-renderable,orstencil-renderableformat.widthandheightarethe dimensions,inpixels,oftherenderbuffer.BothwidthandheightmustbelessthanorequaltothevalueofGL_MAX_RENDERBUFFER_SIZE. Uponsuccess,glRenderbufferStoragedeletesanyexistingdatastorefortherenderbufferimageandthecontentsofthedatastoreafter callingglRenderbufferStorageareundefined. ERRORS GL_INVALID_ENUMisgeneratediftargetisnotGL_RENDERBUFFER. GL_INVALID_VALUEisgeneratedifeitherofwidthorheightisnegative,orgreaterthanthevalueofGL_MAX_RENDERBUFFER_SIZE. GL_INVALID_ENUMisgeneratedifinternalformatisnotacolor-renderable,depth-renderable,orstencil-renderableformat. GL_OUT_OF_MEMORYisgeneratediftheGLisunabletocreateadatastoreoftherequestedsize. SEEALSO glGenRenderbuffers(),glBindRenderbuffer(),glRenderbufferStorageMultisample(),glFramebufferRenderbuffer(),glDeleteRenderbuffers() COPYRIGHT Copyright(C)2010KhronosGroup.ThismaterialmaybedistributedsubjecttothetermsandconditionssetforthintheOpenPublication License,v1.0,8June1999.http://opencontent.org/openpub/. OpenGL3.3 03/08/2011 GLRENDERBUFFERSTORAG(3G) CheckOutthisRelatedManPage GLGETRENDERBUFFERPAR(3G) OpenGL3.3 GLGETRENDERBUFFERPAR(3G) NAME glGetRenderbufferParameteriv-retrieveinformationaboutaboundrenderbufferobject CSPECIFICATION voidglGetRenderbufferParameteriv(GLenumtarget,GLenumpname,GLint*params); PARAMETERS target Specifiesthetargetofthequeryoperation.targetmustbeGL_RENDERBUFFER. pname Specifiestheparameterwhosevaluetoretrievefromtherenderbufferboundtotarget. params Specifiestheaddressofanarraytoreceivethevalueofthequeriedparameter. DESCRIPTION glGetRenderbufferParameterivretrievesinformationaboutaboundrenderbufferobject.targetspecifiesthetargetofthequeryoperation andmustbeGL_RENDERBUFFER.pnamespecifiestheparameterwhosevaluetoqueryandmustbeoneofGL_RENDERBUFFER_WIDTH, GL_RENDERBUFFER_HEIGHT,GL_RENDERBUFFER_INTERNAL_FORMAT,GL_RENDERBUFFER_RED_SIZE,GL_RENDERBUFFER_GREEN_SIZE,GL_RENDERBUFFER_BLUE_SIZE, GL_RENDERBUFFER_ALPHA_SIZE,GL_RENDERBUFFER_DEPTH_SIZE,GL_RENDERBUFFER_DEPTH_SIZE,GL_RENDERBUFFER_STENCIL_SIZE,or GL_RENDERBUFFER_SAMPLES. UponasuccessfulreturnfromglGetRenderbufferParameteriv,ifpnameisGL_RENDERBUFFER_WIDTH,GL_RENDERBUFFER_HEIGHT, GL_RENDERBUFFER_INTERNAL_FORMAT,orGL_RENDERBUFFER_SAMPLES,thenparamswillcontainthewidthinpixels,theheightinpixels,the internalformat,orthenumberofsamples,respectively,oftheimageoftherenderbuffercurrentlyboundtotarget. IfpnameisGL_RENDERBUFFER_RED_SIZE,GL_RENDERBUFFER_GREEN_SIZE,GL_RENDERBUFFER_BLUE_SIZE,GL_RENDERBUFFER_ALPHA_SIZE, GL_RENDERBUFFER_DEPTH_SIZE,orGL_RENDERBUFFER_STENCIL_SIZE,thenparamswillcontaintheactualresolutions(nottheresolutionsspecified whentheimagearraywasdefined)forthered,green,blue,alphadepth,orstencilcomponents,respectively,oftheimageofthe renderbuffercurrentlyboundtotarget. ERRORS GL_INVALID_ENUMisgeneratedifpnameisnotoneoftheacceptedtokens. SEEALSO glGenRenderbuffers(),glFramebufferRenderbuffer(),glBindRenderbuffer(),glRenderbufferStorage(),glRenderbufferStorageMultisample() COPYRIGHT Copyright(C)2010KhronosGroup.ThismaterialmaybedistributedsubjecttothetermsandconditionssetforthintheOpenPublication License,v1.0,8June1999.http://opencontent.org/openpub/. OpenGL3.3 03/08/2011 GLGETRENDERBUFFERPAR(3G) ManPage FeaturedTechVideos
延伸文章資訊
- 1glrenderbufferstorage(3g) [osx man page] - The UNIX and ...
glRenderbufferStorage is equivalent to calling glRenderbufferStorageMultisample() with the sample...
- 2OpenGL glRenderbufferStorage 函数详解_jeffasd的博客
OpenGL glRenderbufferStorage 函数详解glRenderbufferStorage 指定存储在renderbuffer中图像的宽高以及颜色格式,并按照此规格为之分配存储...
- 3C++ (Cpp) glRenderbufferStorage Examples - HotExamples
These are the top rated real world C++ (Cpp) examples of glRenderbufferStorage extracted from ope...
- 4OpenGL glRenderbufferStorage 函式詳解 - 程式人生
glRenderbufferStorage 指定儲存在 renderbuffer 中影象的寬高以及顏色格式,並按照此規格為之分配儲存空間,當一個渲染快取被建立,它沒有任何資料 ...
- 5Java GLES20.glRenderbufferStorage方法代碼示例- 純淨天空
本文整理匯總了Java中android.opengl.GLES20.glRenderbufferStorage方法的典型用法代碼示例。如果您正苦於以下問題:Java GLES20.glRende...