/* Ċ Ġ* ĠCopyright ĠL WJ GL . ĠAll Ġrights Ġreserved . Ċ Ġ* ĠLicense Ġterms : Ġhttps :// www . lwjgl . org / license Ċ Ġ*/ Ċ package Ġorg . lwjgl . opengl . templates Ċ Ċ import Ġorg . lwjgl . generator .* Ċ import Ġorg . lwjgl . opengl .* Ċ Ċ val ĠAR B _ internal format _ query 2 Ġ= Ġ" ARB Internal format Query 2 ". native Class GL (" ARB _ internal format _ query 2 ") Ġ{ ĊĠĠĠ Ġdocumentation Ġ= ĊĠĠĠĠĠĠĠ Ġ""" ĊĠĠĠĠĠĠĠ ĠNative Ġbindings Ġto Ġthe Ġ$ registry Link Ġextension . ĊĊĠĠĠĠĠĠĠ ĠThis Ġextension Ġextends Ġthe ĠAR B Internal format Query # glGet Internal format iv () Ġquery Ġthat Ġwas Ġadded Ġin Ġthe Ġ${ ARB _ internal format _ query . link } Ġextension Ġto ĊĠĠĠĠĠĠĠ Ġprovide Ġapplications Ġwith Ġmore Ġgran ular Ġper - format Ġcapability Ġinformation . ĊĊĠĠĠĠĠĠĠ ĠThis Ġextension Ġallows Ġthe Ġremainder Ġof Ġthe Ġtexture - style Ġtargets Ġto Ġbe Ġspecified Ġalong Ġwith Ġany Ġpossible Ġinternal Ġformat . ĠWe Ġadd Ġqueries Ġfor Ġadditional ĊĠĠĠĠĠĠĠ Ġproperties Ġsupported Ġfor Ġan Ġinternal Ġformat Ġin Ġaddition Ġto Ġthe Ġmultis ample - related Ġinformation Ġthat Ġwas Ġadded Ġin ĠAR B _ internal format _ query . ĊĊĠĠĠĠĠĠĠ ĠThe Ġgoals Ġof Ġthis Ġextension Ġare Ġto : ĊĠĠĠĠĠĠĠ Ġ${ ol ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" provide Ġa Ġmechanism Ġfor Ġimplementations Ġto Ġdeclare Ġsupport Ġ* above * Ġthe Ġminimum Ġrequired Ġby Ġthe Ġspecification ", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" provide ĠAPI Ġto Ġallow Ġun ivers ally Ġconstant Ġinformation Ġto Ġbe Ġqueried ", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" provide Ġa Ġuser - friendly Ġway Ġof Ġfinding Ġout Ġabout Ġversion - Ġor Ġimplementation - specific Ġlimitations .", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmarker Ġ= Ġ' a ' ĊĠĠĠĠĠĠĠ Ġ)} ĊĠĠĠĠĠĠĠ ĠWhile Ġmuch Ġof Ġthis Ġinformation Ġcan Ġbe Ġdetermined Ġfor Ġa Ġsingle ĠGL Ġversion Ġby Ġcareful Ġexam ination Ġof Ġthe Ġspecification , Ġsupport Ġfor Ġmany Ġof Ġthese ĊĠĠĠĠĠĠĠ Ġproperties Ġhas Ġbeen Ġgrad ually Ġintroduced Ġover Ġa Ġnumber Ġof ĠAPI Ġrevisions . ĠThis Ġcan Ġobserved Ġwhen Ġconsidering Ġthe Ġrange Ġin Ġfunctionality Ġbetween Ġthe ĊĠĠĠĠĠĠĠ Ġvarious Ġversions Ġof ĠGL Ġ 2 , Ġ 3 , Ġand Ġ 4 , Ġas Ġwell Ġas ĠGL ĠES Ġ 2 Ġand Ġ 3 . ĊĊĠĠĠĠĠĠĠ ĠIn Ġthe Ġcase Ġof Ġan Ġapplication Ġwhich Ġw ishes Ġto Ġbe Ġscal able Ġand Ġable Ġto Ġrun Ġon Ġa Ġvariety Ġof Ġpossible ĠGL Ġor ĠGL ĠES Ġversions Ġwithout Ġbeing Ġspecifically ĊĠĠĠĠĠĠĠ Ġt ai lo red Ġfor Ġeach Ġversion , Ġit Ġmust Ġeither Ġhave Ġknowledge Ġof Ġthe Ġspecifications Ġbuilt Ġup Ġinto Ġeither Ġthe Ġcode Ġor Ġtables , Ġor Ġit Ġmust Ġdo Ġa Ġnumber Ġof Ġtests ĊĠĠĠĠĠĠĠ Ġon Ġstartup Ġto Ġdetermine Ġwhich Ġcapabilities Ġare Ġpresent . ĊĊĠĠĠĠĠĠĠ ĠIn ĠOpenGL , Ġother Ġthan Ġthe Ġcourse - gr ained Ġextension Ġmechanism , Ġmany Ġlimitations Ġof , Ġor Ġlimited Ġsupport Ġfor , Ġan Ġinternal format Ġcan Ġonly Ġbe Ġsign aled Ġby ĊĠĠĠĠĠĠĠ Ġfailing Ġan Ġoperation Ġor Ġby Ġoperating Ġat Ġreduced Ġperformance . ĠThus , Ġsuch Ġtests Ġoften Ġinvolve Ġattempts Ġto Ġcreate Ġresources , Ġusing Ġthem Ġin Ġspecific Ġways ĊĠĠĠĠĠĠĠ Ġand Ġbenchmark ing Ġthe Ġoperations Ġto Ġfind Ġout Ġif Ġit Ġis Ġsupported Ġin Ġthe Ġdesired Ġform , Ġand Ġat Ġa Ġrequired Ġperformance Ġlevel . ĠThe Ġextension Ġprovides Ġa Ġway ĊĠĠĠĠĠĠĠ Ġfor Ġthese Ġproperties Ġand Ġcave ats Ġto Ġbe Ġdirectly Ġqueried Ġfrom Ġthe Ġimplementation . ĊĊĠĠĠĠĠĠĠ ĠThis Ġextension Ġis ĠNOT Ġintended Ġto Ġallow Ġimplementations Ġto Ġonly Ġsupport Ġa Ġsubset Ġof Ġfeatures Ġthat Ġare Ġrequired Ġby Ġa Ġspecific ĠGL Ġversion , Ġnor Ġis Ġit ĊĠĠĠĠĠĠĠ Ġintended Ġto Ġreplace Ġthe Ġproper Ġuse Ġof Ġextension Ġchecks Ġfor Ġoptional Ġfunctionality . ĊĊĠĠĠĠĠĠĠ ĠRequires Ġ${ GL 2 0 . core } Ġand Ġ${ ARB _ internal format _ query . link }. Ġ${ GL 4 3 . prom oted } ĊĠĠĠĠĠĠĠ Ġ""" ĊĊĠĠĠ ĠInt Constant ( ĊĠĠĠĠĠĠĠ Ġ" Accepted Ġby Ġthe Ġ{@ code Ġtarget } Ġparameter Ġof ĠGet Internal format iv Ġand ĠGet Internal format i 6 4 v .", ĊĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ 1 D " .. 0 x 0 DE 0 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ 1 D _ ARRAY " .. 0 x 8 C 1 8 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ 2 D " .. 0 x 0 DE 1 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ 2 D _ ARRAY " .. 0 x 8 C 1 A , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ 3 D " .. 0 x 8 0 6 F , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ CUBE _ MAP " .. 0 x 8 5 1 3 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ CUBE _ MAP _ ARRAY " .. 0 x 9 0 0 9 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ RECT ANGLE " .. 0 x 8 4 F 5 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ BUFFER " .. 0 x 8 C 2 A , ĊĠĠĠĠĠĠĠ Ġ" RENDER BUFFER " .. 0 x 8 D 4 1 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ 2 D _ MULT IS AMPLE " .. 0 x 9 1 0 0 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ 2 D _ MULT IS AMPLE _ ARRAY " .. 0 x 9 1 0 2 ĊĠĠĠ Ġ) ĊĊĠĠĠ ĠInt Constant ( ĊĠĠĠĠĠĠĠ Ġ" Accepted Ġby Ġthe Ġ{@ code Ġpname } Ġparameter Ġof ĠGet Internal format iv Ġand ĠGet Internal format i 6 4 v .", ĊĊĠĠĠĠĠĠĠ Ġ" SAMPLES " .. 0 x 8 0 A 9 , ĊĠĠĠĠĠĠĠ Ġ" NUM _ SAMPLE _ COUNT S " .. 0 x 9 3 8 0 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ SUPPORTED " .. 0 x 8 2 6 F , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ PREFERRED " .. 0 x 8 2 7 0 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ RED _ SIZE " .. 0 x 8 2 7 1 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ GREEN _ SIZE " .. 0 x 8 2 7 2 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ BLUE _ SIZE " .. 0 x 8 2 7 3 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ ALPHA _ SIZE " .. 0 x 8 2 7 4 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ DEPTH _ SIZE " .. 0 x 8 2 7 5 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ STENCIL _ SIZE " .. 0 x 8 2 7 6 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ SHARED _ SIZE " .. 0 x 8 2 7 7 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ RED _ TYPE " .. 0 x 8 2 7 8 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ GREEN _ TYPE " .. 0 x 8 2 7 9 , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ BLUE _ TYPE " .. 0 x 8 2 7 A , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ ALPHA _ TYPE " .. 0 x 8 2 7 B , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ DEPTH _ TYPE " .. 0 x 8 2 7 C , ĊĠĠĠĠĠĠĠ Ġ" INTERNAL FORMAT _ STENCIL _ TYPE " .. 0 x 8 2 7 D , ĊĠĠĠĠĠĠĠ Ġ" MAX _ WIDTH " .. 0 x 8 2 7 E , ĊĠĠĠĠĠĠĠ Ġ" MAX _ HEIGHT " .. 0 x 8 2 7 F , ĊĠĠĠĠĠĠĠ Ġ" MAX _ DEPTH " .. 0 x 8 2 8 0 , ĊĠĠĠĠĠĠĠ Ġ" MAX _ LAY ERS " .. 0 x 8 2 8 1 , ĊĠĠĠĠĠĠĠ Ġ" MAX _ COMB IN ED _ DIMENSION S " .. 0 x 8 2 8 2 , ĊĠĠĠĠĠĠĠ Ġ" COLOR _ COMPONENTS " .. 0 x 8 2 8 3 , ĊĠĠĠĠĠĠĠ Ġ" DEPTH _ COMPONENTS " .. 0 x 8 2 8 4 , ĊĠĠĠĠĠĠĠ Ġ" STENCIL _ COMPONENTS " .. 0 x 8 2 8 5 , ĊĠĠĠĠĠĠĠ Ġ" COLOR _ RENDER ABLE " .. 0 x 8 2 8 6 , ĊĠĠĠĠĠĠĠ Ġ" DEPTH _ RENDER ABLE " .. 0 x 8 2 8 7 , ĊĠĠĠĠĠĠĠ Ġ" STENCIL _ RENDER ABLE " .. 0 x 8 2 8 8 , ĊĠĠĠĠĠĠĠ Ġ" FRAMEBUFFER _ RENDER ABLE " .. 0 x 8 2 8 9 , ĊĠĠĠĠĠĠĠ Ġ" FRAMEBUFFER _ RENDER ABLE _ LAYER ED " .. 0 x 8 2 8 A , ĊĠĠĠĠĠĠĠ Ġ" FRAMEBUFFER _ BLEND " .. 0 x 8 2 8 B , ĊĠĠĠĠĠĠĠ Ġ" READ _ PIXEL S " .. 0 x 8 2 8 C , ĊĠĠĠĠĠĠĠ Ġ" READ _ PIXEL S _ FORMAT " .. 0 x 8 2 8 D , ĊĠĠĠĠĠĠĠ Ġ" READ _ PIXEL S _ TYPE " .. 0 x 8 2 8 E , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ IMAGE _ FORMAT " .. 0 x 8 2 8 F , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ IMAGE _ TYPE " .. 0 x 8 2 9 0 , ĊĠĠĠĠĠĠĠ Ġ" GET _ TEXTURE _ IMAGE _ FORMAT " .. 0 x 8 2 9 1 , ĊĠĠĠĠĠĠĠ Ġ" GET _ TEXTURE _ IMAGE _ TYPE " .. 0 x 8 2 9 2 , ĊĠĠĠĠĠĠĠ Ġ" MIP MAP " .. 0 x 8 2 9 3 , ĊĠĠĠĠĠĠĠ Ġ" MAN UAL _ GENER ATE _ MIP MAP " .. 0 x 8 2 9 4 , ĊĠĠĠĠĠĠĠ Ġ" AUTO _ GENER ATE _ MIP MAP " .. 0 x 8 2 9 5 , ĊĠĠĠĠĠĠĠ Ġ" COLOR _ ENCODING " .. 0 x 8 2 9 6 , ĊĠĠĠĠĠĠĠ Ġ" SR GB _ READ " .. 0 x 8 2 9 7 , ĊĠĠĠĠĠĠĠ Ġ" SR GB _ WRITE " .. 0 x 8 2 9 8 , ĊĠĠĠĠĠĠĠ Ġ" SR GB _ DECODE _ ARB " .. 0 x 8 2 9 9 , ĊĠĠĠĠĠĠĠ Ġ" FILTER " .. 0 x 8 2 9 A , ĊĠĠĠĠĠĠĠ Ġ" VERTEX _ TEXTURE " .. 0 x 8 2 9 B , ĊĠĠĠĠĠĠĠ Ġ" T ESS _ CONTROL _ TEXTURE " .. 0 x 8 2 9 C , ĊĠĠĠĠĠĠĠ Ġ" T ESS _ EVAL UATION _ TEXTURE " .. 0 x 8 2 9 D , ĊĠĠĠĠĠĠĠ Ġ" GEOMETRY _ TEXTURE " .. 0 x 8 2 9 E , ĊĠĠĠĠĠĠĠ Ġ" FRAGMENT _ TEXTURE " .. 0 x 8 2 9 F , ĊĠĠĠĠĠĠĠ Ġ" COMPUTE _ TEXTURE " .. 0 x 8 2 A 0 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ SH ADOW " .. 0 x 8 2 A 1 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ G ATHER " .. 0 x 8 2 A 2 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ G ATHER _ SH ADOW " .. 0 x 8 2 A 3 , ĊĠĠĠĠĠĠĠ Ġ" SHADER _ IMAGE _ LOAD " .. 0 x 8 2 A 4 , ĊĠĠĠĠĠĠĠ Ġ" SHADER _ IMAGE _ STORE " .. 0 x 8 2 A 5 , ĊĠĠĠĠĠĠĠ Ġ" SHADER _ IMAGE _ ATOMIC " .. 0 x 8 2 A 6 , ĊĠĠĠĠĠĠĠ Ġ" IMAGE _ TEX EL _ SIZE " .. 0 x 8 2 A 7 , ĊĠĠĠĠĠĠĠ Ġ" IMAGE _ COMPAT IBILITY _ CLASS " .. 0 x 8 2 A 8 , ĊĠĠĠĠĠĠĠ Ġ" IMAGE _ PIXEL _ FORMAT " .. 0 x 8 2 A 9 , ĊĠĠĠĠĠĠĠ Ġ" IMAGE _ PIXEL _ TYPE " .. 0 x 8 2 AA , ĊĠĠĠĠĠĠĠ Ġ" IMAGE _ FORMAT _ COMPAT IBILITY _ TYPE " .. 0 x 9 0 C 7 , ĊĠĠĠĠĠĠĠ Ġ" SIM ULT AN EO US _ TEXTURE _ AND _ DEPTH _ TEST " .. 0 x 8 2 AC , ĊĠĠĠĠĠĠĠ Ġ" SIM ULT AN EO US _ TEXTURE _ AND _ STENCIL _ TEST " .. 0 x 8 2 AD , ĊĠĠĠĠĠĠĠ Ġ" SIM ULT AN EO US _ TEXTURE _ AND _ DEPTH _ WRITE " .. 0 x 8 2 AE , ĊĠĠĠĠĠĠĠ Ġ" SIM ULT AN EO US _ TEXTURE _ AND _ STENCIL _ WRITE " .. 0 x 8 2 AF , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ COMPRESSED " .. 0 x 8 6 A 1 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ COMPRESSED _ BLOCK _ WIDTH " .. 0 x 8 2 B 1 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ COMPRESSED _ BLOCK _ HEIGHT " .. 0 x 8 2 B 2 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ COMPRESSED _ BLOCK _ SIZE " .. 0 x 8 2 B 3 , ĊĠĠĠĠĠĠĠ Ġ" CLEAR _ BUFFER " .. 0 x 8 2 B 4 , ĊĠĠĠĠĠĠĠ Ġ" TEXTURE _ VIEW " .. 0 x 8 2 B 5 , ĊĠĠĠĠĠĠĠ Ġ" VIEW _ COMPAT IBILITY _ CLASS " .. 0 x 8 2 B 6 ĊĠĠĠ Ġ) ĊĊĠĠĠ ĠInt Constant ( Ċ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