123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227 |
- /*-------------------------------------------------------------------------------------
- *
- * Copyright (c) Microsoft Corporation
- *
- *-------------------------------------------------------------------------------------*/
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 7.00.0555 */
- /* @@MIDL_FILE_HEADING( ) */
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- /* verify that the <rpcsal.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCSAL_H_VERSION__
- #define __REQUIRED_RPCSAL_H_VERSION__ 100
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __d3d11_h__
- #define __d3d11_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __ID3D11DeviceChild_FWD_DEFINED__
- #define __ID3D11DeviceChild_FWD_DEFINED__
- typedef interface ID3D11DeviceChild ID3D11DeviceChild;
- #endif /* __ID3D11DeviceChild_FWD_DEFINED__ */
- #ifndef __ID3D11DepthStencilState_FWD_DEFINED__
- #define __ID3D11DepthStencilState_FWD_DEFINED__
- typedef interface ID3D11DepthStencilState ID3D11DepthStencilState;
- #endif /* __ID3D11DepthStencilState_FWD_DEFINED__ */
- #ifndef __ID3D11BlendState_FWD_DEFINED__
- #define __ID3D11BlendState_FWD_DEFINED__
- typedef interface ID3D11BlendState ID3D11BlendState;
- #endif /* __ID3D11BlendState_FWD_DEFINED__ */
- #ifndef __ID3D11RasterizerState_FWD_DEFINED__
- #define __ID3D11RasterizerState_FWD_DEFINED__
- typedef interface ID3D11RasterizerState ID3D11RasterizerState;
- #endif /* __ID3D11RasterizerState_FWD_DEFINED__ */
- #ifndef __ID3D11Resource_FWD_DEFINED__
- #define __ID3D11Resource_FWD_DEFINED__
- typedef interface ID3D11Resource ID3D11Resource;
- #endif /* __ID3D11Resource_FWD_DEFINED__ */
- #ifndef __ID3D11Buffer_FWD_DEFINED__
- #define __ID3D11Buffer_FWD_DEFINED__
- typedef interface ID3D11Buffer ID3D11Buffer;
- #endif /* __ID3D11Buffer_FWD_DEFINED__ */
- #ifndef __ID3D11Texture1D_FWD_DEFINED__
- #define __ID3D11Texture1D_FWD_DEFINED__
- typedef interface ID3D11Texture1D ID3D11Texture1D;
- #endif /* __ID3D11Texture1D_FWD_DEFINED__ */
- #ifndef __ID3D11Texture2D_FWD_DEFINED__
- #define __ID3D11Texture2D_FWD_DEFINED__
- typedef interface ID3D11Texture2D ID3D11Texture2D;
- #endif /* __ID3D11Texture2D_FWD_DEFINED__ */
- #ifndef __ID3D11Texture3D_FWD_DEFINED__
- #define __ID3D11Texture3D_FWD_DEFINED__
- typedef interface ID3D11Texture3D ID3D11Texture3D;
- #endif /* __ID3D11Texture3D_FWD_DEFINED__ */
- #ifndef __ID3D11View_FWD_DEFINED__
- #define __ID3D11View_FWD_DEFINED__
- typedef interface ID3D11View ID3D11View;
- #endif /* __ID3D11View_FWD_DEFINED__ */
- #ifndef __ID3D11ShaderResourceView_FWD_DEFINED__
- #define __ID3D11ShaderResourceView_FWD_DEFINED__
- typedef interface ID3D11ShaderResourceView ID3D11ShaderResourceView;
- #endif /* __ID3D11ShaderResourceView_FWD_DEFINED__ */
- #ifndef __ID3D11RenderTargetView_FWD_DEFINED__
- #define __ID3D11RenderTargetView_FWD_DEFINED__
- typedef interface ID3D11RenderTargetView ID3D11RenderTargetView;
- #endif /* __ID3D11RenderTargetView_FWD_DEFINED__ */
- #ifndef __ID3D11DepthStencilView_FWD_DEFINED__
- #define __ID3D11DepthStencilView_FWD_DEFINED__
- typedef interface ID3D11DepthStencilView ID3D11DepthStencilView;
- #endif /* __ID3D11DepthStencilView_FWD_DEFINED__ */
- #ifndef __ID3D11UnorderedAccessView_FWD_DEFINED__
- #define __ID3D11UnorderedAccessView_FWD_DEFINED__
- typedef interface ID3D11UnorderedAccessView ID3D11UnorderedAccessView;
- #endif /* __ID3D11UnorderedAccessView_FWD_DEFINED__ */
- #ifndef __ID3D11VertexShader_FWD_DEFINED__
- #define __ID3D11VertexShader_FWD_DEFINED__
- typedef interface ID3D11VertexShader ID3D11VertexShader;
- #endif /* __ID3D11VertexShader_FWD_DEFINED__ */
- #ifndef __ID3D11HullShader_FWD_DEFINED__
- #define __ID3D11HullShader_FWD_DEFINED__
- typedef interface ID3D11HullShader ID3D11HullShader;
- #endif /* __ID3D11HullShader_FWD_DEFINED__ */
- #ifndef __ID3D11DomainShader_FWD_DEFINED__
- #define __ID3D11DomainShader_FWD_DEFINED__
- typedef interface ID3D11DomainShader ID3D11DomainShader;
- #endif /* __ID3D11DomainShader_FWD_DEFINED__ */
- #ifndef __ID3D11GeometryShader_FWD_DEFINED__
- #define __ID3D11GeometryShader_FWD_DEFINED__
- typedef interface ID3D11GeometryShader ID3D11GeometryShader;
- #endif /* __ID3D11GeometryShader_FWD_DEFINED__ */
- #ifndef __ID3D11PixelShader_FWD_DEFINED__
- #define __ID3D11PixelShader_FWD_DEFINED__
- typedef interface ID3D11PixelShader ID3D11PixelShader;
- #endif /* __ID3D11PixelShader_FWD_DEFINED__ */
- #ifndef __ID3D11ComputeShader_FWD_DEFINED__
- #define __ID3D11ComputeShader_FWD_DEFINED__
- typedef interface ID3D11ComputeShader ID3D11ComputeShader;
- #endif /* __ID3D11ComputeShader_FWD_DEFINED__ */
- #ifndef __ID3D11InputLayout_FWD_DEFINED__
- #define __ID3D11InputLayout_FWD_DEFINED__
- typedef interface ID3D11InputLayout ID3D11InputLayout;
- #endif /* __ID3D11InputLayout_FWD_DEFINED__ */
- #ifndef __ID3D11SamplerState_FWD_DEFINED__
- #define __ID3D11SamplerState_FWD_DEFINED__
- typedef interface ID3D11SamplerState ID3D11SamplerState;
- #endif /* __ID3D11SamplerState_FWD_DEFINED__ */
- #ifndef __ID3D11Asynchronous_FWD_DEFINED__
- #define __ID3D11Asynchronous_FWD_DEFINED__
- typedef interface ID3D11Asynchronous ID3D11Asynchronous;
- #endif /* __ID3D11Asynchronous_FWD_DEFINED__ */
- #ifndef __ID3D11Query_FWD_DEFINED__
- #define __ID3D11Query_FWD_DEFINED__
- typedef interface ID3D11Query ID3D11Query;
- #endif /* __ID3D11Query_FWD_DEFINED__ */
- #ifndef __ID3D11Predicate_FWD_DEFINED__
- #define __ID3D11Predicate_FWD_DEFINED__
- typedef interface ID3D11Predicate ID3D11Predicate;
- #endif /* __ID3D11Predicate_FWD_DEFINED__ */
- #ifndef __ID3D11Counter_FWD_DEFINED__
- #define __ID3D11Counter_FWD_DEFINED__
- typedef interface ID3D11Counter ID3D11Counter;
- #endif /* __ID3D11Counter_FWD_DEFINED__ */
- #ifndef __ID3D11ClassInstance_FWD_DEFINED__
- #define __ID3D11ClassInstance_FWD_DEFINED__
- typedef interface ID3D11ClassInstance ID3D11ClassInstance;
- #endif /* __ID3D11ClassInstance_FWD_DEFINED__ */
- #ifndef __ID3D11ClassLinkage_FWD_DEFINED__
- #define __ID3D11ClassLinkage_FWD_DEFINED__
- typedef interface ID3D11ClassLinkage ID3D11ClassLinkage;
- #endif /* __ID3D11ClassLinkage_FWD_DEFINED__ */
- #ifndef __ID3D11CommandList_FWD_DEFINED__
- #define __ID3D11CommandList_FWD_DEFINED__
- typedef interface ID3D11CommandList ID3D11CommandList;
- #endif /* __ID3D11CommandList_FWD_DEFINED__ */
- #ifndef __ID3D11DeviceContext_FWD_DEFINED__
- #define __ID3D11DeviceContext_FWD_DEFINED__
- typedef interface ID3D11DeviceContext ID3D11DeviceContext;
- #endif /* __ID3D11DeviceContext_FWD_DEFINED__ */
- #ifndef __ID3D11Device_FWD_DEFINED__
- #define __ID3D11Device_FWD_DEFINED__
- typedef interface ID3D11Device ID3D11Device;
- #endif /* __ID3D11Device_FWD_DEFINED__ */
- /* header files for imported files */
- #include "oaidl.h"
- #include "ocidl.h"
- #include "dxgi.h"
- #include "d3dcommon.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- /* interface __MIDL_itf_d3d11_0000_0000 */
- /* [local] */
- #ifndef _D3D11_CONSTANTS
- #define _D3D11_CONSTANTS
- #define D3D11_16BIT_INDEX_STRIP_CUT_VALUE ( 0xffff )
- #define D3D11_32BIT_INDEX_STRIP_CUT_VALUE ( 0xffffffff )
- #define D3D11_8BIT_INDEX_STRIP_CUT_VALUE ( 0xff )
- #define D3D11_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT ( 9 )
- #define D3D11_CLIP_OR_CULL_DISTANCE_COUNT ( 8 )
- #define D3D11_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT ( 2 )
- #define D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT ( 14 )
- #define D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS ( 4 )
- #define D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT ( 15 )
- #define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS ( 4 )
- #define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT ( 15 )
- #define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST ( 1 )
- #define D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS ( 1 )
- #define D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT ( 64 )
- #define D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS ( 4 )
- #define D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT ( 1 )
- #define D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST ( 1 )
- #define D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS ( 1 )
- #define D3D11_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS ( 1 )
- #define D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT ( 128 )
- #define D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST ( 1 )
- #define D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS ( 1 )
- #define D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT ( 128 )
- #define D3D11_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS ( 1 )
- #define D3D11_COMMONSHADER_SAMPLER_REGISTER_COUNT ( 16 )
- #define D3D11_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST ( 1 )
- #define D3D11_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS ( 1 )
- #define D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT ( 16 )
- #define D3D11_COMMONSHADER_SUBROUTINE_NESTING_LIMIT ( 32 )
- #define D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENTS ( 4 )
- #define D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_COMMONSHADER_TEMP_REGISTER_COUNT ( 4096 )
- #define D3D11_COMMONSHADER_TEMP_REGISTER_READS_PER_INST ( 3 )
- #define D3D11_COMMONSHADER_TEMP_REGISTER_READ_PORTS ( 3 )
- #define D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX ( 10 )
- #define D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN ( -10 )
- #define D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE ( -8 )
- #define D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE ( 7 )
- #define D3D11_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 256 )
- #define D3D11_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP ( 64 )
- #define D3D11_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 240 )
- #define D3D11_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP ( 68 )
- #define D3D11_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 224 )
- #define D3D11_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP ( 72 )
- #define D3D11_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 208 )
- #define D3D11_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP ( 76 )
- #define D3D11_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 192 )
- #define D3D11_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP ( 84 )
- #define D3D11_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 176 )
- #define D3D11_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP ( 92 )
- #define D3D11_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 160 )
- #define D3D11_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP ( 100 )
- #define D3D11_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 144 )
- #define D3D11_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP ( 112 )
- #define D3D11_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 128 )
- #define D3D11_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP ( 128 )
- #define D3D11_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 112 )
- #define D3D11_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP ( 144 )
- #define D3D11_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 96 )
- #define D3D11_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP ( 168 )
- #define D3D11_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 80 )
- #define D3D11_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP ( 204 )
- #define D3D11_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 64 )
- #define D3D11_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP ( 256 )
- #define D3D11_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 48 )
- #define D3D11_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP ( 340 )
- #define D3D11_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 32 )
- #define D3D11_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP ( 512 )
- #define D3D11_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD ( 16 )
- #define D3D11_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP ( 768 )
- #define D3D11_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION ( 1 )
- #define D3D11_CS_4_X_RAW_UAV_BYTE_ALIGNMENT ( 256 )
- #define D3D11_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP ( 768 )
- #define D3D11_CS_4_X_THREAD_GROUP_MAX_X ( 768 )
- #define D3D11_CS_4_X_THREAD_GROUP_MAX_Y ( 768 )
- #define D3D11_CS_4_X_UAV_REGISTER_COUNT ( 1 )
- #define D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION ( 65535 )
- #define D3D11_CS_TGSM_REGISTER_COUNT ( 8192 )
- #define D3D11_CS_TGSM_REGISTER_READS_PER_INST ( 1 )
- #define D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS ( 1 )
- #define D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS ( 1 )
- #define D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP ( 1024 )
- #define D3D11_CS_THREAD_GROUP_MAX_X ( 1024 )
- #define D3D11_CS_THREAD_GROUP_MAX_Y ( 1024 )
- #define D3D11_CS_THREAD_GROUP_MAX_Z ( 64 )
- #define D3D11_CS_THREAD_GROUP_MIN_X ( 1 )
- #define D3D11_CS_THREAD_GROUP_MIN_Y ( 1 )
- #define D3D11_CS_THREAD_GROUP_MIN_Z ( 1 )
- #define D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL ( 16384 )
- #define D3D11_DEFAULT_BLEND_FACTOR_ALPHA ( 1.0f )
- #define D3D11_DEFAULT_BLEND_FACTOR_BLUE ( 1.0f )
- #define D3D11_DEFAULT_BLEND_FACTOR_GREEN ( 1.0f )
- #define D3D11_DEFAULT_BLEND_FACTOR_RED ( 1.0f )
- #define D3D11_DEFAULT_BORDER_COLOR_COMPONENT ( 0.0f )
- #define D3D11_DEFAULT_DEPTH_BIAS ( 0 )
- #define D3D11_DEFAULT_DEPTH_BIAS_CLAMP ( 0.0f )
- #define D3D11_DEFAULT_MAX_ANISOTROPY ( 16 )
- #define D3D11_DEFAULT_MIP_LOD_BIAS ( 0.0f )
- #define D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX ( 0 )
- #define D3D11_DEFAULT_SAMPLE_MASK ( 0xffffffff )
- #define D3D11_DEFAULT_SCISSOR_ENDX ( 0 )
- #define D3D11_DEFAULT_SCISSOR_ENDY ( 0 )
- #define D3D11_DEFAULT_SCISSOR_STARTX ( 0 )
- #define D3D11_DEFAULT_SCISSOR_STARTY ( 0 )
- #define D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS ( 0.0f )
- #define D3D11_DEFAULT_STENCIL_READ_MASK ( 0xff )
- #define D3D11_DEFAULT_STENCIL_REFERENCE ( 0 )
- #define D3D11_DEFAULT_STENCIL_WRITE_MASK ( 0xff )
- #define D3D11_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX ( 0 )
- #define D3D11_DEFAULT_VIEWPORT_HEIGHT ( 0 )
- #define D3D11_DEFAULT_VIEWPORT_MAX_DEPTH ( 0.0f )
- #define D3D11_DEFAULT_VIEWPORT_MIN_DEPTH ( 0.0f )
- #define D3D11_DEFAULT_VIEWPORT_TOPLEFTX ( 0 )
- #define D3D11_DEFAULT_VIEWPORT_TOPLEFTY ( 0 )
- #define D3D11_DEFAULT_VIEWPORT_WIDTH ( 0 )
- #define D3D11_DS_INPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS ( 3968 )
- #define D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COUNT ( 32 )
- #define D3D11_DS_INPUT_CONTROL_POINT_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_DS_INPUT_CONTROL_POINT_REGISTER_READ_PORTS ( 1 )
- #define D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENTS ( 3 )
- #define D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COUNT ( 1 )
- #define D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_READ_PORTS ( 1 )
- #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COUNT ( 32 )
- #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READ_PORTS ( 1 )
- #define D3D11_DS_OUTPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_DS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_DS_OUTPUT_REGISTER_COUNT ( 32 )
- #define D3D11_FLOAT16_FUSED_TOLERANCE_IN_ULP ( 0.6 )
- #define D3D11_FLOAT32_MAX ( 3.402823466e+38f )
- #define D3D11_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP ( 0.6f )
- #define D3D11_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR ( 2.4f )
- #define D3D11_FLOAT_TO_SRGB_EXPONENT_NUMERATOR ( 1.0f )
- #define D3D11_FLOAT_TO_SRGB_OFFSET ( 0.055f )
- #define D3D11_FLOAT_TO_SRGB_SCALE_1 ( 12.92f )
- #define D3D11_FLOAT_TO_SRGB_SCALE_2 ( 1.055f )
- #define D3D11_FLOAT_TO_SRGB_THRESHOLD ( 0.0031308f )
- #define D3D11_FTOI_INSTRUCTION_MAX_INPUT ( 2147483647.999f )
- #define D3D11_FTOI_INSTRUCTION_MIN_INPUT ( -2147483648.999f )
- #define D3D11_FTOU_INSTRUCTION_MAX_INPUT ( 4294967295.999f )
- #define D3D11_FTOU_INSTRUCTION_MIN_INPUT ( 0.0f )
- #define D3D11_GS_INPUT_INSTANCE_ID_READS_PER_INST ( 2 )
- #define D3D11_GS_INPUT_INSTANCE_ID_READ_PORTS ( 1 )
- #define D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENTS ( 1 )
- #define D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COUNT ( 1 )
- #define D3D11_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS ( 1 )
- #define D3D11_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_GS_INPUT_PRIM_CONST_REGISTER_COUNT ( 1 )
- #define D3D11_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS ( 1 )
- #define D3D11_GS_INPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_GS_INPUT_REGISTER_COUNT ( 32 )
- #define D3D11_GS_INPUT_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_GS_INPUT_REGISTER_READ_PORTS ( 1 )
- #define D3D11_GS_INPUT_REGISTER_VERTICES ( 32 )
- #define D3D11_GS_MAX_INSTANCE_COUNT ( 32 )
- #define D3D11_GS_MAX_OUTPUT_VERTEX_COUNT_ACROSS_INSTANCES ( 1024 )
- #define D3D11_GS_OUTPUT_ELEMENTS ( 32 )
- #define D3D11_GS_OUTPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_GS_OUTPUT_REGISTER_COUNT ( 32 )
- #define D3D11_HS_CONTROL_POINT_PHASE_INPUT_REGISTER_COUNT ( 32 )
- #define D3D11_HS_CONTROL_POINT_PHASE_OUTPUT_REGISTER_COUNT ( 32 )
- #define D3D11_HS_CONTROL_POINT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_HS_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_HS_CONTROL_POINT_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_HS_CONTROL_POINT_REGISTER_READ_PORTS ( 1 )
- #define D3D11_HS_FORK_PHASE_INSTANCE_COUNT_UPPER_BOUND ( 0xffffffff )
- #define D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENTS ( 1 )
- #define D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COUNT ( 1 )
- #define D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READ_PORTS ( 1 )
- #define D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENTS ( 1 )
- #define D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COUNT ( 1 )
- #define D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READ_PORTS ( 1 )
- #define D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS ( 1 )
- #define D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COUNT ( 1 )
- #define D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS ( 1 )
- #define D3D11_HS_JOIN_PHASE_INSTANCE_COUNT_UPPER_BOUND ( 0xffffffff )
- #define D3D11_HS_MAXTESSFACTOR_LOWER_BOUND ( 1.0f )
- #define D3D11_HS_MAXTESSFACTOR_UPPER_BOUND ( 64.0f )
- #define D3D11_HS_OUTPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS ( 3968 )
- #define D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENTS ( 1 )
- #define D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COUNT ( 1 )
- #define D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READ_PORTS ( 1 )
- #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COUNT ( 32 )
- #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READ_PORTS ( 1 )
- #define D3D11_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES ( 0 )
- #define D3D11_IA_DEFAULT_PRIMITIVE_TOPOLOGY ( 0 )
- #define D3D11_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES ( 0 )
- #define D3D11_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT ( 1 )
- #define D3D11_IA_INSTANCE_ID_BIT_COUNT ( 32 )
- #define D3D11_IA_INTEGER_ARITHMETIC_BIT_COUNT ( 32 )
- #define D3D11_IA_PATCH_MAX_CONTROL_POINT_COUNT ( 32 )
- #define D3D11_IA_PRIMITIVE_ID_BIT_COUNT ( 32 )
- #define D3D11_IA_VERTEX_ID_BIT_COUNT ( 32 )
- #define D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT ( 32 )
- #define D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS ( 128 )
- #define D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ( 32 )
- #define D3D11_INTEGER_DIVIDE_BY_ZERO_QUOTIENT ( 0xffffffff )
- #define D3D11_INTEGER_DIVIDE_BY_ZERO_REMAINDER ( 0xffffffff )
- #define D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL ( 0xffffffff )
- #define D3D11_KEEP_UNORDERED_ACCESS_VIEWS ( 0xffffffff )
- #define D3D11_LINEAR_GAMMA ( 1.0f )
- #define D3D11_MAJOR_VERSION ( 11 )
- #define D3D11_MAX_BORDER_COLOR_COMPONENT ( 1.0f )
- #define D3D11_MAX_DEPTH ( 1.0f )
- #define D3D11_MAX_MAXANISOTROPY ( 16 )
- #define D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT ( 32 )
- #define D3D11_MAX_POSITION_VALUE ( 3.402823466e+34f )
- #define D3D11_MAX_TEXTURE_DIMENSION_2_TO_EXP ( 17 )
- #define D3D11_MINOR_VERSION ( 0 )
- #define D3D11_MIN_BORDER_COLOR_COMPONENT ( 0.0f )
- #define D3D11_MIN_DEPTH ( 0.0f )
- #define D3D11_MIN_MAXANISOTROPY ( 0 )
- #define D3D11_MIP_LOD_BIAS_MAX ( 15.99f )
- #define D3D11_MIP_LOD_BIAS_MIN ( -16.0f )
- #define D3D11_MIP_LOD_FRACTIONAL_BIT_COUNT ( 8 )
- #define D3D11_MIP_LOD_RANGE_BIT_COUNT ( 8 )
- #define D3D11_MULTISAMPLE_ANTIALIAS_LINE_WIDTH ( 1.4f )
- #define D3D11_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT ( 0 )
- #define D3D11_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 15 )
- #define D3D11_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 16 )
- #define D3D11_PS_CS_UAV_REGISTER_COMPONENTS ( 1 )
- #define D3D11_PS_CS_UAV_REGISTER_COUNT ( 8 )
- #define D3D11_PS_CS_UAV_REGISTER_READS_PER_INST ( 1 )
- #define D3D11_PS_CS_UAV_REGISTER_READ_PORTS ( 1 )
- #define D3D11_PS_FRONTFACING_DEFAULT_VALUE ( 0xffffffff )
- #define D3D11_PS_FRONTFACING_FALSE_VALUE ( 0 )
- #define D3D11_PS_FRONTFACING_TRUE_VALUE ( 0xffffffff )
- #define D3D11_PS_INPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_PS_INPUT_REGISTER_COUNT ( 32 )
- #define D3D11_PS_INPUT_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_PS_INPUT_REGISTER_READ_PORTS ( 1 )
- #define D3D11_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT ( 0.0f )
- #define D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS ( 1 )
- #define D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_PS_OUTPUT_DEPTH_REGISTER_COUNT ( 1 )
- #define D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENTS ( 1 )
- #define D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_PS_OUTPUT_MASK_REGISTER_COUNT ( 1 )
- #define D3D11_PS_OUTPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_PS_OUTPUT_REGISTER_COUNT ( 8 )
- #define D3D11_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT ( 0.5f )
- #define D3D11_RAW_UAV_SRV_BYTE_ALIGNMENT ( 16 )
- #define D3D11_REQ_BLEND_OBJECT_COUNT_PER_DEVICE ( 4096 )
- #define D3D11_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP ( 27 )
- #define D3D11_REQ_CONSTANT_BUFFER_ELEMENT_COUNT ( 4096 )
- #define D3D11_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_DEVICE ( 4096 )
- #define D3D11_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP ( 32 )
- #define D3D11_REQ_DRAW_VERTEX_COUNT_2_TO_EXP ( 32 )
- #define D3D11_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION ( 16384 )
- #define D3D11_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT ( 1024 )
- #define D3D11_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT ( 4096 )
- #define D3D11_REQ_MAXANISOTROPY ( 16 )
- #define D3D11_REQ_MIP_LEVELS ( 15 )
- #define D3D11_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES ( 2048 )
- #define D3D11_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE ( 4096 )
- #define D3D11_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH ( 16384 )
- #define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM ( 128 )
- #define D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM ( 0.25f )
- #define D3D11_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP ( 20 )
- #define D3D11_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE ( 4096 )
- #define D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION ( 2048 )
- #define D3D11_REQ_TEXTURE1D_U_DIMENSION ( 16384 )
- #define D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION ( 2048 )
- #define D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION ( 16384 )
- #define D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION ( 2048 )
- #define D3D11_REQ_TEXTURECUBE_DIMENSION ( 16384 )
- #define D3D11_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL ( 0 )
- #define D3D11_SHADER_MAJOR_VERSION ( 5 )
- #define D3D11_SHADER_MAX_INSTANCES ( 65535 )
- #define D3D11_SHADER_MAX_INTERFACES ( 253 )
- #define D3D11_SHADER_MAX_INTERFACE_CALL_SITES ( 4096 )
- #define D3D11_SHADER_MAX_TYPES ( 65535 )
- #define D3D11_SHADER_MINOR_VERSION ( 0 )
- #define D3D11_SHIFT_INSTRUCTION_PAD_VALUE ( 0 )
- #define D3D11_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT ( 5 )
- #define D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ( 8 )
- #define D3D11_SO_BUFFER_MAX_STRIDE_IN_BYTES ( 2048 )
- #define D3D11_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES ( 512 )
- #define D3D11_SO_BUFFER_SLOT_COUNT ( 4 )
- #define D3D11_SO_DDI_REGISTER_INDEX_DENOTING_GAP ( 0xffffffff )
- #define D3D11_SO_NO_RASTERIZED_STREAM ( 0xffffffff )
- #define D3D11_SO_OUTPUT_COMPONENT_COUNT ( 128 )
- #define D3D11_SO_STREAM_COUNT ( 4 )
- #define D3D11_SPEC_DATE_DAY ( 04 )
- #define D3D11_SPEC_DATE_MONTH ( 06 )
- #define D3D11_SPEC_DATE_YEAR ( 2009 )
- #define D3D11_SPEC_VERSION ( 1.0 )
- #define D3D11_SRGB_GAMMA ( 2.2f )
- #define D3D11_SRGB_TO_FLOAT_DENOMINATOR_1 ( 12.92f )
- #define D3D11_SRGB_TO_FLOAT_DENOMINATOR_2 ( 1.055f )
- #define D3D11_SRGB_TO_FLOAT_EXPONENT ( 2.4f )
- #define D3D11_SRGB_TO_FLOAT_OFFSET ( 0.055f )
- #define D3D11_SRGB_TO_FLOAT_THRESHOLD ( 0.04045f )
- #define D3D11_SRGB_TO_FLOAT_TOLERANCE_IN_ULP ( 0.5f )
- #define D3D11_STANDARD_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_STANDARD_COMPONENT_BIT_COUNT_DOUBLED ( 64 )
- #define D3D11_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE ( 4 )
- #define D3D11_STANDARD_PIXEL_COMPONENT_COUNT ( 128 )
- #define D3D11_STANDARD_PIXEL_ELEMENT_COUNT ( 32 )
- #define D3D11_STANDARD_VECTOR_SIZE ( 4 )
- #define D3D11_STANDARD_VERTEX_ELEMENT_COUNT ( 32 )
- #define D3D11_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT ( 64 )
- #define D3D11_SUBPIXEL_FRACTIONAL_BIT_COUNT ( 8 )
- #define D3D11_SUBTEXEL_FRACTIONAL_BIT_COUNT ( 8 )
- #define D3D11_TESSELLATOR_MAX_EVEN_TESSELLATION_FACTOR ( 64 )
- #define D3D11_TESSELLATOR_MAX_ISOLINE_DENSITY_TESSELLATION_FACTOR ( 64 )
- #define D3D11_TESSELLATOR_MAX_ODD_TESSELLATION_FACTOR ( 63 )
- #define D3D11_TESSELLATOR_MAX_TESSELLATION_FACTOR ( 64 )
- #define D3D11_TESSELLATOR_MIN_EVEN_TESSELLATION_FACTOR ( 2 )
- #define D3D11_TESSELLATOR_MIN_ISOLINE_DENSITY_TESSELLATION_FACTOR ( 1 )
- #define D3D11_TESSELLATOR_MIN_ODD_TESSELLATION_FACTOR ( 1 )
- #define D3D11_TEXEL_ADDRESS_RANGE_BIT_COUNT ( 16 )
- #define D3D11_UNBOUND_MEMORY_ACCESS_RESULT ( 0 )
- #define D3D11_VIEWPORT_AND_SCISSORRECT_MAX_INDEX ( 15 )
- #define D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE ( 16 )
- #define D3D11_VIEWPORT_BOUNDS_MAX ( 32767 )
- #define D3D11_VIEWPORT_BOUNDS_MIN ( -32768 )
- #define D3D11_VS_INPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_VS_INPUT_REGISTER_COUNT ( 32 )
- #define D3D11_VS_INPUT_REGISTER_READS_PER_INST ( 2 )
- #define D3D11_VS_INPUT_REGISTER_READ_PORTS ( 1 )
- #define D3D11_VS_OUTPUT_REGISTER_COMPONENTS ( 4 )
- #define D3D11_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
- #define D3D11_VS_OUTPUT_REGISTER_COUNT ( 32 )
- #define D3D11_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT ( 10 )
- #define D3D11_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP ( 25 )
- #define D3D11_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP ( 25 )
- #endif
- #define _FACD3D11 ( 0x87c )
- #define _FACD3D11DEBUG ( ( _FACD3D11 + 1 ) )
- #define MAKE_D3D11_HRESULT( code ) MAKE_HRESULT( 1, _FACD3D11, code )
- #define MAKE_D3D11_STATUS( code ) MAKE_HRESULT( 0, _FACD3D11, code )
- #define D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D11_HRESULT(1)
- #define D3D11_ERROR_FILE_NOT_FOUND MAKE_D3D11_HRESULT(2)
- #define D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTS MAKE_D3D11_HRESULT(3)
- #define D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARD MAKE_D3D11_HRESULT(4)
- #if __SAL_H_FULL_VER < 140050727
- #undef __in_range
- #undef __in_xcount_opt
- #define __in_range(x, y)
- #define __in_xcount_opt(x)
- #endif
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_DEFAULT {};
- extern const DECLSPEC_SELECTANY CD3D11_DEFAULT D3D11_DEFAULT;
- extern "C"{
- #endif
- typedef
- enum D3D11_INPUT_CLASSIFICATION
- { D3D11_INPUT_PER_VERTEX_DATA = 0,
- D3D11_INPUT_PER_INSTANCE_DATA = 1
- } D3D11_INPUT_CLASSIFICATION;
- #define D3D11_APPEND_ALIGNED_ELEMENT ( 0xffffffff )
- typedef struct D3D11_INPUT_ELEMENT_DESC
- {
- LPCSTR SemanticName;
- UINT SemanticIndex;
- DXGI_FORMAT Format;
- UINT InputSlot;
- UINT AlignedByteOffset;
- D3D11_INPUT_CLASSIFICATION InputSlotClass;
- UINT InstanceDataStepRate;
- } D3D11_INPUT_ELEMENT_DESC;
- typedef
- enum D3D11_FILL_MODE
- { D3D11_FILL_WIREFRAME = 2,
- D3D11_FILL_SOLID = 3
- } D3D11_FILL_MODE;
- typedef D3D_PRIMITIVE_TOPOLOGY D3D11_PRIMITIVE_TOPOLOGY;
- typedef D3D_PRIMITIVE D3D11_PRIMITIVE;
- typedef
- enum D3D11_CULL_MODE
- { D3D11_CULL_NONE = 1,
- D3D11_CULL_FRONT = 2,
- D3D11_CULL_BACK = 3
- } D3D11_CULL_MODE;
- typedef struct D3D11_SO_DECLARATION_ENTRY
- {
- UINT Stream;
- LPCSTR SemanticName;
- UINT SemanticIndex;
- BYTE StartComponent;
- BYTE ComponentCount;
- BYTE OutputSlot;
- } D3D11_SO_DECLARATION_ENTRY;
- typedef struct D3D11_VIEWPORT
- {
- FLOAT TopLeftX;
- FLOAT TopLeftY;
- FLOAT Width;
- FLOAT Height;
- FLOAT MinDepth;
- FLOAT MaxDepth;
- } D3D11_VIEWPORT;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- inline bool operator==( const D3D11_VIEWPORT& l, const D3D11_VIEWPORT& r )
- {
- return l.TopLeftX == r.TopLeftX && l.TopLeftY == r.TopLeftY && l.Width == r.Width &&
- l.Height == r.Height && l.MinDepth == r.MinDepth && l.MaxDepth == r.MaxDepth;
- }
- inline bool operator!=( const D3D11_VIEWPORT& l, const D3D11_VIEWPORT& r )
- { return !( l == r ); }
- extern "C"{
- #endif
- typedef
- enum D3D11_RESOURCE_DIMENSION
- { D3D11_RESOURCE_DIMENSION_UNKNOWN = 0,
- D3D11_RESOURCE_DIMENSION_BUFFER = 1,
- D3D11_RESOURCE_DIMENSION_TEXTURE1D = 2,
- D3D11_RESOURCE_DIMENSION_TEXTURE2D = 3,
- D3D11_RESOURCE_DIMENSION_TEXTURE3D = 4
- } D3D11_RESOURCE_DIMENSION;
- typedef D3D_SRV_DIMENSION D3D11_SRV_DIMENSION;
- typedef
- enum D3D11_DSV_DIMENSION
- { D3D11_DSV_DIMENSION_UNKNOWN = 0,
- D3D11_DSV_DIMENSION_TEXTURE1D = 1,
- D3D11_DSV_DIMENSION_TEXTURE1DARRAY = 2,
- D3D11_DSV_DIMENSION_TEXTURE2D = 3,
- D3D11_DSV_DIMENSION_TEXTURE2DARRAY = 4,
- D3D11_DSV_DIMENSION_TEXTURE2DMS = 5,
- D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY = 6
- } D3D11_DSV_DIMENSION;
- typedef
- enum D3D11_RTV_DIMENSION
- { D3D11_RTV_DIMENSION_UNKNOWN = 0,
- D3D11_RTV_DIMENSION_BUFFER = 1,
- D3D11_RTV_DIMENSION_TEXTURE1D = 2,
- D3D11_RTV_DIMENSION_TEXTURE1DARRAY = 3,
- D3D11_RTV_DIMENSION_TEXTURE2D = 4,
- D3D11_RTV_DIMENSION_TEXTURE2DARRAY = 5,
- D3D11_RTV_DIMENSION_TEXTURE2DMS = 6,
- D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY = 7,
- D3D11_RTV_DIMENSION_TEXTURE3D = 8
- } D3D11_RTV_DIMENSION;
- typedef
- enum D3D11_UAV_DIMENSION
- { D3D11_UAV_DIMENSION_UNKNOWN = 0,
- D3D11_UAV_DIMENSION_BUFFER = 1,
- D3D11_UAV_DIMENSION_TEXTURE1D = 2,
- D3D11_UAV_DIMENSION_TEXTURE1DARRAY = 3,
- D3D11_UAV_DIMENSION_TEXTURE2D = 4,
- D3D11_UAV_DIMENSION_TEXTURE2DARRAY = 5,
- D3D11_UAV_DIMENSION_TEXTURE3D = 8
- } D3D11_UAV_DIMENSION;
- typedef
- enum D3D11_USAGE
- { D3D11_USAGE_DEFAULT = 0,
- D3D11_USAGE_IMMUTABLE = 1,
- D3D11_USAGE_DYNAMIC = 2,
- D3D11_USAGE_STAGING = 3
- } D3D11_USAGE;
- typedef
- enum D3D11_BIND_FLAG
- { D3D11_BIND_VERTEX_BUFFER = 0x1L,
- D3D11_BIND_INDEX_BUFFER = 0x2L,
- D3D11_BIND_CONSTANT_BUFFER = 0x4L,
- D3D11_BIND_SHADER_RESOURCE = 0x8L,
- D3D11_BIND_STREAM_OUTPUT = 0x10L,
- D3D11_BIND_RENDER_TARGET = 0x20L,
- D3D11_BIND_DEPTH_STENCIL = 0x40L,
- D3D11_BIND_UNORDERED_ACCESS = 0x80L
- } D3D11_BIND_FLAG;
- typedef
- enum D3D11_CPU_ACCESS_FLAG
- { D3D11_CPU_ACCESS_WRITE = 0x10000L,
- D3D11_CPU_ACCESS_READ = 0x20000L
- } D3D11_CPU_ACCESS_FLAG;
- typedef
- enum D3D11_RESOURCE_MISC_FLAG
- { D3D11_RESOURCE_MISC_GENERATE_MIPS = 0x1L,
- D3D11_RESOURCE_MISC_SHARED = 0x2L,
- D3D11_RESOURCE_MISC_TEXTURECUBE = 0x4L,
- D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS = 0x10L,
- D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS = 0x20L,
- D3D11_RESOURCE_MISC_BUFFER_STRUCTURED = 0x40L,
- D3D11_RESOURCE_MISC_RESOURCE_CLAMP = 0x80L,
- D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x100L,
- D3D11_RESOURCE_MISC_GDI_COMPATIBLE = 0x200L
- } D3D11_RESOURCE_MISC_FLAG;
- typedef
- enum D3D11_MAP
- { D3D11_MAP_READ = 1,
- D3D11_MAP_WRITE = 2,
- D3D11_MAP_READ_WRITE = 3,
- D3D11_MAP_WRITE_DISCARD = 4,
- D3D11_MAP_WRITE_NO_OVERWRITE = 5
- } D3D11_MAP;
- typedef
- enum D3D11_MAP_FLAG
- { D3D11_MAP_FLAG_DO_NOT_WAIT = 0x100000L
- } D3D11_MAP_FLAG;
- typedef
- enum D3D11_RAISE_FLAG
- { D3D11_RAISE_FLAG_DRIVER_INTERNAL_ERROR = 0x1L
- } D3D11_RAISE_FLAG;
- typedef
- enum D3D11_CLEAR_FLAG
- { D3D11_CLEAR_DEPTH = 0x1L,
- D3D11_CLEAR_STENCIL = 0x2L
- } D3D11_CLEAR_FLAG;
- typedef RECT D3D11_RECT;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_RECT : public D3D11_RECT
- {
- CD3D11_RECT()
- {}
- explicit CD3D11_RECT( const D3D11_RECT& o ) :
- D3D11_RECT( o )
- {}
- explicit CD3D11_RECT(
- LONG Left,
- LONG Top,
- LONG Right,
- LONG Bottom )
- {
- left = Left;
- top = Top;
- right = Right;
- bottom = Bottom;
- }
- ~CD3D11_RECT() {}
- operator const D3D11_RECT&() const { return *this; }
- };
- inline bool operator==( const D3D11_RECT& l, const D3D11_RECT& r )
- {
- return l.left == r.left && l.top == r.top &&
- l.right == r.right && l.bottom == r.bottom;
- }
- inline bool operator!=( const D3D11_RECT& l, const D3D11_RECT& r )
- { return !( l == r ); }
- extern "C"{
- #endif
- typedef struct D3D11_BOX
- {
- UINT left;
- UINT top;
- UINT front;
- UINT right;
- UINT bottom;
- UINT back;
- } D3D11_BOX;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_BOX : public D3D11_BOX
- {
- CD3D11_BOX()
- {}
- explicit CD3D11_BOX( const D3D11_BOX& o ) :
- D3D11_BOX( o )
- {}
- explicit CD3D11_BOX(
- LONG Left,
- LONG Top,
- LONG Front,
- LONG Right,
- LONG Bottom,
- LONG Back )
- {
- left = Left;
- top = Top;
- front = Front;
- right = Right;
- bottom = Bottom;
- back = Back;
- }
- ~CD3D11_BOX() {}
- operator const D3D11_BOX&() const { return *this; }
- };
- inline bool operator==( const D3D11_BOX& l, const D3D11_BOX& r )
- {
- return l.left == r.left && l.top == r.top && l.front == r.front &&
- l.right == r.right && l.bottom == r.bottom && l.back == r.back;
- }
- inline bool operator!=( const D3D11_BOX& l, const D3D11_BOX& r )
- { return !( l == r ); }
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0000_v0_0_s_ifspec;
- #ifndef __ID3D11DeviceChild_INTERFACE_DEFINED__
- #define __ID3D11DeviceChild_INTERFACE_DEFINED__
- /* interface ID3D11DeviceChild */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11DeviceChild;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("1841e5c8-16b0-489b-bcc8-44cfb0d5deae")
- ID3D11DeviceChild : public IUnknown
- {
- public:
- virtual void STDMETHODCALLTYPE GetDevice(
- /* [annotation] */
- __out ID3D11Device **ppDevice) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11DeviceChildVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11DeviceChild * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11DeviceChild * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11DeviceChild * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11DeviceChild * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11DeviceChild * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11DeviceChild * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11DeviceChild * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D11DeviceChildVtbl;
- interface ID3D11DeviceChild
- {
- CONST_VTBL struct ID3D11DeviceChildVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11DeviceChild_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11DeviceChild_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11DeviceChild_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11DeviceChild_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11DeviceChild_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11DeviceChild_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11DeviceChild_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11DeviceChild_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0001 */
- /* [local] */
- typedef
- enum D3D11_COMPARISON_FUNC
- { D3D11_COMPARISON_NEVER = 1,
- D3D11_COMPARISON_LESS = 2,
- D3D11_COMPARISON_EQUAL = 3,
- D3D11_COMPARISON_LESS_EQUAL = 4,
- D3D11_COMPARISON_GREATER = 5,
- D3D11_COMPARISON_NOT_EQUAL = 6,
- D3D11_COMPARISON_GREATER_EQUAL = 7,
- D3D11_COMPARISON_ALWAYS = 8
- } D3D11_COMPARISON_FUNC;
- typedef
- enum D3D11_DEPTH_WRITE_MASK
- { D3D11_DEPTH_WRITE_MASK_ZERO = 0,
- D3D11_DEPTH_WRITE_MASK_ALL = 1
- } D3D11_DEPTH_WRITE_MASK;
- typedef
- enum D3D11_STENCIL_OP
- { D3D11_STENCIL_OP_KEEP = 1,
- D3D11_STENCIL_OP_ZERO = 2,
- D3D11_STENCIL_OP_REPLACE = 3,
- D3D11_STENCIL_OP_INCR_SAT = 4,
- D3D11_STENCIL_OP_DECR_SAT = 5,
- D3D11_STENCIL_OP_INVERT = 6,
- D3D11_STENCIL_OP_INCR = 7,
- D3D11_STENCIL_OP_DECR = 8
- } D3D11_STENCIL_OP;
- typedef struct D3D11_DEPTH_STENCILOP_DESC
- {
- D3D11_STENCIL_OP StencilFailOp;
- D3D11_STENCIL_OP StencilDepthFailOp;
- D3D11_STENCIL_OP StencilPassOp;
- D3D11_COMPARISON_FUNC StencilFunc;
- } D3D11_DEPTH_STENCILOP_DESC;
- typedef struct D3D11_DEPTH_STENCIL_DESC
- {
- BOOL DepthEnable;
- D3D11_DEPTH_WRITE_MASK DepthWriteMask;
- D3D11_COMPARISON_FUNC DepthFunc;
- BOOL StencilEnable;
- UINT8 StencilReadMask;
- UINT8 StencilWriteMask;
- D3D11_DEPTH_STENCILOP_DESC FrontFace;
- D3D11_DEPTH_STENCILOP_DESC BackFace;
- } D3D11_DEPTH_STENCIL_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_DEPTH_STENCIL_DESC : public D3D11_DEPTH_STENCIL_DESC
- {
- CD3D11_DEPTH_STENCIL_DESC()
- {}
- explicit CD3D11_DEPTH_STENCIL_DESC( const D3D11_DEPTH_STENCIL_DESC& o ) :
- D3D11_DEPTH_STENCIL_DESC( o )
- {}
- explicit CD3D11_DEPTH_STENCIL_DESC( CD3D11_DEFAULT )
- {
- DepthEnable = TRUE;
- DepthWriteMask = D3D11_DEPTH_WRITE_MASK_ALL;
- DepthFunc = D3D11_COMPARISON_LESS;
- StencilEnable = FALSE;
- StencilReadMask = D3D11_DEFAULT_STENCIL_READ_MASK;
- StencilWriteMask = D3D11_DEFAULT_STENCIL_WRITE_MASK;
- const D3D11_DEPTH_STENCILOP_DESC defaultStencilOp =
- { D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_STENCIL_OP_KEEP, D3D11_COMPARISON_ALWAYS };
- FrontFace = defaultStencilOp;
- BackFace = defaultStencilOp;
- }
- explicit CD3D11_DEPTH_STENCIL_DESC(
- BOOL depthEnable,
- D3D11_DEPTH_WRITE_MASK depthWriteMask,
- D3D11_COMPARISON_FUNC depthFunc,
- BOOL stencilEnable,
- UINT8 stencilReadMask,
- UINT8 stencilWriteMask,
- D3D11_STENCIL_OP frontStencilFailOp,
- D3D11_STENCIL_OP frontStencilDepthFailOp,
- D3D11_STENCIL_OP frontStencilPassOp,
- D3D11_COMPARISON_FUNC frontStencilFunc,
- D3D11_STENCIL_OP backStencilFailOp,
- D3D11_STENCIL_OP backStencilDepthFailOp,
- D3D11_STENCIL_OP backStencilPassOp,
- D3D11_COMPARISON_FUNC backStencilFunc )
- {
- DepthEnable = depthEnable;
- DepthWriteMask = depthWriteMask;
- DepthFunc = depthFunc;
- StencilEnable = stencilEnable;
- StencilReadMask = stencilReadMask;
- StencilWriteMask = stencilWriteMask;
- FrontFace.StencilFailOp = frontStencilFailOp;
- FrontFace.StencilDepthFailOp = frontStencilDepthFailOp;
- FrontFace.StencilPassOp = frontStencilPassOp;
- FrontFace.StencilFunc = frontStencilFunc;
- BackFace.StencilFailOp = backStencilFailOp;
- BackFace.StencilDepthFailOp = backStencilDepthFailOp;
- BackFace.StencilPassOp = backStencilPassOp;
- BackFace.StencilFunc = backStencilFunc;
- }
- ~CD3D11_DEPTH_STENCIL_DESC() {}
- operator const D3D11_DEPTH_STENCIL_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0001_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0001_v0_0_s_ifspec;
- #ifndef __ID3D11DepthStencilState_INTERFACE_DEFINED__
- #define __ID3D11DepthStencilState_INTERFACE_DEFINED__
- /* interface ID3D11DepthStencilState */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11DepthStencilState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1")
- ID3D11DepthStencilState : public ID3D11DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_DEPTH_STENCIL_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11DepthStencilStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11DepthStencilState * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11DepthStencilState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11DepthStencilState * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11DepthStencilState * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11DepthStencilState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11DepthStencilState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11DepthStencilState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11DepthStencilState * This,
- /* [annotation] */
- __out D3D11_DEPTH_STENCIL_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11DepthStencilStateVtbl;
- interface ID3D11DepthStencilState
- {
- CONST_VTBL struct ID3D11DepthStencilStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11DepthStencilState_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11DepthStencilState_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11DepthStencilState_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11DepthStencilState_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11DepthStencilState_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11DepthStencilState_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11DepthStencilState_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11DepthStencilState_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11DepthStencilState_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0002 */
- /* [local] */
- typedef
- enum D3D11_BLEND
- { D3D11_BLEND_ZERO = 1,
- D3D11_BLEND_ONE = 2,
- D3D11_BLEND_SRC_COLOR = 3,
- D3D11_BLEND_INV_SRC_COLOR = 4,
- D3D11_BLEND_SRC_ALPHA = 5,
- D3D11_BLEND_INV_SRC_ALPHA = 6,
- D3D11_BLEND_DEST_ALPHA = 7,
- D3D11_BLEND_INV_DEST_ALPHA = 8,
- D3D11_BLEND_DEST_COLOR = 9,
- D3D11_BLEND_INV_DEST_COLOR = 10,
- D3D11_BLEND_SRC_ALPHA_SAT = 11,
- D3D11_BLEND_BLEND_FACTOR = 14,
- D3D11_BLEND_INV_BLEND_FACTOR = 15,
- D3D11_BLEND_SRC1_COLOR = 16,
- D3D11_BLEND_INV_SRC1_COLOR = 17,
- D3D11_BLEND_SRC1_ALPHA = 18,
- D3D11_BLEND_INV_SRC1_ALPHA = 19
- } D3D11_BLEND;
- typedef
- enum D3D11_BLEND_OP
- { D3D11_BLEND_OP_ADD = 1,
- D3D11_BLEND_OP_SUBTRACT = 2,
- D3D11_BLEND_OP_REV_SUBTRACT = 3,
- D3D11_BLEND_OP_MIN = 4,
- D3D11_BLEND_OP_MAX = 5
- } D3D11_BLEND_OP;
- typedef
- enum D3D11_COLOR_WRITE_ENABLE
- { D3D11_COLOR_WRITE_ENABLE_RED = 1,
- D3D11_COLOR_WRITE_ENABLE_GREEN = 2,
- D3D11_COLOR_WRITE_ENABLE_BLUE = 4,
- D3D11_COLOR_WRITE_ENABLE_ALPHA = 8,
- D3D11_COLOR_WRITE_ENABLE_ALL = ( ( ( D3D11_COLOR_WRITE_ENABLE_RED | D3D11_COLOR_WRITE_ENABLE_GREEN ) | D3D11_COLOR_WRITE_ENABLE_BLUE ) | D3D11_COLOR_WRITE_ENABLE_ALPHA )
- } D3D11_COLOR_WRITE_ENABLE;
- typedef struct D3D11_RENDER_TARGET_BLEND_DESC
- {
- BOOL BlendEnable;
- D3D11_BLEND SrcBlend;
- D3D11_BLEND DestBlend;
- D3D11_BLEND_OP BlendOp;
- D3D11_BLEND SrcBlendAlpha;
- D3D11_BLEND DestBlendAlpha;
- D3D11_BLEND_OP BlendOpAlpha;
- UINT8 RenderTargetWriteMask;
- } D3D11_RENDER_TARGET_BLEND_DESC;
- typedef struct D3D11_BLEND_DESC
- {
- BOOL AlphaToCoverageEnable;
- BOOL IndependentBlendEnable;
- D3D11_RENDER_TARGET_BLEND_DESC RenderTarget[ 8 ];
- } D3D11_BLEND_DESC;
- /* Note, the array size for RenderTarget[] above is D3D11_SIMULTANEOUS_RENDERTARGET_COUNT.
- IDL processing/generation of this header replaces the define; this comment is merely explaining what happened. */
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_BLEND_DESC : public D3D11_BLEND_DESC
- {
- CD3D11_BLEND_DESC()
- {}
- explicit CD3D11_BLEND_DESC( const D3D11_BLEND_DESC& o ) :
- D3D11_BLEND_DESC( o )
- {}
- explicit CD3D11_BLEND_DESC( CD3D11_DEFAULT )
- {
- AlphaToCoverageEnable = FALSE;
- IndependentBlendEnable = FALSE;
- const D3D11_RENDER_TARGET_BLEND_DESC defaultRenderTargetBlendDesc =
- {
- FALSE,
- D3D11_BLEND_ONE, D3D11_BLEND_ZERO, D3D11_BLEND_OP_ADD,
- D3D11_BLEND_ONE, D3D11_BLEND_ZERO, D3D11_BLEND_OP_ADD,
- D3D11_COLOR_WRITE_ENABLE_ALL,
- };
- for (UINT i = 0; i < D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT; ++i)
- RenderTarget[ i ] = defaultRenderTargetBlendDesc;
- }
- ~CD3D11_BLEND_DESC() {}
- operator const D3D11_BLEND_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0002_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0002_v0_0_s_ifspec;
- #ifndef __ID3D11BlendState_INTERFACE_DEFINED__
- #define __ID3D11BlendState_INTERFACE_DEFINED__
- /* interface ID3D11BlendState */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11BlendState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("75b68faa-347d-4159-8f45-a0640f01cd9a")
- ID3D11BlendState : public ID3D11DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_BLEND_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11BlendStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11BlendState * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11BlendState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11BlendState * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11BlendState * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11BlendState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11BlendState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11BlendState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11BlendState * This,
- /* [annotation] */
- __out D3D11_BLEND_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11BlendStateVtbl;
- interface ID3D11BlendState
- {
- CONST_VTBL struct ID3D11BlendStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11BlendState_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11BlendState_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11BlendState_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11BlendState_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11BlendState_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11BlendState_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11BlendState_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11BlendState_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11BlendState_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0003 */
- /* [local] */
- typedef struct D3D11_RASTERIZER_DESC
- {
- D3D11_FILL_MODE FillMode;
- D3D11_CULL_MODE CullMode;
- BOOL FrontCounterClockwise;
- INT DepthBias;
- FLOAT DepthBiasClamp;
- FLOAT SlopeScaledDepthBias;
- BOOL DepthClipEnable;
- BOOL ScissorEnable;
- BOOL MultisampleEnable;
- BOOL AntialiasedLineEnable;
- } D3D11_RASTERIZER_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_RASTERIZER_DESC : public D3D11_RASTERIZER_DESC
- {
- CD3D11_RASTERIZER_DESC()
- {}
- explicit CD3D11_RASTERIZER_DESC( const D3D11_RASTERIZER_DESC& o ) :
- D3D11_RASTERIZER_DESC( o )
- {}
- explicit CD3D11_RASTERIZER_DESC( CD3D11_DEFAULT )
- {
- FillMode = D3D11_FILL_SOLID;
- CullMode = D3D11_CULL_BACK;
- FrontCounterClockwise = FALSE;
- DepthBias = D3D11_DEFAULT_DEPTH_BIAS;
- DepthBiasClamp = D3D11_DEFAULT_DEPTH_BIAS_CLAMP;
- SlopeScaledDepthBias = D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS;
- DepthClipEnable = TRUE;
- ScissorEnable = FALSE;
- MultisampleEnable = FALSE;
- AntialiasedLineEnable = FALSE;
- }
- explicit CD3D11_RASTERIZER_DESC(
- D3D11_FILL_MODE fillMode,
- D3D11_CULL_MODE cullMode,
- BOOL frontCounterClockwise,
- INT depthBias,
- FLOAT depthBiasClamp,
- FLOAT slopeScaledDepthBias,
- BOOL depthClipEnable,
- BOOL scissorEnable,
- BOOL multisampleEnable,
- BOOL antialiasedLineEnable )
- {
- FillMode = fillMode;
- CullMode = cullMode;
- FrontCounterClockwise = frontCounterClockwise;
- DepthBias = depthBias;
- DepthBiasClamp = depthBiasClamp;
- SlopeScaledDepthBias = slopeScaledDepthBias;
- DepthClipEnable = depthClipEnable;
- ScissorEnable = scissorEnable;
- MultisampleEnable = multisampleEnable;
- AntialiasedLineEnable = antialiasedLineEnable;
- }
- ~CD3D11_RASTERIZER_DESC() {}
- operator const D3D11_RASTERIZER_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0003_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0003_v0_0_s_ifspec;
- #ifndef __ID3D11RasterizerState_INTERFACE_DEFINED__
- #define __ID3D11RasterizerState_INTERFACE_DEFINED__
- /* interface ID3D11RasterizerState */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11RasterizerState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7")
- ID3D11RasterizerState : public ID3D11DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_RASTERIZER_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11RasterizerStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11RasterizerState * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11RasterizerState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11RasterizerState * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11RasterizerState * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11RasterizerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11RasterizerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11RasterizerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11RasterizerState * This,
- /* [annotation] */
- __out D3D11_RASTERIZER_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11RasterizerStateVtbl;
- interface ID3D11RasterizerState
- {
- CONST_VTBL struct ID3D11RasterizerStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11RasterizerState_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11RasterizerState_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11RasterizerState_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11RasterizerState_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11RasterizerState_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11RasterizerState_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11RasterizerState_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11RasterizerState_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11RasterizerState_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0004 */
- /* [local] */
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- inline UINT D3D11CalcSubresource( UINT MipSlice, UINT ArraySlice, UINT MipLevels )
- { return MipSlice + ArraySlice * MipLevels; }
- extern "C"{
- #endif
- typedef struct D3D11_SUBRESOURCE_DATA
- {
- const void *pSysMem;
- UINT SysMemPitch;
- UINT SysMemSlicePitch;
- } D3D11_SUBRESOURCE_DATA;
- typedef struct D3D11_MAPPED_SUBRESOURCE
- {
- void *pData;
- UINT RowPitch;
- UINT DepthPitch;
- } D3D11_MAPPED_SUBRESOURCE;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0004_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0004_v0_0_s_ifspec;
- #ifndef __ID3D11Resource_INTERFACE_DEFINED__
- #define __ID3D11Resource_INTERFACE_DEFINED__
- /* interface ID3D11Resource */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Resource;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("dc8e63f3-d12b-4952-b47b-5e45026a862d")
- ID3D11Resource : public ID3D11DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetType(
- /* [annotation] */
- __out D3D11_RESOURCE_DIMENSION *pResourceDimension) = 0;
-
- virtual void STDMETHODCALLTYPE SetEvictionPriority(
- /* [annotation] */
- __in UINT EvictionPriority) = 0;
-
- virtual UINT STDMETHODCALLTYPE GetEvictionPriority( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11ResourceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Resource * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Resource * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Resource * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Resource * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Resource * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Resource * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Resource * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D11Resource * This,
- /* [annotation] */
- __out D3D11_RESOURCE_DIMENSION *pResourceDimension);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D11Resource * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D11Resource * This);
-
- END_INTERFACE
- } ID3D11ResourceVtbl;
- interface ID3D11Resource
- {
- CONST_VTBL struct ID3D11ResourceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Resource_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Resource_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Resource_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Resource_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Resource_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Resource_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Resource_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Resource_GetType(This,pResourceDimension) \
- ( (This)->lpVtbl -> GetType(This,pResourceDimension) )
- #define ID3D11Resource_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D11Resource_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Resource_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0005 */
- /* [local] */
- typedef struct D3D11_BUFFER_DESC
- {
- UINT ByteWidth;
- D3D11_USAGE Usage;
- UINT BindFlags;
- UINT CPUAccessFlags;
- UINT MiscFlags;
- UINT StructureByteStride;
- } D3D11_BUFFER_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_BUFFER_DESC : public D3D11_BUFFER_DESC
- {
- CD3D11_BUFFER_DESC()
- {}
- explicit CD3D11_BUFFER_DESC( const D3D11_BUFFER_DESC& o ) :
- D3D11_BUFFER_DESC( o )
- {}
- explicit CD3D11_BUFFER_DESC(
- UINT byteWidth,
- UINT bindFlags,
- D3D11_USAGE usage = D3D11_USAGE_DEFAULT,
- UINT cpuaccessFlags = 0,
- UINT miscFlags = 0,
- UINT structureByteStride = 0 )
- {
- ByteWidth = byteWidth;
- Usage = usage;
- BindFlags = bindFlags;
- CPUAccessFlags = cpuaccessFlags ;
- MiscFlags = miscFlags;
- StructureByteStride = structureByteStride;
- }
- ~CD3D11_BUFFER_DESC() {}
- operator const D3D11_BUFFER_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0005_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0005_v0_0_s_ifspec;
- #ifndef __ID3D11Buffer_INTERFACE_DEFINED__
- #define __ID3D11Buffer_INTERFACE_DEFINED__
- /* interface ID3D11Buffer */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Buffer;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("48570b85-d1ee-4fcd-a250-eb350722b037")
- ID3D11Buffer : public ID3D11Resource
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_BUFFER_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11BufferVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Buffer * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Buffer * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Buffer * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Buffer * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Buffer * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Buffer * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Buffer * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D11Buffer * This,
- /* [annotation] */
- __out D3D11_RESOURCE_DIMENSION *pResourceDimension);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D11Buffer * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D11Buffer * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11Buffer * This,
- /* [annotation] */
- __out D3D11_BUFFER_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11BufferVtbl;
- interface ID3D11Buffer
- {
- CONST_VTBL struct ID3D11BufferVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Buffer_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Buffer_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Buffer_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Buffer_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Buffer_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Buffer_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Buffer_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Buffer_GetType(This,pResourceDimension) \
- ( (This)->lpVtbl -> GetType(This,pResourceDimension) )
- #define ID3D11Buffer_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D11Buffer_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #define ID3D11Buffer_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Buffer_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0006 */
- /* [local] */
- typedef struct D3D11_TEXTURE1D_DESC
- {
- UINT Width;
- UINT MipLevels;
- UINT ArraySize;
- DXGI_FORMAT Format;
- D3D11_USAGE Usage;
- UINT BindFlags;
- UINT CPUAccessFlags;
- UINT MiscFlags;
- } D3D11_TEXTURE1D_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_TEXTURE1D_DESC : public D3D11_TEXTURE1D_DESC
- {
- CD3D11_TEXTURE1D_DESC()
- {}
- explicit CD3D11_TEXTURE1D_DESC( const D3D11_TEXTURE1D_DESC& o ) :
- D3D11_TEXTURE1D_DESC( o )
- {}
- explicit CD3D11_TEXTURE1D_DESC(
- DXGI_FORMAT format,
- UINT width,
- UINT arraySize = 1,
- UINT mipLevels = 0,
- UINT bindFlags = D3D11_BIND_SHADER_RESOURCE,
- D3D11_USAGE usage = D3D11_USAGE_DEFAULT,
- UINT cpuaccessFlags= 0,
- UINT miscFlags = 0 )
- {
- Width = width;
- MipLevels = mipLevels;
- ArraySize = arraySize;
- Format = format;
- Usage = usage;
- BindFlags = bindFlags;
- CPUAccessFlags = cpuaccessFlags;
- MiscFlags = miscFlags;
- }
- ~CD3D11_TEXTURE1D_DESC() {}
- operator const D3D11_TEXTURE1D_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0006_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0006_v0_0_s_ifspec;
- #ifndef __ID3D11Texture1D_INTERFACE_DEFINED__
- #define __ID3D11Texture1D_INTERFACE_DEFINED__
- /* interface ID3D11Texture1D */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Texture1D;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("f8fb5c27-c6b3-4f75-a4c8-439af2ef564c")
- ID3D11Texture1D : public ID3D11Resource
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_TEXTURE1D_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11Texture1DVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Texture1D * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Texture1D * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Texture1D * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Texture1D * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Texture1D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Texture1D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Texture1D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D11Texture1D * This,
- /* [annotation] */
- __out D3D11_RESOURCE_DIMENSION *pResourceDimension);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D11Texture1D * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D11Texture1D * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11Texture1D * This,
- /* [annotation] */
- __out D3D11_TEXTURE1D_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11Texture1DVtbl;
- interface ID3D11Texture1D
- {
- CONST_VTBL struct ID3D11Texture1DVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Texture1D_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Texture1D_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Texture1D_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Texture1D_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Texture1D_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Texture1D_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Texture1D_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Texture1D_GetType(This,pResourceDimension) \
- ( (This)->lpVtbl -> GetType(This,pResourceDimension) )
- #define ID3D11Texture1D_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D11Texture1D_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #define ID3D11Texture1D_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Texture1D_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0007 */
- /* [local] */
- typedef struct D3D11_TEXTURE2D_DESC
- {
- UINT Width;
- UINT Height;
- UINT MipLevels;
- UINT ArraySize;
- DXGI_FORMAT Format;
- DXGI_SAMPLE_DESC SampleDesc;
- D3D11_USAGE Usage;
- UINT BindFlags;
- UINT CPUAccessFlags;
- UINT MiscFlags;
- } D3D11_TEXTURE2D_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_TEXTURE2D_DESC : public D3D11_TEXTURE2D_DESC
- {
- CD3D11_TEXTURE2D_DESC()
- {}
- explicit CD3D11_TEXTURE2D_DESC( const D3D11_TEXTURE2D_DESC& o ) :
- D3D11_TEXTURE2D_DESC( o )
- {}
- explicit CD3D11_TEXTURE2D_DESC(
- DXGI_FORMAT format,
- UINT width,
- UINT height,
- UINT arraySize = 1,
- UINT mipLevels = 0,
- UINT bindFlags = D3D11_BIND_SHADER_RESOURCE,
- D3D11_USAGE usage = D3D11_USAGE_DEFAULT,
- UINT cpuaccessFlags = 0,
- UINT sampleCount = 1,
- UINT sampleQuality = 0,
- UINT miscFlags = 0 )
- {
- Width = width;
- Height = height;
- MipLevels = mipLevels;
- ArraySize = arraySize;
- Format = format;
- SampleDesc.Count = sampleCount;
- SampleDesc.Quality = sampleQuality;
- Usage = usage;
- BindFlags = bindFlags;
- CPUAccessFlags = cpuaccessFlags;
- MiscFlags = miscFlags;
- }
- ~CD3D11_TEXTURE2D_DESC() {}
- operator const D3D11_TEXTURE2D_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0007_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0007_v0_0_s_ifspec;
- #ifndef __ID3D11Texture2D_INTERFACE_DEFINED__
- #define __ID3D11Texture2D_INTERFACE_DEFINED__
- /* interface ID3D11Texture2D */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Texture2D;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6f15aaf2-d208-4e89-9ab4-489535d34f9c")
- ID3D11Texture2D : public ID3D11Resource
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_TEXTURE2D_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11Texture2DVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Texture2D * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Texture2D * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Texture2D * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Texture2D * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Texture2D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Texture2D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Texture2D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D11Texture2D * This,
- /* [annotation] */
- __out D3D11_RESOURCE_DIMENSION *pResourceDimension);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D11Texture2D * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D11Texture2D * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11Texture2D * This,
- /* [annotation] */
- __out D3D11_TEXTURE2D_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11Texture2DVtbl;
- interface ID3D11Texture2D
- {
- CONST_VTBL struct ID3D11Texture2DVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Texture2D_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Texture2D_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Texture2D_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Texture2D_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Texture2D_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Texture2D_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Texture2D_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Texture2D_GetType(This,pResourceDimension) \
- ( (This)->lpVtbl -> GetType(This,pResourceDimension) )
- #define ID3D11Texture2D_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D11Texture2D_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #define ID3D11Texture2D_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Texture2D_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0008 */
- /* [local] */
- typedef struct D3D11_TEXTURE3D_DESC
- {
- UINT Width;
- UINT Height;
- UINT Depth;
- UINT MipLevels;
- DXGI_FORMAT Format;
- D3D11_USAGE Usage;
- UINT BindFlags;
- UINT CPUAccessFlags;
- UINT MiscFlags;
- } D3D11_TEXTURE3D_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_TEXTURE3D_DESC : public D3D11_TEXTURE3D_DESC
- {
- CD3D11_TEXTURE3D_DESC()
- {}
- explicit CD3D11_TEXTURE3D_DESC( const D3D11_TEXTURE3D_DESC& o ) :
- D3D11_TEXTURE3D_DESC( o )
- {}
- explicit CD3D11_TEXTURE3D_DESC(
- DXGI_FORMAT format,
- UINT width,
- UINT height,
- UINT depth,
- UINT mipLevels = 0,
- UINT bindFlags = D3D11_BIND_SHADER_RESOURCE,
- D3D11_USAGE usage = D3D11_USAGE_DEFAULT,
- UINT cpuaccessFlags = 0,
- UINT miscFlags = 0 )
- {
- Width = width;
- Height = height;
- Depth = depth;
- MipLevels = mipLevels;
- Format = format;
- Usage = usage;
- BindFlags = bindFlags;
- CPUAccessFlags = cpuaccessFlags;
- MiscFlags = miscFlags;
- }
- ~CD3D11_TEXTURE3D_DESC() {}
- operator const D3D11_TEXTURE3D_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0008_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0008_v0_0_s_ifspec;
- #ifndef __ID3D11Texture3D_INTERFACE_DEFINED__
- #define __ID3D11Texture3D_INTERFACE_DEFINED__
- /* interface ID3D11Texture3D */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Texture3D;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("037e866e-f56d-4357-a8af-9dabbe6e250e")
- ID3D11Texture3D : public ID3D11Resource
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_TEXTURE3D_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11Texture3DVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Texture3D * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Texture3D * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Texture3D * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Texture3D * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Texture3D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Texture3D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Texture3D * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetType )(
- ID3D11Texture3D * This,
- /* [annotation] */
- __out D3D11_RESOURCE_DIMENSION *pResourceDimension);
-
- void ( STDMETHODCALLTYPE *SetEvictionPriority )(
- ID3D11Texture3D * This,
- /* [annotation] */
- __in UINT EvictionPriority);
-
- UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
- ID3D11Texture3D * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11Texture3D * This,
- /* [annotation] */
- __out D3D11_TEXTURE3D_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11Texture3DVtbl;
- interface ID3D11Texture3D
- {
- CONST_VTBL struct ID3D11Texture3DVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Texture3D_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Texture3D_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Texture3D_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Texture3D_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Texture3D_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Texture3D_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Texture3D_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Texture3D_GetType(This,pResourceDimension) \
- ( (This)->lpVtbl -> GetType(This,pResourceDimension) )
- #define ID3D11Texture3D_SetEvictionPriority(This,EvictionPriority) \
- ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
- #define ID3D11Texture3D_GetEvictionPriority(This) \
- ( (This)->lpVtbl -> GetEvictionPriority(This) )
- #define ID3D11Texture3D_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Texture3D_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0009 */
- /* [local] */
- typedef
- enum D3D11_TEXTURECUBE_FACE
- { D3D11_TEXTURECUBE_FACE_POSITIVE_X = 0,
- D3D11_TEXTURECUBE_FACE_NEGATIVE_X = 1,
- D3D11_TEXTURECUBE_FACE_POSITIVE_Y = 2,
- D3D11_TEXTURECUBE_FACE_NEGATIVE_Y = 3,
- D3D11_TEXTURECUBE_FACE_POSITIVE_Z = 4,
- D3D11_TEXTURECUBE_FACE_NEGATIVE_Z = 5
- } D3D11_TEXTURECUBE_FACE;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0009_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0009_v0_0_s_ifspec;
- #ifndef __ID3D11View_INTERFACE_DEFINED__
- #define __ID3D11View_INTERFACE_DEFINED__
- /* interface ID3D11View */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11View;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("839d1216-bb2e-412b-b7f4-a9dbebe08ed1")
- ID3D11View : public ID3D11DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetResource(
- /* [annotation] */
- __out ID3D11Resource **ppResource) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11ViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11View * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11View * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11View * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11View * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11View * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11View * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11View * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D11View * This,
- /* [annotation] */
- __out ID3D11Resource **ppResource);
-
- END_INTERFACE
- } ID3D11ViewVtbl;
- interface ID3D11View
- {
- CONST_VTBL struct ID3D11ViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11View_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11View_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11View_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11View_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11View_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11View_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11View_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11View_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11View_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0010 */
- /* [local] */
- typedef struct D3D11_BUFFER_SRV
- {
- union
- {
- UINT FirstElement;
- UINT ElementOffset;
- } ;
- union
- {
- UINT NumElements;
- UINT ElementWidth;
- } ;
- } D3D11_BUFFER_SRV;
- typedef
- enum D3D11_BUFFEREX_SRV_FLAG
- { D3D11_BUFFEREX_SRV_FLAG_RAW = 0x1
- } D3D11_BUFFEREX_SRV_FLAG;
- typedef struct D3D11_BUFFEREX_SRV
- {
- UINT FirstElement;
- UINT NumElements;
- UINT Flags;
- } D3D11_BUFFEREX_SRV;
- typedef struct D3D11_TEX1D_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- } D3D11_TEX1D_SRV;
- typedef struct D3D11_TEX1D_ARRAY_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX1D_ARRAY_SRV;
- typedef struct D3D11_TEX2D_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- } D3D11_TEX2D_SRV;
- typedef struct D3D11_TEX2D_ARRAY_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX2D_ARRAY_SRV;
- typedef struct D3D11_TEX3D_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- } D3D11_TEX3D_SRV;
- typedef struct D3D11_TEXCUBE_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- } D3D11_TEXCUBE_SRV;
- typedef struct D3D11_TEXCUBE_ARRAY_SRV
- {
- UINT MostDetailedMip;
- UINT MipLevels;
- UINT First2DArrayFace;
- UINT NumCubes;
- } D3D11_TEXCUBE_ARRAY_SRV;
- typedef struct D3D11_TEX2DMS_SRV
- {
- UINT UnusedField_NothingToDefine;
- } D3D11_TEX2DMS_SRV;
- typedef struct D3D11_TEX2DMS_ARRAY_SRV
- {
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX2DMS_ARRAY_SRV;
- typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC
- {
- DXGI_FORMAT Format;
- D3D11_SRV_DIMENSION ViewDimension;
- union
- {
- D3D11_BUFFER_SRV Buffer;
- D3D11_TEX1D_SRV Texture1D;
- D3D11_TEX1D_ARRAY_SRV Texture1DArray;
- D3D11_TEX2D_SRV Texture2D;
- D3D11_TEX2D_ARRAY_SRV Texture2DArray;
- D3D11_TEX2DMS_SRV Texture2DMS;
- D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray;
- D3D11_TEX3D_SRV Texture3D;
- D3D11_TEXCUBE_SRV TextureCube;
- D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray;
- D3D11_BUFFEREX_SRV BufferEx;
- } ;
- } D3D11_SHADER_RESOURCE_VIEW_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_SHADER_RESOURCE_VIEW_DESC : public D3D11_SHADER_RESOURCE_VIEW_DESC
- {
- CD3D11_SHADER_RESOURCE_VIEW_DESC()
- {}
- explicit CD3D11_SHADER_RESOURCE_VIEW_DESC( const D3D11_SHADER_RESOURCE_VIEW_DESC& o ) :
- D3D11_SHADER_RESOURCE_VIEW_DESC( o )
- {}
- explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
- D3D11_SRV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mostDetailedMip = 0, // FirstElement for BUFFER
- UINT mipLevels = -1, // NumElements for BUFFER
- UINT firstArraySlice = 0, // First2DArrayFace for TEXTURECUBEARRAY
- UINT arraySize = -1, // NumCubes for TEXTURECUBEARRAY
- UINT flags = 0 ) // BUFFEREX only
- {
- Format = format;
- ViewDimension = viewDimension;
- switch (viewDimension)
- {
- case D3D11_SRV_DIMENSION_BUFFER:
- Buffer.FirstElement = mostDetailedMip;
- Buffer.NumElements = mipLevels;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE1D:
- Texture1D.MostDetailedMip = mostDetailedMip;
- Texture1D.MipLevels = mipLevels;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE1DARRAY:
- Texture1DArray.MostDetailedMip = mostDetailedMip;
- Texture1DArray.MipLevels = mipLevels;
- Texture1DArray.FirstArraySlice = firstArraySlice;
- Texture1DArray.ArraySize = arraySize;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE2D:
- Texture2D.MostDetailedMip = mostDetailedMip;
- Texture2D.MipLevels = mipLevels;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE2DARRAY:
- Texture2DArray.MostDetailedMip = mostDetailedMip;
- Texture2DArray.MipLevels = mipLevels;
- Texture2DArray.FirstArraySlice = firstArraySlice;
- Texture2DArray.ArraySize = arraySize;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE2DMS:
- break;
- case D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY:
- Texture2DMSArray.FirstArraySlice = firstArraySlice;
- Texture2DMSArray.ArraySize = arraySize;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE3D:
- Texture3D.MostDetailedMip = mostDetailedMip;
- Texture3D.MipLevels = mipLevels;
- break;
- case D3D11_SRV_DIMENSION_TEXTURECUBE:
- TextureCube.MostDetailedMip = mostDetailedMip;
- TextureCube.MipLevels = mipLevels;
- break;
- case D3D11_SRV_DIMENSION_TEXTURECUBEARRAY:
- TextureCubeArray.MostDetailedMip = mostDetailedMip;
- TextureCubeArray.MipLevels = mipLevels;
- TextureCubeArray.First2DArrayFace = firstArraySlice;
- TextureCubeArray.NumCubes = arraySize;
- break;
- case D3D11_SRV_DIMENSION_BUFFEREX:
- BufferEx.FirstElement = mostDetailedMip;
- BufferEx.NumElements = mipLevels;
- BufferEx.Flags = flags;
- break;
- default: break;
- }
- }
- explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
- __in ID3D11Buffer*,
- DXGI_FORMAT format,
- UINT firstElement,
- UINT numElements,
- UINT flags = 0 )
- {
- Format = format;
- ViewDimension = D3D11_SRV_DIMENSION_BUFFEREX;
- BufferEx.FirstElement = firstElement;
- BufferEx.NumElements = numElements;
- BufferEx.Flags = flags;
- }
- explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
- __in ID3D11Texture1D* pTex1D,
- D3D11_SRV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mostDetailedMip = 0,
- UINT mipLevels = -1,
- UINT firstArraySlice = 0,
- UINT arraySize = -1 )
- {
- ViewDimension = viewDimension;
- if (DXGI_FORMAT_UNKNOWN == format || -1 == mipLevels ||
- (-1 == arraySize && D3D11_SRV_DIMENSION_TEXTURE1DARRAY == viewDimension))
- {
- D3D11_TEXTURE1D_DESC TexDesc;
- pTex1D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == mipLevels) mipLevels = TexDesc.MipLevels - mostDetailedMip;
- if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
- }
- Format = format;
- switch (viewDimension)
- {
- case D3D11_SRV_DIMENSION_TEXTURE1D:
- Texture1D.MostDetailedMip = mostDetailedMip;
- Texture1D.MipLevels = mipLevels;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE1DARRAY:
- Texture1DArray.MostDetailedMip = mostDetailedMip;
- Texture1DArray.MipLevels = mipLevels;
- Texture1DArray.FirstArraySlice = firstArraySlice;
- Texture1DArray.ArraySize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
- __in ID3D11Texture2D* pTex2D,
- D3D11_SRV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mostDetailedMip = 0,
- UINT mipLevels = -1,
- UINT firstArraySlice = 0, // First2DArrayFace for TEXTURECUBEARRAY
- UINT arraySize = -1 ) // NumCubes for TEXTURECUBEARRAY
- {
- ViewDimension = viewDimension;
- if (DXGI_FORMAT_UNKNOWN == format ||
- (-1 == mipLevels &&
- D3D11_SRV_DIMENSION_TEXTURE2DMS != viewDimension &&
- D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY != viewDimension) ||
- (-1 == arraySize &&
- (D3D11_SRV_DIMENSION_TEXTURE2DARRAY == viewDimension ||
- D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY == viewDimension ||
- D3D11_SRV_DIMENSION_TEXTURECUBEARRAY == viewDimension)))
- {
- D3D11_TEXTURE2D_DESC TexDesc;
- pTex2D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == mipLevels) mipLevels = TexDesc.MipLevels - mostDetailedMip;
- if (-1 == arraySize)
- {
- arraySize = TexDesc.ArraySize - firstArraySlice;
- if (D3D11_SRV_DIMENSION_TEXTURECUBEARRAY == viewDimension) arraySize /= 6;
- }
- }
- Format = format;
- switch (viewDimension)
- {
- case D3D11_SRV_DIMENSION_TEXTURE2D:
- Texture2D.MostDetailedMip = mostDetailedMip;
- Texture2D.MipLevels = mipLevels;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE2DARRAY:
- Texture2DArray.MostDetailedMip = mostDetailedMip;
- Texture2DArray.MipLevels = mipLevels;
- Texture2DArray.FirstArraySlice = firstArraySlice;
- Texture2DArray.ArraySize = arraySize;
- break;
- case D3D11_SRV_DIMENSION_TEXTURE2DMS:
- break;
- case D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY:
- Texture2DMSArray.FirstArraySlice = firstArraySlice;
- Texture2DMSArray.ArraySize = arraySize;
- break;
- case D3D11_SRV_DIMENSION_TEXTURECUBE:
- TextureCube.MostDetailedMip = mostDetailedMip;
- TextureCube.MipLevels = mipLevels;
- break;
- case D3D11_SRV_DIMENSION_TEXTURECUBEARRAY:
- TextureCubeArray.MostDetailedMip = mostDetailedMip;
- TextureCubeArray.MipLevels = mipLevels;
- TextureCubeArray.First2DArrayFace = firstArraySlice;
- TextureCubeArray.NumCubes = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_SHADER_RESOURCE_VIEW_DESC(
- __in ID3D11Texture3D* pTex3D,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mostDetailedMip = 0,
- UINT mipLevels = -1 )
- {
- ViewDimension = D3D11_SRV_DIMENSION_TEXTURE3D;
- if (DXGI_FORMAT_UNKNOWN == format || -1 == mipLevels)
- {
- D3D11_TEXTURE3D_DESC TexDesc;
- pTex3D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == mipLevels) mipLevels = TexDesc.MipLevels - mostDetailedMip;
- }
- Format = format;
- Texture3D.MostDetailedMip = mostDetailedMip;
- Texture3D.MipLevels = mipLevels;
- }
- ~CD3D11_SHADER_RESOURCE_VIEW_DESC() {}
- operator const D3D11_SHADER_RESOURCE_VIEW_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0010_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0010_v0_0_s_ifspec;
- #ifndef __ID3D11ShaderResourceView_INTERFACE_DEFINED__
- #define __ID3D11ShaderResourceView_INTERFACE_DEFINED__
- /* interface ID3D11ShaderResourceView */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11ShaderResourceView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("b0e06fe0-8192-4e1a-b1ca-36d7414710b2")
- ID3D11ShaderResourceView : public ID3D11View
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11ShaderResourceViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11ShaderResourceView * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11ShaderResourceView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11ShaderResourceView * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11ShaderResourceView * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11ShaderResourceView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11ShaderResourceView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11ShaderResourceView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D11ShaderResourceView * This,
- /* [annotation] */
- __out ID3D11Resource **ppResource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11ShaderResourceView * This,
- /* [annotation] */
- __out D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11ShaderResourceViewVtbl;
- interface ID3D11ShaderResourceView
- {
- CONST_VTBL struct ID3D11ShaderResourceViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11ShaderResourceView_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11ShaderResourceView_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11ShaderResourceView_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11ShaderResourceView_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11ShaderResourceView_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11ShaderResourceView_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11ShaderResourceView_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11ShaderResourceView_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #define ID3D11ShaderResourceView_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11ShaderResourceView_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0011 */
- /* [local] */
- typedef struct D3D11_BUFFER_RTV
- {
- union
- {
- UINT FirstElement;
- UINT ElementOffset;
- } ;
- union
- {
- UINT NumElements;
- UINT ElementWidth;
- } ;
- } D3D11_BUFFER_RTV;
- typedef struct D3D11_TEX1D_RTV
- {
- UINT MipSlice;
- } D3D11_TEX1D_RTV;
- typedef struct D3D11_TEX1D_ARRAY_RTV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX1D_ARRAY_RTV;
- typedef struct D3D11_TEX2D_RTV
- {
- UINT MipSlice;
- } D3D11_TEX2D_RTV;
- typedef struct D3D11_TEX2DMS_RTV
- {
- UINT UnusedField_NothingToDefine;
- } D3D11_TEX2DMS_RTV;
- typedef struct D3D11_TEX2D_ARRAY_RTV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX2D_ARRAY_RTV;
- typedef struct D3D11_TEX2DMS_ARRAY_RTV
- {
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX2DMS_ARRAY_RTV;
- typedef struct D3D11_TEX3D_RTV
- {
- UINT MipSlice;
- UINT FirstWSlice;
- UINT WSize;
- } D3D11_TEX3D_RTV;
- typedef struct D3D11_RENDER_TARGET_VIEW_DESC
- {
- DXGI_FORMAT Format;
- D3D11_RTV_DIMENSION ViewDimension;
- union
- {
- D3D11_BUFFER_RTV Buffer;
- D3D11_TEX1D_RTV Texture1D;
- D3D11_TEX1D_ARRAY_RTV Texture1DArray;
- D3D11_TEX2D_RTV Texture2D;
- D3D11_TEX2D_ARRAY_RTV Texture2DArray;
- D3D11_TEX2DMS_RTV Texture2DMS;
- D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray;
- D3D11_TEX3D_RTV Texture3D;
- } ;
- } D3D11_RENDER_TARGET_VIEW_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_RENDER_TARGET_VIEW_DESC : public D3D11_RENDER_TARGET_VIEW_DESC
- {
- CD3D11_RENDER_TARGET_VIEW_DESC()
- {}
- explicit CD3D11_RENDER_TARGET_VIEW_DESC( const D3D11_RENDER_TARGET_VIEW_DESC& o ) :
- D3D11_RENDER_TARGET_VIEW_DESC( o )
- {}
- explicit CD3D11_RENDER_TARGET_VIEW_DESC(
- D3D11_RTV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0, // FirstElement for BUFFER
- UINT firstArraySlice = 0, // NumElements for BUFFER, FirstWSlice for TEXTURE3D
- UINT arraySize = -1 ) // WSize for TEXTURE3D
- {
- Format = format;
- ViewDimension = viewDimension;
- switch (viewDimension)
- {
- case D3D11_RTV_DIMENSION_BUFFER:
- Buffer.FirstElement = mipSlice;
- Buffer.NumElements = firstArraySlice;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE1D:
- Texture1D.MipSlice = mipSlice;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE1DARRAY:
- Texture1DArray.MipSlice = mipSlice;
- Texture1DArray.FirstArraySlice = firstArraySlice;
- Texture1DArray.ArraySize = arraySize;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2D:
- Texture2D.MipSlice = mipSlice;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2DARRAY:
- Texture2DArray.MipSlice = mipSlice;
- Texture2DArray.FirstArraySlice = firstArraySlice;
- Texture2DArray.ArraySize = arraySize;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2DMS:
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY:
- Texture2DMSArray.FirstArraySlice = firstArraySlice;
- Texture2DMSArray.ArraySize = arraySize;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE3D:
- Texture3D.MipSlice = mipSlice;
- Texture3D.FirstWSlice = firstArraySlice;
- Texture3D.WSize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_RENDER_TARGET_VIEW_DESC(
- __in ID3D11Buffer*,
- DXGI_FORMAT format,
- UINT firstElement,
- UINT numElements )
- {
- Format = format;
- ViewDimension = D3D11_RTV_DIMENSION_BUFFER;
- Buffer.FirstElement = firstElement;
- Buffer.NumElements = numElements;
- }
- explicit CD3D11_RENDER_TARGET_VIEW_DESC(
- __in ID3D11Texture1D* pTex1D,
- D3D11_RTV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstArraySlice = 0,
- UINT arraySize = -1 )
- {
- ViewDimension = viewDimension;
- if (DXGI_FORMAT_UNKNOWN == format ||
- (-1 == arraySize && D3D11_RTV_DIMENSION_TEXTURE1DARRAY == viewDimension))
- {
- D3D11_TEXTURE1D_DESC TexDesc;
- pTex1D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
- }
- Format = format;
- switch (viewDimension)
- {
- case D3D11_RTV_DIMENSION_TEXTURE1D:
- Texture1D.MipSlice = mipSlice;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE1DARRAY:
- Texture1DArray.MipSlice = mipSlice;
- Texture1DArray.FirstArraySlice = firstArraySlice;
- Texture1DArray.ArraySize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_RENDER_TARGET_VIEW_DESC(
- __in ID3D11Texture2D* pTex2D,
- D3D11_RTV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstArraySlice = 0,
- UINT arraySize = -1 )
- {
- ViewDimension = viewDimension;
- if (DXGI_FORMAT_UNKNOWN == format ||
- (-1 == arraySize &&
- (D3D11_RTV_DIMENSION_TEXTURE2DARRAY == viewDimension ||
- D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY == viewDimension)))
- {
- D3D11_TEXTURE2D_DESC TexDesc;
- pTex2D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
- }
- Format = format;
- switch (viewDimension)
- {
- case D3D11_RTV_DIMENSION_TEXTURE2D:
- Texture2D.MipSlice = mipSlice;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2DARRAY:
- Texture2DArray.MipSlice = mipSlice;
- Texture2DArray.FirstArraySlice = firstArraySlice;
- Texture2DArray.ArraySize = arraySize;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2DMS:
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY:
- Texture2DMSArray.FirstArraySlice = firstArraySlice;
- Texture2DMSArray.ArraySize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_RENDER_TARGET_VIEW_DESC(
- __in ID3D11Texture3D* pTex3D,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstWSlice = 0,
- UINT wSize = -1 )
- {
- ViewDimension = D3D11_RTV_DIMENSION_TEXTURE3D;
- if (DXGI_FORMAT_UNKNOWN == format || -1 == wSize)
- {
- D3D11_TEXTURE3D_DESC TexDesc;
- pTex3D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == wSize) wSize = TexDesc.Depth - firstWSlice;
- }
- Format = format;
- Texture3D.MipSlice = mipSlice;
- Texture3D.FirstWSlice = firstWSlice;
- Texture3D.WSize = wSize;
- }
- ~CD3D11_RENDER_TARGET_VIEW_DESC() {}
- operator const D3D11_RENDER_TARGET_VIEW_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0011_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0011_v0_0_s_ifspec;
- #ifndef __ID3D11RenderTargetView_INTERFACE_DEFINED__
- #define __ID3D11RenderTargetView_INTERFACE_DEFINED__
- /* interface ID3D11RenderTargetView */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11RenderTargetView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("dfdba067-0b8d-4865-875b-d7b4516cc164")
- ID3D11RenderTargetView : public ID3D11View
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11RenderTargetViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11RenderTargetView * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11RenderTargetView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11RenderTargetView * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11RenderTargetView * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11RenderTargetView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11RenderTargetView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11RenderTargetView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D11RenderTargetView * This,
- /* [annotation] */
- __out ID3D11Resource **ppResource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11RenderTargetView * This,
- /* [annotation] */
- __out D3D11_RENDER_TARGET_VIEW_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11RenderTargetViewVtbl;
- interface ID3D11RenderTargetView
- {
- CONST_VTBL struct ID3D11RenderTargetViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11RenderTargetView_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11RenderTargetView_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11RenderTargetView_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11RenderTargetView_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11RenderTargetView_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11RenderTargetView_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11RenderTargetView_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11RenderTargetView_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #define ID3D11RenderTargetView_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11RenderTargetView_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0012 */
- /* [local] */
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_VIEWPORT : public D3D11_VIEWPORT
- {
- CD3D11_VIEWPORT()
- {}
- explicit CD3D11_VIEWPORT( const D3D11_VIEWPORT& o ) :
- D3D11_VIEWPORT( o )
- {}
- explicit CD3D11_VIEWPORT(
- FLOAT topLeftX,
- FLOAT topLeftY,
- FLOAT width,
- FLOAT height,
- FLOAT minDepth = D3D11_MIN_DEPTH,
- FLOAT maxDepth = D3D11_MAX_DEPTH )
- {
- TopLeftX = topLeftX;
- TopLeftY = topLeftY;
- Width = width;
- Height = height;
- MinDepth = minDepth;
- MaxDepth = maxDepth;
- }
- explicit CD3D11_VIEWPORT(
- __in ID3D11Buffer*,
- __in ID3D11RenderTargetView* pRTView,
- FLOAT topLeftX = 0.0f,
- FLOAT minDepth = D3D11_MIN_DEPTH,
- FLOAT maxDepth = D3D11_MAX_DEPTH )
- {
- D3D11_RENDER_TARGET_VIEW_DESC RTVDesc;
- pRTView->GetDesc( &RTVDesc );
- UINT NumElements = 0;
- switch (RTVDesc.ViewDimension)
- {
- case D3D11_RTV_DIMENSION_BUFFER:
- NumElements = RTVDesc.Buffer.NumElements;
- break;
- default: break;
- }
- TopLeftX = topLeftX;
- TopLeftY = 0.0f;
- Width = NumElements - topLeftX;
- Height = 1.0f;
- MinDepth = minDepth;
- MaxDepth = maxDepth;
- }
- explicit CD3D11_VIEWPORT(
- __in ID3D11Texture1D* pTex1D,
- __in ID3D11RenderTargetView* pRTView,
- FLOAT topLeftX = 0.0f,
- FLOAT minDepth = D3D11_MIN_DEPTH,
- FLOAT maxDepth = D3D11_MAX_DEPTH )
- {
- D3D11_TEXTURE1D_DESC TexDesc;
- pTex1D->GetDesc( &TexDesc );
- D3D11_RENDER_TARGET_VIEW_DESC RTVDesc;
- pRTView->GetDesc( &RTVDesc );
- UINT MipSlice = 0;
- switch (RTVDesc.ViewDimension)
- {
- case D3D11_RTV_DIMENSION_TEXTURE1D:
- MipSlice = RTVDesc.Texture1D.MipSlice;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE1DARRAY:
- MipSlice = RTVDesc.Texture1DArray.MipSlice;
- break;
- default: break;
- }
- const UINT SubResourceWidth = TexDesc.Width / (UINT( 1 ) << MipSlice);
- TopLeftX = topLeftX;
- TopLeftY = 0.0f;
- Width = (SubResourceWidth ? SubResourceWidth : 1) - topLeftX;
- Height = 1.0f;
- MinDepth = minDepth;
- MaxDepth = maxDepth;
- }
- explicit CD3D11_VIEWPORT(
- __in ID3D11Texture2D* pTex2D,
- __in ID3D11RenderTargetView* pRTView,
- FLOAT topLeftX = 0.0f,
- FLOAT topLeftY = 0.0f,
- FLOAT minDepth = D3D11_MIN_DEPTH,
- FLOAT maxDepth = D3D11_MAX_DEPTH )
- {
- D3D11_TEXTURE2D_DESC TexDesc;
- pTex2D->GetDesc( &TexDesc );
- D3D11_RENDER_TARGET_VIEW_DESC RTVDesc;
- pRTView->GetDesc( &RTVDesc );
- UINT MipSlice = 0;
- switch (RTVDesc.ViewDimension)
- {
- case D3D11_RTV_DIMENSION_TEXTURE2D:
- MipSlice = RTVDesc.Texture2D.MipSlice;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2DARRAY:
- MipSlice = RTVDesc.Texture2DArray.MipSlice;
- break;
- case D3D11_RTV_DIMENSION_TEXTURE2DMS:
- case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY:
- break;
- default: break;
- }
- const UINT SubResourceWidth = TexDesc.Width / (UINT( 1 ) << MipSlice);
- const UINT SubResourceHeight = TexDesc.Height / (UINT( 1 ) << MipSlice);
- TopLeftX = topLeftX;
- TopLeftY = topLeftY;
- Width = (SubResourceWidth ? SubResourceWidth : 1) - topLeftX;
- Height = (SubResourceHeight ? SubResourceHeight : 1) - topLeftY;
- MinDepth = minDepth;
- MaxDepth = maxDepth;
- }
- explicit CD3D11_VIEWPORT(
- __in ID3D11Texture3D* pTex3D,
- __in ID3D11RenderTargetView* pRTView,
- FLOAT topLeftX = 0.0f,
- FLOAT topLeftY = 0.0f,
- FLOAT minDepth = D3D11_MIN_DEPTH,
- FLOAT maxDepth = D3D11_MAX_DEPTH )
- {
- D3D11_TEXTURE3D_DESC TexDesc;
- pTex3D->GetDesc( &TexDesc );
- D3D11_RENDER_TARGET_VIEW_DESC RTVDesc;
- pRTView->GetDesc( &RTVDesc );
- UINT MipSlice = 0;
- switch (RTVDesc.ViewDimension)
- {
- case D3D11_RTV_DIMENSION_TEXTURE3D:
- MipSlice = RTVDesc.Texture3D.MipSlice;
- break;
- default: break;
- }
- const UINT SubResourceWidth = TexDesc.Width / (UINT( 1 ) << MipSlice);
- const UINT SubResourceHeight = TexDesc.Height / (UINT( 1 ) << MipSlice);
- TopLeftX = topLeftX;
- TopLeftY = topLeftY;
- Width = (SubResourceWidth ? SubResourceWidth : 1) - topLeftX;
- Height = (SubResourceHeight ? SubResourceHeight : 1) - topLeftY;
- MinDepth = minDepth;
- MaxDepth = maxDepth;
- }
- ~CD3D11_VIEWPORT() {}
- operator const D3D11_VIEWPORT&() const { return *this; }
- };
- extern "C"{
- #endif
- typedef struct D3D11_TEX1D_DSV
- {
- UINT MipSlice;
- } D3D11_TEX1D_DSV;
- typedef struct D3D11_TEX1D_ARRAY_DSV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX1D_ARRAY_DSV;
- typedef struct D3D11_TEX2D_DSV
- {
- UINT MipSlice;
- } D3D11_TEX2D_DSV;
- typedef struct D3D11_TEX2D_ARRAY_DSV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX2D_ARRAY_DSV;
- typedef struct D3D11_TEX2DMS_DSV
- {
- UINT UnusedField_NothingToDefine;
- } D3D11_TEX2DMS_DSV;
- typedef struct D3D11_TEX2DMS_ARRAY_DSV
- {
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX2DMS_ARRAY_DSV;
- typedef
- enum D3D11_DSV_FLAG
- { D3D11_DSV_READ_ONLY_DEPTH = 0x1L,
- D3D11_DSV_READ_ONLY_STENCIL = 0x2L
- } D3D11_DSV_FLAG;
- typedef struct D3D11_DEPTH_STENCIL_VIEW_DESC
- {
- DXGI_FORMAT Format;
- D3D11_DSV_DIMENSION ViewDimension;
- UINT Flags;
- union
- {
- D3D11_TEX1D_DSV Texture1D;
- D3D11_TEX1D_ARRAY_DSV Texture1DArray;
- D3D11_TEX2D_DSV Texture2D;
- D3D11_TEX2D_ARRAY_DSV Texture2DArray;
- D3D11_TEX2DMS_DSV Texture2DMS;
- D3D11_TEX2DMS_ARRAY_DSV Texture2DMSArray;
- } ;
- } D3D11_DEPTH_STENCIL_VIEW_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_DEPTH_STENCIL_VIEW_DESC : public D3D11_DEPTH_STENCIL_VIEW_DESC
- {
- CD3D11_DEPTH_STENCIL_VIEW_DESC()
- {}
- explicit CD3D11_DEPTH_STENCIL_VIEW_DESC( const D3D11_DEPTH_STENCIL_VIEW_DESC& o ) :
- D3D11_DEPTH_STENCIL_VIEW_DESC( o )
- {}
- explicit CD3D11_DEPTH_STENCIL_VIEW_DESC(
- D3D11_DSV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstArraySlice = 0,
- UINT arraySize = -1,
- UINT flags = 0 )
- {
- Format = format;
- ViewDimension = viewDimension;
- Flags = flags;
- switch (viewDimension)
- {
- case D3D11_DSV_DIMENSION_TEXTURE1D:
- Texture1D.MipSlice = mipSlice;
- break;
- case D3D11_DSV_DIMENSION_TEXTURE1DARRAY:
- Texture1DArray.MipSlice = mipSlice;
- Texture1DArray.FirstArraySlice = firstArraySlice;
- Texture1DArray.ArraySize = arraySize;
- break;
- case D3D11_DSV_DIMENSION_TEXTURE2D:
- Texture2D.MipSlice = mipSlice;
- break;
- case D3D11_DSV_DIMENSION_TEXTURE2DARRAY:
- Texture2DArray.MipSlice = mipSlice;
- Texture2DArray.FirstArraySlice = firstArraySlice;
- Texture2DArray.ArraySize = arraySize;
- break;
- case D3D11_DSV_DIMENSION_TEXTURE2DMS:
- break;
- case D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY:
- Texture2DMSArray.FirstArraySlice = firstArraySlice;
- Texture2DMSArray.ArraySize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_DEPTH_STENCIL_VIEW_DESC(
- __in ID3D11Texture1D* pTex1D,
- D3D11_DSV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstArraySlice = 0,
- UINT arraySize = -1,
- UINT flags = 0 )
- {
- ViewDimension = viewDimension;
- Flags = flags;
- if (DXGI_FORMAT_UNKNOWN == format ||
- (-1 == arraySize && D3D11_DSV_DIMENSION_TEXTURE1DARRAY == viewDimension))
- {
- D3D11_TEXTURE1D_DESC TexDesc;
- pTex1D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
- }
- Format = format;
- switch (viewDimension)
- {
- case D3D11_DSV_DIMENSION_TEXTURE1D:
- Texture1D.MipSlice = mipSlice;
- break;
- case D3D11_DSV_DIMENSION_TEXTURE1DARRAY:
- Texture1DArray.MipSlice = mipSlice;
- Texture1DArray.FirstArraySlice = firstArraySlice;
- Texture1DArray.ArraySize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_DEPTH_STENCIL_VIEW_DESC(
- __in ID3D11Texture2D* pTex2D,
- D3D11_DSV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstArraySlice = 0,
- UINT arraySize = -1,
- UINT flags = 0 )
- {
- ViewDimension = viewDimension;
- Flags = flags;
- if (DXGI_FORMAT_UNKNOWN == format ||
- (-1 == arraySize &&
- (D3D11_DSV_DIMENSION_TEXTURE2DARRAY == viewDimension ||
- D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY == viewDimension)))
- {
- D3D11_TEXTURE2D_DESC TexDesc;
- pTex2D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
- }
- Format = format;
- switch (viewDimension)
- {
- case D3D11_DSV_DIMENSION_TEXTURE2D:
- Texture2D.MipSlice = mipSlice;
- break;
- case D3D11_DSV_DIMENSION_TEXTURE2DARRAY:
- Texture2DArray.MipSlice = mipSlice;
- Texture2DArray.FirstArraySlice = firstArraySlice;
- Texture2DArray.ArraySize = arraySize;
- break;
- case D3D11_DSV_DIMENSION_TEXTURE2DMS:
- break;
- case D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY:
- Texture2DMSArray.FirstArraySlice = firstArraySlice;
- Texture2DMSArray.ArraySize = arraySize;
- break;
- default: break;
- }
- }
- ~CD3D11_DEPTH_STENCIL_VIEW_DESC() {}
- operator const D3D11_DEPTH_STENCIL_VIEW_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0012_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0012_v0_0_s_ifspec;
- #ifndef __ID3D11DepthStencilView_INTERFACE_DEFINED__
- #define __ID3D11DepthStencilView_INTERFACE_DEFINED__
- /* interface ID3D11DepthStencilView */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11DepthStencilView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9fdac92a-1876-48c3-afad-25b94f84a9b6")
- ID3D11DepthStencilView : public ID3D11View
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11DepthStencilViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11DepthStencilView * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11DepthStencilView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11DepthStencilView * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11DepthStencilView * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11DepthStencilView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11DepthStencilView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11DepthStencilView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D11DepthStencilView * This,
- /* [annotation] */
- __out ID3D11Resource **ppResource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11DepthStencilView * This,
- /* [annotation] */
- __out D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11DepthStencilViewVtbl;
- interface ID3D11DepthStencilView
- {
- CONST_VTBL struct ID3D11DepthStencilViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11DepthStencilView_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11DepthStencilView_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11DepthStencilView_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11DepthStencilView_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11DepthStencilView_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11DepthStencilView_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11DepthStencilView_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11DepthStencilView_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #define ID3D11DepthStencilView_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11DepthStencilView_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0013 */
- /* [local] */
- typedef
- enum D3D11_BUFFER_UAV_FLAG
- { D3D11_BUFFER_UAV_FLAG_RAW = 0x1,
- D3D11_BUFFER_UAV_FLAG_APPEND = 0x2,
- D3D11_BUFFER_UAV_FLAG_COUNTER = 0x4
- } D3D11_BUFFER_UAV_FLAG;
- typedef struct D3D11_BUFFER_UAV
- {
- UINT FirstElement;
- UINT NumElements;
- UINT Flags;
- } D3D11_BUFFER_UAV;
- typedef struct D3D11_TEX1D_UAV
- {
- UINT MipSlice;
- } D3D11_TEX1D_UAV;
- typedef struct D3D11_TEX1D_ARRAY_UAV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX1D_ARRAY_UAV;
- typedef struct D3D11_TEX2D_UAV
- {
- UINT MipSlice;
- } D3D11_TEX2D_UAV;
- typedef struct D3D11_TEX2D_ARRAY_UAV
- {
- UINT MipSlice;
- UINT FirstArraySlice;
- UINT ArraySize;
- } D3D11_TEX2D_ARRAY_UAV;
- typedef struct D3D11_TEX3D_UAV
- {
- UINT MipSlice;
- UINT FirstWSlice;
- UINT WSize;
- } D3D11_TEX3D_UAV;
- typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC
- {
- DXGI_FORMAT Format;
- D3D11_UAV_DIMENSION ViewDimension;
- union
- {
- D3D11_BUFFER_UAV Buffer;
- D3D11_TEX1D_UAV Texture1D;
- D3D11_TEX1D_ARRAY_UAV Texture1DArray;
- D3D11_TEX2D_UAV Texture2D;
- D3D11_TEX2D_ARRAY_UAV Texture2DArray;
- D3D11_TEX3D_UAV Texture3D;
- } ;
- } D3D11_UNORDERED_ACCESS_VIEW_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_UNORDERED_ACCESS_VIEW_DESC : public D3D11_UNORDERED_ACCESS_VIEW_DESC
- {
- CD3D11_UNORDERED_ACCESS_VIEW_DESC()
- {}
- explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC( const D3D11_UNORDERED_ACCESS_VIEW_DESC& o ) :
- D3D11_UNORDERED_ACCESS_VIEW_DESC( o )
- {}
- explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
- D3D11_UAV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0, // FirstElement for BUFFER
- UINT firstArraySlice = 0, // NumElements for BUFFER, FirstWSlice for TEXTURE3D
- UINT arraySize = -1, // WSize for TEXTURE3D
- UINT flags = 0 ) // BUFFER only
- {
- Format = format;
- ViewDimension = viewDimension;
- switch (viewDimension)
- {
- case D3D11_UAV_DIMENSION_BUFFER:
- Buffer.FirstElement = mipSlice;
- Buffer.NumElements = firstArraySlice;
- Buffer.Flags = flags;
- break;
- case D3D11_UAV_DIMENSION_TEXTURE1D:
- Texture1D.MipSlice = mipSlice;
- break;
- case D3D11_UAV_DIMENSION_TEXTURE1DARRAY:
- Texture1DArray.MipSlice = mipSlice;
- Texture1DArray.FirstArraySlice = firstArraySlice;
- Texture1DArray.ArraySize = arraySize;
- break;
- case D3D11_UAV_DIMENSION_TEXTURE2D:
- Texture2D.MipSlice = mipSlice;
- break;
- case D3D11_UAV_DIMENSION_TEXTURE2DARRAY:
- Texture2DArray.MipSlice = mipSlice;
- Texture2DArray.FirstArraySlice = firstArraySlice;
- Texture2DArray.ArraySize = arraySize;
- break;
- case D3D11_UAV_DIMENSION_TEXTURE3D:
- Texture3D.MipSlice = mipSlice;
- Texture3D.FirstWSlice = firstArraySlice;
- Texture3D.WSize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
- __in ID3D11Buffer*,
- DXGI_FORMAT format,
- UINT firstElement,
- UINT numElements,
- UINT flags = 0 )
- {
- Format = format;
- ViewDimension = D3D11_UAV_DIMENSION_BUFFER;
- Buffer.FirstElement = firstElement;
- Buffer.NumElements = numElements;
- Buffer.Flags = flags;
- }
- explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
- __in ID3D11Texture1D* pTex1D,
- D3D11_UAV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstArraySlice = 0,
- UINT arraySize = -1 )
- {
- ViewDimension = viewDimension;
- if (DXGI_FORMAT_UNKNOWN == format ||
- (-1 == arraySize && D3D11_UAV_DIMENSION_TEXTURE1DARRAY == viewDimension))
- {
- D3D11_TEXTURE1D_DESC TexDesc;
- pTex1D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
- }
- Format = format;
- switch (viewDimension)
- {
- case D3D11_UAV_DIMENSION_TEXTURE1D:
- Texture1D.MipSlice = mipSlice;
- break;
- case D3D11_UAV_DIMENSION_TEXTURE1DARRAY:
- Texture1DArray.MipSlice = mipSlice;
- Texture1DArray.FirstArraySlice = firstArraySlice;
- Texture1DArray.ArraySize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
- __in ID3D11Texture2D* pTex2D,
- D3D11_UAV_DIMENSION viewDimension,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstArraySlice = 0,
- UINT arraySize = -1 )
- {
- ViewDimension = viewDimension;
- if (DXGI_FORMAT_UNKNOWN == format ||
- (-1 == arraySize && D3D11_UAV_DIMENSION_TEXTURE2DARRAY == viewDimension))
- {
- D3D11_TEXTURE2D_DESC TexDesc;
- pTex2D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
- }
- Format = format;
- switch (viewDimension)
- {
- case D3D11_UAV_DIMENSION_TEXTURE2D:
- Texture2D.MipSlice = mipSlice;
- break;
- case D3D11_UAV_DIMENSION_TEXTURE2DARRAY:
- Texture2DArray.MipSlice = mipSlice;
- Texture2DArray.FirstArraySlice = firstArraySlice;
- Texture2DArray.ArraySize = arraySize;
- break;
- default: break;
- }
- }
- explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC(
- __in ID3D11Texture3D* pTex3D,
- DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
- UINT mipSlice = 0,
- UINT firstWSlice = 0,
- UINT wSize = -1 )
- {
- ViewDimension = D3D11_UAV_DIMENSION_TEXTURE3D;
- if (DXGI_FORMAT_UNKNOWN == format || -1 == wSize)
- {
- D3D11_TEXTURE3D_DESC TexDesc;
- pTex3D->GetDesc( &TexDesc );
- if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
- if (-1 == wSize) wSize = TexDesc.Depth - firstWSlice;
- }
- Format = format;
- Texture3D.MipSlice = mipSlice;
- Texture3D.FirstWSlice = firstWSlice;
- Texture3D.WSize = wSize;
- }
- ~CD3D11_UNORDERED_ACCESS_VIEW_DESC() {}
- operator const D3D11_UNORDERED_ACCESS_VIEW_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0013_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0013_v0_0_s_ifspec;
- #ifndef __ID3D11UnorderedAccessView_INTERFACE_DEFINED__
- #define __ID3D11UnorderedAccessView_INTERFACE_DEFINED__
- /* interface ID3D11UnorderedAccessView */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11UnorderedAccessView;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("28acf509-7f5c-48f6-8611-f316010a6380")
- ID3D11UnorderedAccessView : public ID3D11View
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11UnorderedAccessViewVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11UnorderedAccessView * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11UnorderedAccessView * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11UnorderedAccessView * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11UnorderedAccessView * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11UnorderedAccessView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11UnorderedAccessView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11UnorderedAccessView * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetResource )(
- ID3D11UnorderedAccessView * This,
- /* [annotation] */
- __out ID3D11Resource **ppResource);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11UnorderedAccessView * This,
- /* [annotation] */
- __out D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11UnorderedAccessViewVtbl;
- interface ID3D11UnorderedAccessView
- {
- CONST_VTBL struct ID3D11UnorderedAccessViewVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11UnorderedAccessView_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11UnorderedAccessView_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11UnorderedAccessView_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11UnorderedAccessView_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11UnorderedAccessView_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11UnorderedAccessView_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11UnorderedAccessView_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11UnorderedAccessView_GetResource(This,ppResource) \
- ( (This)->lpVtbl -> GetResource(This,ppResource) )
- #define ID3D11UnorderedAccessView_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11UnorderedAccessView_INTERFACE_DEFINED__ */
- #ifndef __ID3D11VertexShader_INTERFACE_DEFINED__
- #define __ID3D11VertexShader_INTERFACE_DEFINED__
- /* interface ID3D11VertexShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11VertexShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3b301d64-d678-4289-8897-22f8928b72f3")
- ID3D11VertexShader : public ID3D11DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D11VertexShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11VertexShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11VertexShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11VertexShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11VertexShader * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11VertexShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11VertexShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11VertexShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D11VertexShaderVtbl;
- interface ID3D11VertexShader
- {
- CONST_VTBL struct ID3D11VertexShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11VertexShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11VertexShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11VertexShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11VertexShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11VertexShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11VertexShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11VertexShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11VertexShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D11HullShader_INTERFACE_DEFINED__
- #define __ID3D11HullShader_INTERFACE_DEFINED__
- /* interface ID3D11HullShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11HullShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("8e5c6061-628a-4c8e-8264-bbe45cb3d5dd")
- ID3D11HullShader : public ID3D11DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D11HullShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11HullShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11HullShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11HullShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11HullShader * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11HullShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11HullShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11HullShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D11HullShaderVtbl;
- interface ID3D11HullShader
- {
- CONST_VTBL struct ID3D11HullShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11HullShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11HullShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11HullShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11HullShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11HullShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11HullShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11HullShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11HullShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D11DomainShader_INTERFACE_DEFINED__
- #define __ID3D11DomainShader_INTERFACE_DEFINED__
- /* interface ID3D11DomainShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11DomainShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("f582c508-0f36-490c-9977-31eece268cfa")
- ID3D11DomainShader : public ID3D11DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D11DomainShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11DomainShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11DomainShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11DomainShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11DomainShader * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11DomainShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11DomainShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11DomainShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D11DomainShaderVtbl;
- interface ID3D11DomainShader
- {
- CONST_VTBL struct ID3D11DomainShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11DomainShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11DomainShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11DomainShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11DomainShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11DomainShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11DomainShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11DomainShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11DomainShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D11GeometryShader_INTERFACE_DEFINED__
- #define __ID3D11GeometryShader_INTERFACE_DEFINED__
- /* interface ID3D11GeometryShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11GeometryShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("38325b96-effb-4022-ba02-2e795b70275c")
- ID3D11GeometryShader : public ID3D11DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D11GeometryShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11GeometryShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11GeometryShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11GeometryShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11GeometryShader * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11GeometryShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11GeometryShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11GeometryShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D11GeometryShaderVtbl;
- interface ID3D11GeometryShader
- {
- CONST_VTBL struct ID3D11GeometryShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11GeometryShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11GeometryShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11GeometryShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11GeometryShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11GeometryShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11GeometryShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11GeometryShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11GeometryShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D11PixelShader_INTERFACE_DEFINED__
- #define __ID3D11PixelShader_INTERFACE_DEFINED__
- /* interface ID3D11PixelShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11PixelShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("ea82e40d-51dc-4f33-93d4-db7c9125ae8c")
- ID3D11PixelShader : public ID3D11DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D11PixelShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11PixelShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11PixelShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11PixelShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11PixelShader * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11PixelShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11PixelShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11PixelShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D11PixelShaderVtbl;
- interface ID3D11PixelShader
- {
- CONST_VTBL struct ID3D11PixelShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11PixelShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11PixelShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11PixelShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11PixelShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11PixelShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11PixelShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11PixelShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11PixelShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D11ComputeShader_INTERFACE_DEFINED__
- #define __ID3D11ComputeShader_INTERFACE_DEFINED__
- /* interface ID3D11ComputeShader */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11ComputeShader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("4f5b196e-c2bd-495e-bd01-1fded38e4969")
- ID3D11ComputeShader : public ID3D11DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D11ComputeShaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11ComputeShader * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11ComputeShader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11ComputeShader * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11ComputeShader * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11ComputeShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11ComputeShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11ComputeShader * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D11ComputeShaderVtbl;
- interface ID3D11ComputeShader
- {
- CONST_VTBL struct ID3D11ComputeShaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11ComputeShader_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11ComputeShader_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11ComputeShader_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11ComputeShader_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11ComputeShader_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11ComputeShader_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11ComputeShader_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11ComputeShader_INTERFACE_DEFINED__ */
- #ifndef __ID3D11InputLayout_INTERFACE_DEFINED__
- #define __ID3D11InputLayout_INTERFACE_DEFINED__
- /* interface ID3D11InputLayout */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11InputLayout;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("e4819ddc-4cf0-4025-bd26-5de82a3e07b7")
- ID3D11InputLayout : public ID3D11DeviceChild
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D11InputLayoutVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11InputLayout * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11InputLayout * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11InputLayout * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11InputLayout * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11InputLayout * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11InputLayout * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11InputLayout * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- END_INTERFACE
- } ID3D11InputLayoutVtbl;
- interface ID3D11InputLayout
- {
- CONST_VTBL struct ID3D11InputLayoutVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11InputLayout_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11InputLayout_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11InputLayout_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11InputLayout_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11InputLayout_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11InputLayout_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11InputLayout_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11InputLayout_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0021 */
- /* [local] */
- typedef
- enum D3D11_FILTER
- { D3D11_FILTER_MIN_MAG_MIP_POINT = 0,
- D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1,
- D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4,
- D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5,
- D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10,
- D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11,
- D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14,
- D3D11_FILTER_MIN_MAG_MIP_LINEAR = 0x15,
- D3D11_FILTER_ANISOTROPIC = 0x55,
- D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80,
- D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81,
- D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84,
- D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85,
- D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90,
- D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91,
- D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94,
- D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95,
- D3D11_FILTER_COMPARISON_ANISOTROPIC = 0xd5
- } D3D11_FILTER;
- typedef
- enum D3D11_FILTER_TYPE
- { D3D11_FILTER_TYPE_POINT = 0,
- D3D11_FILTER_TYPE_LINEAR = 1
- } D3D11_FILTER_TYPE;
- #define D3D11_FILTER_TYPE_MASK ( 0x3 )
- #define D3D11_MIN_FILTER_SHIFT ( 4 )
- #define D3D11_MAG_FILTER_SHIFT ( 2 )
- #define D3D11_MIP_FILTER_SHIFT ( 0 )
- #define D3D11_COMPARISON_FILTERING_BIT ( 0x80 )
- #define D3D11_ANISOTROPIC_FILTERING_BIT ( 0x40 )
- #define D3D11_ENCODE_BASIC_FILTER( min, mag, mip, bComparison ) \
- ( ( D3D11_FILTER ) ( \
- ( ( bComparison ) ? D3D11_COMPARISON_FILTERING_BIT : 0 ) | \
- ( ( ( min ) & D3D11_FILTER_TYPE_MASK ) << D3D11_MIN_FILTER_SHIFT ) | \
- ( ( ( mag ) & D3D11_FILTER_TYPE_MASK ) << D3D11_MAG_FILTER_SHIFT ) | \
- ( ( ( mip ) & D3D11_FILTER_TYPE_MASK ) << D3D11_MIP_FILTER_SHIFT ) ) )
- #define D3D11_ENCODE_ANISOTROPIC_FILTER( bComparison ) \
- ( ( D3D11_FILTER ) ( \
- D3D11_ANISOTROPIC_FILTERING_BIT | \
- D3D11_ENCODE_BASIC_FILTER( D3D11_FILTER_TYPE_LINEAR, \
- D3D11_FILTER_TYPE_LINEAR, \
- D3D11_FILTER_TYPE_LINEAR, \
- bComparison ) ) )
- #define D3D11_DECODE_MIN_FILTER( d3d11Filter ) \
- ( ( D3D11_FILTER_TYPE ) \
- ( ( ( d3d11Filter ) >> D3D11_MIN_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) )
- #define D3D11_DECODE_MAG_FILTER( d3d11Filter ) \
- ( ( D3D11_FILTER_TYPE ) \
- ( ( ( d3d11Filter ) >> D3D11_MAG_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) )
- #define D3D11_DECODE_MIP_FILTER( d3d11Filter ) \
- ( ( D3D11_FILTER_TYPE ) \
- ( ( ( d3d11Filter ) >> D3D11_MIP_FILTER_SHIFT ) & D3D11_FILTER_TYPE_MASK ) )
- #define D3D11_DECODE_IS_COMPARISON_FILTER( d3d11Filter ) \
- ( ( d3d11Filter ) & D3D11_COMPARISON_FILTERING_BIT )
- #define D3D11_DECODE_IS_ANISOTROPIC_FILTER( d3d11Filter ) \
- ( ( ( d3d11Filter ) & D3D11_ANISOTROPIC_FILTERING_BIT ) && \
- ( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIN_FILTER( d3d11Filter ) ) && \
- ( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MAG_FILTER( d3d11Filter ) ) && \
- ( D3D11_FILTER_TYPE_LINEAR == D3D11_DECODE_MIP_FILTER( d3d11Filter ) ) )
- typedef
- enum D3D11_TEXTURE_ADDRESS_MODE
- { D3D11_TEXTURE_ADDRESS_WRAP = 1,
- D3D11_TEXTURE_ADDRESS_MIRROR = 2,
- D3D11_TEXTURE_ADDRESS_CLAMP = 3,
- D3D11_TEXTURE_ADDRESS_BORDER = 4,
- D3D11_TEXTURE_ADDRESS_MIRROR_ONCE = 5
- } D3D11_TEXTURE_ADDRESS_MODE;
- typedef struct D3D11_SAMPLER_DESC
- {
- D3D11_FILTER Filter;
- D3D11_TEXTURE_ADDRESS_MODE AddressU;
- D3D11_TEXTURE_ADDRESS_MODE AddressV;
- D3D11_TEXTURE_ADDRESS_MODE AddressW;
- FLOAT MipLODBias;
- UINT MaxAnisotropy;
- D3D11_COMPARISON_FUNC ComparisonFunc;
- FLOAT BorderColor[ 4 ];
- FLOAT MinLOD;
- FLOAT MaxLOD;
- } D3D11_SAMPLER_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_SAMPLER_DESC : public D3D11_SAMPLER_DESC
- {
- CD3D11_SAMPLER_DESC()
- {}
- explicit CD3D11_SAMPLER_DESC( const D3D11_SAMPLER_DESC& o ) :
- D3D11_SAMPLER_DESC( o )
- {}
- explicit CD3D11_SAMPLER_DESC( CD3D11_DEFAULT )
- {
- Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR;
- AddressU = D3D11_TEXTURE_ADDRESS_CLAMP;
- AddressV = D3D11_TEXTURE_ADDRESS_CLAMP;
- AddressW = D3D11_TEXTURE_ADDRESS_CLAMP;
- MipLODBias = 0;
- MaxAnisotropy = 1;
- ComparisonFunc = D3D11_COMPARISON_NEVER;
- BorderColor[ 0 ] = 1.0f;
- BorderColor[ 1 ] = 1.0f;
- BorderColor[ 2 ] = 1.0f;
- BorderColor[ 3 ] = 1.0f;
- MinLOD = -3.402823466e+38F; // -FLT_MAX
- MaxLOD = 3.402823466e+38F; // FLT_MAX
- }
- explicit CD3D11_SAMPLER_DESC(
- D3D11_FILTER filter,
- D3D11_TEXTURE_ADDRESS_MODE addressU,
- D3D11_TEXTURE_ADDRESS_MODE addressV,
- D3D11_TEXTURE_ADDRESS_MODE addressW,
- FLOAT mipLODBias,
- UINT maxAnisotropy,
- D3D11_COMPARISON_FUNC comparisonFunc,
- __in_ecount_opt( 4 ) const FLOAT* borderColor, // RGBA
- FLOAT minLOD,
- FLOAT maxLOD )
- {
- Filter = filter;
- AddressU = addressU;
- AddressV = addressV;
- AddressW = addressW;
- MipLODBias = mipLODBias;
- MaxAnisotropy = maxAnisotropy;
- ComparisonFunc = comparisonFunc;
- const float defaultColor[ 4 ] = { 1.0f, 1.0f, 1.0f, 1.0f };
- if (!borderColor) borderColor = defaultColor;
- BorderColor[ 0 ] = borderColor[ 0 ];
- BorderColor[ 1 ] = borderColor[ 1 ];
- BorderColor[ 2 ] = borderColor[ 2 ];
- BorderColor[ 3 ] = borderColor[ 3 ];
- MinLOD = minLOD;
- MaxLOD = maxLOD;
- }
- ~CD3D11_SAMPLER_DESC() {}
- operator const D3D11_SAMPLER_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0021_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0021_v0_0_s_ifspec;
- #ifndef __ID3D11SamplerState_INTERFACE_DEFINED__
- #define __ID3D11SamplerState_INTERFACE_DEFINED__
- /* interface ID3D11SamplerState */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11SamplerState;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("da6fea51-564c-4487-9810-f0d0f9b4e3a5")
- ID3D11SamplerState : public ID3D11DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_SAMPLER_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11SamplerStateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11SamplerState * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11SamplerState * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11SamplerState * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11SamplerState * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11SamplerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11SamplerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11SamplerState * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11SamplerState * This,
- /* [annotation] */
- __out D3D11_SAMPLER_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11SamplerStateVtbl;
- interface ID3D11SamplerState
- {
- CONST_VTBL struct ID3D11SamplerStateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11SamplerState_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11SamplerState_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11SamplerState_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11SamplerState_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11SamplerState_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11SamplerState_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11SamplerState_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11SamplerState_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11SamplerState_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0022 */
- /* [local] */
- typedef
- enum D3D11_FORMAT_SUPPORT
- { D3D11_FORMAT_SUPPORT_BUFFER = 0x1,
- D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x2,
- D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x4,
- D3D11_FORMAT_SUPPORT_SO_BUFFER = 0x8,
- D3D11_FORMAT_SUPPORT_TEXTURE1D = 0x10,
- D3D11_FORMAT_SUPPORT_TEXTURE2D = 0x20,
- D3D11_FORMAT_SUPPORT_TEXTURE3D = 0x40,
- D3D11_FORMAT_SUPPORT_TEXTURECUBE = 0x80,
- D3D11_FORMAT_SUPPORT_SHADER_LOAD = 0x100,
- D3D11_FORMAT_SUPPORT_SHADER_SAMPLE = 0x200,
- D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x400,
- D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x800,
- D3D11_FORMAT_SUPPORT_MIP = 0x1000,
- D3D11_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000,
- D3D11_FORMAT_SUPPORT_RENDER_TARGET = 0x4000,
- D3D11_FORMAT_SUPPORT_BLENDABLE = 0x8000,
- D3D11_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000,
- D3D11_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000,
- D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000,
- D3D11_FORMAT_SUPPORT_DISPLAY = 0x80000,
- D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000,
- D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000,
- D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000,
- D3D11_FORMAT_SUPPORT_SHADER_GATHER = 0x800000,
- D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x1000000,
- D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW = 0x2000000,
- D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON = 0x4000000
- } D3D11_FORMAT_SUPPORT;
- typedef
- enum D3D11_FORMAT_SUPPORT2
- { D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE = 0x4,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE = 0x8,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX = 0x10,
- D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX = 0x20,
- D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD = 0x40,
- D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE = 0x80
- } D3D11_FORMAT_SUPPORT2;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0022_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0022_v0_0_s_ifspec;
- #ifndef __ID3D11Asynchronous_INTERFACE_DEFINED__
- #define __ID3D11Asynchronous_INTERFACE_DEFINED__
- /* interface ID3D11Asynchronous */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Asynchronous;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("4b35d0cd-1e15-4258-9c98-1b1333f6dd3b")
- ID3D11Asynchronous : public ID3D11DeviceChild
- {
- public:
- virtual UINT STDMETHODCALLTYPE GetDataSize( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11AsynchronousVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Asynchronous * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Asynchronous * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Asynchronous * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Asynchronous * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Asynchronous * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Asynchronous * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Asynchronous * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- UINT ( STDMETHODCALLTYPE *GetDataSize )(
- ID3D11Asynchronous * This);
-
- END_INTERFACE
- } ID3D11AsynchronousVtbl;
- interface ID3D11Asynchronous
- {
- CONST_VTBL struct ID3D11AsynchronousVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Asynchronous_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Asynchronous_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Asynchronous_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Asynchronous_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Asynchronous_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Asynchronous_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Asynchronous_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Asynchronous_GetDataSize(This) \
- ( (This)->lpVtbl -> GetDataSize(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Asynchronous_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0023 */
- /* [local] */
- typedef
- enum D3D11_ASYNC_GETDATA_FLAG
- { D3D11_ASYNC_GETDATA_DONOTFLUSH = 0x1
- } D3D11_ASYNC_GETDATA_FLAG;
- typedef
- enum D3D11_QUERY
- { D3D11_QUERY_EVENT = 0,
- D3D11_QUERY_OCCLUSION = ( D3D11_QUERY_EVENT + 1 ) ,
- D3D11_QUERY_TIMESTAMP = ( D3D11_QUERY_OCCLUSION + 1 ) ,
- D3D11_QUERY_TIMESTAMP_DISJOINT = ( D3D11_QUERY_TIMESTAMP + 1 ) ,
- D3D11_QUERY_PIPELINE_STATISTICS = ( D3D11_QUERY_TIMESTAMP_DISJOINT + 1 ) ,
- D3D11_QUERY_OCCLUSION_PREDICATE = ( D3D11_QUERY_PIPELINE_STATISTICS + 1 ) ,
- D3D11_QUERY_SO_STATISTICS = ( D3D11_QUERY_OCCLUSION_PREDICATE + 1 ) ,
- D3D11_QUERY_SO_OVERFLOW_PREDICATE = ( D3D11_QUERY_SO_STATISTICS + 1 ) ,
- D3D11_QUERY_SO_STATISTICS_STREAM0 = ( D3D11_QUERY_SO_OVERFLOW_PREDICATE + 1 ) ,
- D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 = ( D3D11_QUERY_SO_STATISTICS_STREAM0 + 1 ) ,
- D3D11_QUERY_SO_STATISTICS_STREAM1 = ( D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 + 1 ) ,
- D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 = ( D3D11_QUERY_SO_STATISTICS_STREAM1 + 1 ) ,
- D3D11_QUERY_SO_STATISTICS_STREAM2 = ( D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 + 1 ) ,
- D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 = ( D3D11_QUERY_SO_STATISTICS_STREAM2 + 1 ) ,
- D3D11_QUERY_SO_STATISTICS_STREAM3 = ( D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 + 1 ) ,
- D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3 = ( D3D11_QUERY_SO_STATISTICS_STREAM3 + 1 )
- } D3D11_QUERY;
- typedef
- enum D3D11_QUERY_MISC_FLAG
- { D3D11_QUERY_MISC_PREDICATEHINT = 0x1
- } D3D11_QUERY_MISC_FLAG;
- typedef struct D3D11_QUERY_DESC
- {
- D3D11_QUERY Query;
- UINT MiscFlags;
- } D3D11_QUERY_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_QUERY_DESC : public D3D11_QUERY_DESC
- {
- CD3D11_QUERY_DESC()
- {}
- explicit CD3D11_QUERY_DESC( const D3D11_QUERY_DESC& o ) :
- D3D11_QUERY_DESC( o )
- {}
- explicit CD3D11_QUERY_DESC(
- D3D11_QUERY query,
- UINT miscFlags = 0 )
- {
- Query = query;
- MiscFlags = miscFlags;
- }
- ~CD3D11_QUERY_DESC() {}
- operator const D3D11_QUERY_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0023_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0023_v0_0_s_ifspec;
- #ifndef __ID3D11Query_INTERFACE_DEFINED__
- #define __ID3D11Query_INTERFACE_DEFINED__
- /* interface ID3D11Query */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Query;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("d6c00747-87b7-425e-b84d-44d108560afd")
- ID3D11Query : public ID3D11Asynchronous
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_QUERY_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11QueryVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Query * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Query * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Query * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Query * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Query * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Query * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Query * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- UINT ( STDMETHODCALLTYPE *GetDataSize )(
- ID3D11Query * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11Query * This,
- /* [annotation] */
- __out D3D11_QUERY_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11QueryVtbl;
- interface ID3D11Query
- {
- CONST_VTBL struct ID3D11QueryVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Query_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Query_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Query_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Query_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Query_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Query_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Query_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Query_GetDataSize(This) \
- ( (This)->lpVtbl -> GetDataSize(This) )
- #define ID3D11Query_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Query_INTERFACE_DEFINED__ */
- #ifndef __ID3D11Predicate_INTERFACE_DEFINED__
- #define __ID3D11Predicate_INTERFACE_DEFINED__
- /* interface ID3D11Predicate */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Predicate;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9eb576dd-9f77-4d86-81aa-8bab5fe490e2")
- ID3D11Predicate : public ID3D11Query
- {
- public:
- };
-
- #else /* C style interface */
- typedef struct ID3D11PredicateVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Predicate * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Predicate * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Predicate * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Predicate * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Predicate * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Predicate * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Predicate * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- UINT ( STDMETHODCALLTYPE *GetDataSize )(
- ID3D11Predicate * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11Predicate * This,
- /* [annotation] */
- __out D3D11_QUERY_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11PredicateVtbl;
- interface ID3D11Predicate
- {
- CONST_VTBL struct ID3D11PredicateVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Predicate_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Predicate_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Predicate_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Predicate_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Predicate_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Predicate_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Predicate_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Predicate_GetDataSize(This) \
- ( (This)->lpVtbl -> GetDataSize(This) )
- #define ID3D11Predicate_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Predicate_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0025 */
- /* [local] */
- typedef struct D3D11_QUERY_DATA_TIMESTAMP_DISJOINT
- {
- UINT64 Frequency;
- BOOL Disjoint;
- } D3D11_QUERY_DATA_TIMESTAMP_DISJOINT;
- typedef struct D3D11_QUERY_DATA_PIPELINE_STATISTICS
- {
- UINT64 IAVertices;
- UINT64 IAPrimitives;
- UINT64 VSInvocations;
- UINT64 GSInvocations;
- UINT64 GSPrimitives;
- UINT64 CInvocations;
- UINT64 CPrimitives;
- UINT64 PSInvocations;
- UINT64 HSInvocations;
- UINT64 DSInvocations;
- UINT64 CSInvocations;
- } D3D11_QUERY_DATA_PIPELINE_STATISTICS;
- typedef struct D3D11_QUERY_DATA_SO_STATISTICS
- {
- UINT64 NumPrimitivesWritten;
- UINT64 PrimitivesStorageNeeded;
- } D3D11_QUERY_DATA_SO_STATISTICS;
- typedef
- enum D3D11_COUNTER
- { D3D11_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000
- } D3D11_COUNTER;
- typedef
- enum D3D11_COUNTER_TYPE
- { D3D11_COUNTER_TYPE_FLOAT32 = 0,
- D3D11_COUNTER_TYPE_UINT16 = ( D3D11_COUNTER_TYPE_FLOAT32 + 1 ) ,
- D3D11_COUNTER_TYPE_UINT32 = ( D3D11_COUNTER_TYPE_UINT16 + 1 ) ,
- D3D11_COUNTER_TYPE_UINT64 = ( D3D11_COUNTER_TYPE_UINT32 + 1 )
- } D3D11_COUNTER_TYPE;
- typedef struct D3D11_COUNTER_DESC
- {
- D3D11_COUNTER Counter;
- UINT MiscFlags;
- } D3D11_COUNTER_DESC;
- #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
- }
- struct CD3D11_COUNTER_DESC : public D3D11_COUNTER_DESC
- {
- CD3D11_COUNTER_DESC()
- {}
- explicit CD3D11_COUNTER_DESC( const D3D11_COUNTER_DESC& o ) :
- D3D11_COUNTER_DESC( o )
- {}
- explicit CD3D11_COUNTER_DESC(
- D3D11_COUNTER counter,
- UINT miscFlags = 0 )
- {
- Counter = counter;
- MiscFlags = miscFlags;
- }
- ~CD3D11_COUNTER_DESC() {}
- operator const D3D11_COUNTER_DESC&() const { return *this; }
- };
- extern "C"{
- #endif
- typedef struct D3D11_COUNTER_INFO
- {
- D3D11_COUNTER LastDeviceDependentCounter;
- UINT NumSimultaneousCounters;
- UINT8 NumDetectableParallelUnits;
- } D3D11_COUNTER_INFO;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0025_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0025_v0_0_s_ifspec;
- #ifndef __ID3D11Counter_INTERFACE_DEFINED__
- #define __ID3D11Counter_INTERFACE_DEFINED__
- /* interface ID3D11Counter */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Counter;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6e8c49fb-a371-4770-b440-29086022b741")
- ID3D11Counter : public ID3D11Asynchronous
- {
- public:
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_COUNTER_DESC *pDesc) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11CounterVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Counter * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Counter * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Counter * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11Counter * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Counter * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Counter * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Counter * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- UINT ( STDMETHODCALLTYPE *GetDataSize )(
- ID3D11Counter * This);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11Counter * This,
- /* [annotation] */
- __out D3D11_COUNTER_DESC *pDesc);
-
- END_INTERFACE
- } ID3D11CounterVtbl;
- interface ID3D11Counter
- {
- CONST_VTBL struct ID3D11CounterVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Counter_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Counter_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Counter_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Counter_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11Counter_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Counter_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Counter_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Counter_GetDataSize(This) \
- ( (This)->lpVtbl -> GetDataSize(This) )
- #define ID3D11Counter_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Counter_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0026 */
- /* [local] */
- typedef
- enum D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS
- { D3D11_STANDARD_MULTISAMPLE_PATTERN = 0xffffffff,
- D3D11_CENTER_MULTISAMPLE_PATTERN = 0xfffffffe
- } D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS;
- typedef
- enum D3D11_DEVICE_CONTEXT_TYPE
- { D3D11_DEVICE_CONTEXT_IMMEDIATE = 0,
- D3D11_DEVICE_CONTEXT_DEFERRED = ( D3D11_DEVICE_CONTEXT_IMMEDIATE + 1 )
- } D3D11_DEVICE_CONTEXT_TYPE;
- typedef struct D3D11_CLASS_INSTANCE_DESC
- {
- UINT InstanceId;
- UINT InstanceIndex;
- UINT TypeId;
- UINT ConstantBuffer;
- UINT BaseConstantBufferOffset;
- UINT BaseTexture;
- UINT BaseSampler;
- BOOL Created;
- } D3D11_CLASS_INSTANCE_DESC;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0026_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0026_v0_0_s_ifspec;
- #ifndef __ID3D11ClassInstance_INTERFACE_DEFINED__
- #define __ID3D11ClassInstance_INTERFACE_DEFINED__
- /* interface ID3D11ClassInstance */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11ClassInstance;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("a6cd7faa-b0b7-4a2f-9436-8662a65797cb")
- ID3D11ClassInstance : public ID3D11DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE GetClassLinkage(
- /* [annotation] */
- __out ID3D11ClassLinkage **ppLinkage) = 0;
-
- virtual void STDMETHODCALLTYPE GetDesc(
- /* [annotation] */
- __out D3D11_CLASS_INSTANCE_DESC *pDesc) = 0;
-
- virtual void STDMETHODCALLTYPE GetInstanceName(
- /* [annotation] */
- __out_ecount_opt(*pBufferLength) LPSTR pInstanceName,
- /* [annotation] */
- __inout SIZE_T *pBufferLength) = 0;
-
- virtual void STDMETHODCALLTYPE GetTypeName(
- /* [annotation] */
- __out_ecount_opt(*pBufferLength) LPSTR pTypeName,
- /* [annotation] */
- __inout SIZE_T *pBufferLength) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11ClassInstanceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11ClassInstance * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11ClassInstance * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11ClassInstance * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11ClassInstance * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11ClassInstance * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11ClassInstance * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11ClassInstance * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *GetClassLinkage )(
- ID3D11ClassInstance * This,
- /* [annotation] */
- __out ID3D11ClassLinkage **ppLinkage);
-
- void ( STDMETHODCALLTYPE *GetDesc )(
- ID3D11ClassInstance * This,
- /* [annotation] */
- __out D3D11_CLASS_INSTANCE_DESC *pDesc);
-
- void ( STDMETHODCALLTYPE *GetInstanceName )(
- ID3D11ClassInstance * This,
- /* [annotation] */
- __out_ecount_opt(*pBufferLength) LPSTR pInstanceName,
- /* [annotation] */
- __inout SIZE_T *pBufferLength);
-
- void ( STDMETHODCALLTYPE *GetTypeName )(
- ID3D11ClassInstance * This,
- /* [annotation] */
- __out_ecount_opt(*pBufferLength) LPSTR pTypeName,
- /* [annotation] */
- __inout SIZE_T *pBufferLength);
-
- END_INTERFACE
- } ID3D11ClassInstanceVtbl;
- interface ID3D11ClassInstance
- {
- CONST_VTBL struct ID3D11ClassInstanceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11ClassInstance_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11ClassInstance_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11ClassInstance_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11ClassInstance_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11ClassInstance_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11ClassInstance_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11ClassInstance_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11ClassInstance_GetClassLinkage(This,ppLinkage) \
- ( (This)->lpVtbl -> GetClassLinkage(This,ppLinkage) )
- #define ID3D11ClassInstance_GetDesc(This,pDesc) \
- ( (This)->lpVtbl -> GetDesc(This,pDesc) )
- #define ID3D11ClassInstance_GetInstanceName(This,pInstanceName,pBufferLength) \
- ( (This)->lpVtbl -> GetInstanceName(This,pInstanceName,pBufferLength) )
- #define ID3D11ClassInstance_GetTypeName(This,pTypeName,pBufferLength) \
- ( (This)->lpVtbl -> GetTypeName(This,pTypeName,pBufferLength) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11ClassInstance_INTERFACE_DEFINED__ */
- #ifndef __ID3D11ClassLinkage_INTERFACE_DEFINED__
- #define __ID3D11ClassLinkage_INTERFACE_DEFINED__
- /* interface ID3D11ClassLinkage */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11ClassLinkage;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("ddf57cba-9543-46e4-a12b-f207a0fe7fed")
- ID3D11ClassLinkage : public ID3D11DeviceChild
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetClassInstance(
- /* [annotation] */
- __in LPCSTR pClassInstanceName,
- /* [annotation] */
- __in UINT InstanceIndex,
- /* [annotation] */
- __out ID3D11ClassInstance **ppInstance) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateClassInstance(
- /* [annotation] */
- __in LPCSTR pClassTypeName,
- /* [annotation] */
- __in UINT ConstantBufferOffset,
- /* [annotation] */
- __in UINT ConstantVectorOffset,
- /* [annotation] */
- __in UINT TextureOffset,
- /* [annotation] */
- __in UINT SamplerOffset,
- /* [annotation] */
- __out ID3D11ClassInstance **ppInstance) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11ClassLinkageVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11ClassLinkage * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11ClassLinkage * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11ClassLinkage * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11ClassLinkage * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11ClassLinkage * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11ClassLinkage * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11ClassLinkage * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- HRESULT ( STDMETHODCALLTYPE *GetClassInstance )(
- ID3D11ClassLinkage * This,
- /* [annotation] */
- __in LPCSTR pClassInstanceName,
- /* [annotation] */
- __in UINT InstanceIndex,
- /* [annotation] */
- __out ID3D11ClassInstance **ppInstance);
-
- HRESULT ( STDMETHODCALLTYPE *CreateClassInstance )(
- ID3D11ClassLinkage * This,
- /* [annotation] */
- __in LPCSTR pClassTypeName,
- /* [annotation] */
- __in UINT ConstantBufferOffset,
- /* [annotation] */
- __in UINT ConstantVectorOffset,
- /* [annotation] */
- __in UINT TextureOffset,
- /* [annotation] */
- __in UINT SamplerOffset,
- /* [annotation] */
- __out ID3D11ClassInstance **ppInstance);
-
- END_INTERFACE
- } ID3D11ClassLinkageVtbl;
- interface ID3D11ClassLinkage
- {
- CONST_VTBL struct ID3D11ClassLinkageVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11ClassLinkage_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11ClassLinkage_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11ClassLinkage_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11ClassLinkage_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11ClassLinkage_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11ClassLinkage_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11ClassLinkage_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11ClassLinkage_GetClassInstance(This,pClassInstanceName,InstanceIndex,ppInstance) \
- ( (This)->lpVtbl -> GetClassInstance(This,pClassInstanceName,InstanceIndex,ppInstance) )
- #define ID3D11ClassLinkage_CreateClassInstance(This,pClassTypeName,ConstantBufferOffset,ConstantVectorOffset,TextureOffset,SamplerOffset,ppInstance) \
- ( (This)->lpVtbl -> CreateClassInstance(This,pClassTypeName,ConstantBufferOffset,ConstantVectorOffset,TextureOffset,SamplerOffset,ppInstance) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11ClassLinkage_INTERFACE_DEFINED__ */
- #ifndef __ID3D11CommandList_INTERFACE_DEFINED__
- #define __ID3D11CommandList_INTERFACE_DEFINED__
- /* interface ID3D11CommandList */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11CommandList;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("a24bc4d1-769e-43f7-8013-98ff566c18e2")
- ID3D11CommandList : public ID3D11DeviceChild
- {
- public:
- virtual UINT STDMETHODCALLTYPE GetContextFlags( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11CommandListVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11CommandList * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11CommandList * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11CommandList * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11CommandList * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11CommandList * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11CommandList * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11CommandList * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- UINT ( STDMETHODCALLTYPE *GetContextFlags )(
- ID3D11CommandList * This);
-
- END_INTERFACE
- } ID3D11CommandListVtbl;
- interface ID3D11CommandList
- {
- CONST_VTBL struct ID3D11CommandListVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11CommandList_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11CommandList_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11CommandList_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11CommandList_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11CommandList_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11CommandList_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11CommandList_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11CommandList_GetContextFlags(This) \
- ( (This)->lpVtbl -> GetContextFlags(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11CommandList_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0029 */
- /* [local] */
- typedef
- enum D3D11_FEATURE
- { D3D11_FEATURE_THREADING = 0,
- D3D11_FEATURE_DOUBLES = ( D3D11_FEATURE_THREADING + 1 ) ,
- D3D11_FEATURE_FORMAT_SUPPORT = ( D3D11_FEATURE_DOUBLES + 1 ) ,
- D3D11_FEATURE_FORMAT_SUPPORT2 = ( D3D11_FEATURE_FORMAT_SUPPORT + 1 ) ,
- D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS = ( D3D11_FEATURE_FORMAT_SUPPORT2 + 1 )
- } D3D11_FEATURE;
- typedef struct D3D11_FEATURE_DATA_THREADING
- {
- BOOL DriverConcurrentCreates;
- BOOL DriverCommandLists;
- } D3D11_FEATURE_DATA_THREADING;
- typedef struct D3D11_FEATURE_DATA_DOUBLES
- {
- BOOL DoublePrecisionFloatShaderOps;
- } D3D11_FEATURE_DATA_DOUBLES;
- typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT
- {
- DXGI_FORMAT InFormat;
- UINT OutFormatSupport;
- } D3D11_FEATURE_DATA_FORMAT_SUPPORT;
- typedef struct D3D11_FEATURE_DATA_FORMAT_SUPPORT2
- {
- DXGI_FORMAT InFormat;
- UINT OutFormatSupport2;
- } D3D11_FEATURE_DATA_FORMAT_SUPPORT2;
- typedef struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS
- {
- BOOL ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x;
- } D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0029_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0029_v0_0_s_ifspec;
- #ifndef __ID3D11DeviceContext_INTERFACE_DEFINED__
- #define __ID3D11DeviceContext_INTERFACE_DEFINED__
- /* interface ID3D11DeviceContext */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11DeviceContext;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("c0bfa96c-e089-44fb-8eaf-26f8796190da")
- ID3D11DeviceContext : public ID3D11DeviceChild
- {
- public:
- virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE PSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE PSSetShader(
- /* [annotation] */
- __in_opt ID3D11PixelShader *pPixelShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE PSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE VSSetShader(
- /* [annotation] */
- __in_opt ID3D11VertexShader *pVertexShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE DrawIndexed(
- /* [annotation] */
- __in UINT IndexCount,
- /* [annotation] */
- __in UINT StartIndexLocation,
- /* [annotation] */
- __in INT BaseVertexLocation) = 0;
-
- virtual void STDMETHODCALLTYPE Draw(
- /* [annotation] */
- __in UINT VertexCount,
- /* [annotation] */
- __in UINT StartVertexLocation) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Map(
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in UINT Subresource,
- /* [annotation] */
- __in D3D11_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out D3D11_MAPPED_SUBRESOURCE *pMappedResource) = 0;
-
- virtual void STDMETHODCALLTYPE Unmap(
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in UINT Subresource) = 0;
-
- virtual void STDMETHODCALLTYPE PSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE IASetInputLayout(
- /* [annotation] */
- __in_opt ID3D11InputLayout *pInputLayout) = 0;
-
- virtual void STDMETHODCALLTYPE IASetVertexBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppVertexBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) const UINT *pStrides,
- /* [annotation] */
- __in_ecount(NumBuffers) const UINT *pOffsets) = 0;
-
- virtual void STDMETHODCALLTYPE IASetIndexBuffer(
- /* [annotation] */
- __in_opt ID3D11Buffer *pIndexBuffer,
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __in UINT Offset) = 0;
-
- virtual void STDMETHODCALLTYPE DrawIndexedInstanced(
- /* [annotation] */
- __in UINT IndexCountPerInstance,
- /* [annotation] */
- __in UINT InstanceCount,
- /* [annotation] */
- __in UINT StartIndexLocation,
- /* [annotation] */
- __in INT BaseVertexLocation,
- /* [annotation] */
- __in UINT StartInstanceLocation) = 0;
-
- virtual void STDMETHODCALLTYPE DrawInstanced(
- /* [annotation] */
- __in UINT VertexCountPerInstance,
- /* [annotation] */
- __in UINT InstanceCount,
- /* [annotation] */
- __in UINT StartVertexLocation,
- /* [annotation] */
- __in UINT StartInstanceLocation) = 0;
-
- virtual void STDMETHODCALLTYPE GSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE GSSetShader(
- /* [annotation] */
- __in_opt ID3D11GeometryShader *pShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE IASetPrimitiveTopology(
- /* [annotation] */
- __in D3D11_PRIMITIVE_TOPOLOGY Topology) = 0;
-
- virtual void STDMETHODCALLTYPE VSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE VSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE Begin(
- /* [annotation] */
- __in ID3D11Asynchronous *pAsync) = 0;
-
- virtual void STDMETHODCALLTYPE End(
- /* [annotation] */
- __in ID3D11Asynchronous *pAsync) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetData(
- /* [annotation] */
- __in ID3D11Asynchronous *pAsync,
- /* [annotation] */
- __out_bcount_opt( DataSize ) void *pData,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in UINT GetDataFlags) = 0;
-
- virtual void STDMETHODCALLTYPE SetPredication(
- /* [annotation] */
- __in_opt ID3D11Predicate *pPredicate,
- /* [annotation] */
- __in BOOL PredicateValue) = 0;
-
- virtual void STDMETHODCALLTYPE GSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE GSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE OMSetRenderTargets(
- /* [annotation] */
- __in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
- /* [annotation] */
- __in_ecount_opt(NumViews) ID3D11RenderTargetView *const *ppRenderTargetViews,
- /* [annotation] */
- __in_opt ID3D11DepthStencilView *pDepthStencilView) = 0;
-
- virtual void STDMETHODCALLTYPE OMSetRenderTargetsAndUnorderedAccessViews(
- /* [annotation] */
- __in UINT NumRTVs,
- /* [annotation] */
- __in_ecount_opt(NumRTVs) ID3D11RenderTargetView *const *ppRenderTargetViews,
- /* [annotation] */
- __in_opt ID3D11DepthStencilView *pDepthStencilView,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSlot,
- /* [annotation] */
- __in UINT NumUAVs,
- /* [annotation] */
- __in_ecount_opt(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
- /* [annotation] */
- __in_ecount_opt(NumUAVs) const UINT *pUAVInitialCounts) = 0;
-
- virtual void STDMETHODCALLTYPE OMSetBlendState(
- /* [annotation] */
- __in_opt ID3D11BlendState *pBlendState,
- /* [annotation] */
- __in_opt const FLOAT BlendFactor[ 4 ],
- /* [annotation] */
- __in UINT SampleMask) = 0;
-
- virtual void STDMETHODCALLTYPE OMSetDepthStencilState(
- /* [annotation] */
- __in_opt ID3D11DepthStencilState *pDepthStencilState,
- /* [annotation] */
- __in UINT StencilRef) = 0;
-
- virtual void STDMETHODCALLTYPE SOSetTargets(
- /* [annotation] */
- __in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
- /* [annotation] */
- __in_ecount_opt(NumBuffers) ID3D11Buffer *const *ppSOTargets,
- /* [annotation] */
- __in_ecount_opt(NumBuffers) const UINT *pOffsets) = 0;
-
- virtual void STDMETHODCALLTYPE DrawAuto( void) = 0;
-
- virtual void STDMETHODCALLTYPE DrawIndexedInstancedIndirect(
- /* [annotation] */
- __in ID3D11Buffer *pBufferForArgs,
- /* [annotation] */
- __in UINT AlignedByteOffsetForArgs) = 0;
-
- virtual void STDMETHODCALLTYPE DrawInstancedIndirect(
- /* [annotation] */
- __in ID3D11Buffer *pBufferForArgs,
- /* [annotation] */
- __in UINT AlignedByteOffsetForArgs) = 0;
-
- virtual void STDMETHODCALLTYPE Dispatch(
- /* [annotation] */
- __in UINT ThreadGroupCountX,
- /* [annotation] */
- __in UINT ThreadGroupCountY,
- /* [annotation] */
- __in UINT ThreadGroupCountZ) = 0;
-
- virtual void STDMETHODCALLTYPE DispatchIndirect(
- /* [annotation] */
- __in ID3D11Buffer *pBufferForArgs,
- /* [annotation] */
- __in UINT AlignedByteOffsetForArgs) = 0;
-
- virtual void STDMETHODCALLTYPE RSSetState(
- /* [annotation] */
- __in_opt ID3D11RasterizerState *pRasterizerState) = 0;
-
- virtual void STDMETHODCALLTYPE RSSetViewports(
- /* [annotation] */
- __in_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
- /* [annotation] */
- __in_ecount_opt(NumViewports) const D3D11_VIEWPORT *pViewports) = 0;
-
- virtual void STDMETHODCALLTYPE RSSetScissorRects(
- /* [annotation] */
- __in_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
- /* [annotation] */
- __in_ecount_opt(NumRects) const D3D11_RECT *pRects) = 0;
-
- virtual void STDMETHODCALLTYPE CopySubresourceRegion(
- /* [annotation] */
- __in ID3D11Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in UINT DstX,
- /* [annotation] */
- __in UINT DstY,
- /* [annotation] */
- __in UINT DstZ,
- /* [annotation] */
- __in ID3D11Resource *pSrcResource,
- /* [annotation] */
- __in UINT SrcSubresource,
- /* [annotation] */
- __in_opt const D3D11_BOX *pSrcBox) = 0;
-
- virtual void STDMETHODCALLTYPE CopyResource(
- /* [annotation] */
- __in ID3D11Resource *pDstResource,
- /* [annotation] */
- __in ID3D11Resource *pSrcResource) = 0;
-
- virtual void STDMETHODCALLTYPE UpdateSubresource(
- /* [annotation] */
- __in ID3D11Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in_opt const D3D11_BOX *pDstBox,
- /* [annotation] */
- __in const void *pSrcData,
- /* [annotation] */
- __in UINT SrcRowPitch,
- /* [annotation] */
- __in UINT SrcDepthPitch) = 0;
-
- virtual void STDMETHODCALLTYPE CopyStructureCount(
- /* [annotation] */
- __in ID3D11Buffer *pDstBuffer,
- /* [annotation] */
- __in UINT DstAlignedByteOffset,
- /* [annotation] */
- __in ID3D11UnorderedAccessView *pSrcView) = 0;
-
- virtual void STDMETHODCALLTYPE ClearRenderTargetView(
- /* [annotation] */
- __in ID3D11RenderTargetView *pRenderTargetView,
- /* [annotation] */
- __in const FLOAT ColorRGBA[ 4 ]) = 0;
-
- virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewUint(
- /* [annotation] */
- __in ID3D11UnorderedAccessView *pUnorderedAccessView,
- /* [annotation] */
- __in const UINT Values[ 4 ]) = 0;
-
- virtual void STDMETHODCALLTYPE ClearUnorderedAccessViewFloat(
- /* [annotation] */
- __in ID3D11UnorderedAccessView *pUnorderedAccessView,
- /* [annotation] */
- __in const FLOAT Values[ 4 ]) = 0;
-
- virtual void STDMETHODCALLTYPE ClearDepthStencilView(
- /* [annotation] */
- __in ID3D11DepthStencilView *pDepthStencilView,
- /* [annotation] */
- __in UINT ClearFlags,
- /* [annotation] */
- __in FLOAT Depth,
- /* [annotation] */
- __in UINT8 Stencil) = 0;
-
- virtual void STDMETHODCALLTYPE GenerateMips(
- /* [annotation] */
- __in ID3D11ShaderResourceView *pShaderResourceView) = 0;
-
- virtual void STDMETHODCALLTYPE SetResourceMinLOD(
- /* [annotation] */
- __in ID3D11Resource *pResource,
- FLOAT MinLOD) = 0;
-
- virtual FLOAT STDMETHODCALLTYPE GetResourceMinLOD(
- /* [annotation] */
- __in ID3D11Resource *pResource) = 0;
-
- virtual void STDMETHODCALLTYPE ResolveSubresource(
- /* [annotation] */
- __in ID3D11Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in ID3D11Resource *pSrcResource,
- /* [annotation] */
- __in UINT SrcSubresource,
- /* [annotation] */
- __in DXGI_FORMAT Format) = 0;
-
- virtual void STDMETHODCALLTYPE ExecuteCommandList(
- /* [annotation] */
- __in ID3D11CommandList *pCommandList,
- BOOL RestoreContextState) = 0;
-
- virtual void STDMETHODCALLTYPE HSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE HSSetShader(
- /* [annotation] */
- __in_opt ID3D11HullShader *pHullShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE HSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE HSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE DSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE DSSetShader(
- /* [annotation] */
- __in_opt ID3D11DomainShader *pDomainShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE DSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE DSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE CSSetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE CSSetUnorderedAccessViews(
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT NumUAVs,
- /* [annotation] */
- __in_ecount(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
- /* [annotation] */
- __in_ecount(NumUAVs) const UINT *pUAVInitialCounts) = 0;
-
- virtual void STDMETHODCALLTYPE CSSetShader(
- /* [annotation] */
- __in_opt ID3D11ComputeShader *pComputeShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE CSSetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE CSSetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE VSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE PSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE PSGetShader(
- /* [annotation] */
- __out ID3D11PixelShader **ppPixelShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE PSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE VSGetShader(
- /* [annotation] */
- __out ID3D11VertexShader **ppVertexShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE PSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE IAGetInputLayout(
- /* [annotation] */
- __out ID3D11InputLayout **ppInputLayout) = 0;
-
- virtual void STDMETHODCALLTYPE IAGetVertexBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) ID3D11Buffer **ppVertexBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pStrides,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pOffsets) = 0;
-
- virtual void STDMETHODCALLTYPE IAGetIndexBuffer(
- /* [annotation] */
- __out_opt ID3D11Buffer **pIndexBuffer,
- /* [annotation] */
- __out_opt DXGI_FORMAT *Format,
- /* [annotation] */
- __out_opt UINT *Offset) = 0;
-
- virtual void STDMETHODCALLTYPE GSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE GSGetShader(
- /* [annotation] */
- __out ID3D11GeometryShader **ppGeometryShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology(
- /* [annotation] */
- __out D3D11_PRIMITIVE_TOPOLOGY *pTopology) = 0;
-
- virtual void STDMETHODCALLTYPE VSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE VSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE GetPredication(
- /* [annotation] */
- __out_opt ID3D11Predicate **ppPredicate,
- /* [annotation] */
- __out_opt BOOL *pPredicateValue) = 0;
-
- virtual void STDMETHODCALLTYPE GSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE GSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE OMGetRenderTargets(
- /* [annotation] */
- __in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
- /* [annotation] */
- __out_ecount_opt(NumViews) ID3D11RenderTargetView **ppRenderTargetViews,
- /* [annotation] */
- __out_opt ID3D11DepthStencilView **ppDepthStencilView) = 0;
-
- virtual void STDMETHODCALLTYPE OMGetRenderTargetsAndUnorderedAccessViews(
- /* [annotation] */
- __in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTVs,
- /* [annotation] */
- __out_ecount_opt(NumRTVs) ID3D11RenderTargetView **ppRenderTargetViews,
- /* [annotation] */
- __out_opt ID3D11DepthStencilView **ppDepthStencilView,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs,
- /* [annotation] */
- __out_ecount_opt(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews) = 0;
-
- virtual void STDMETHODCALLTYPE OMGetBlendState(
- /* [annotation] */
- __out_opt ID3D11BlendState **ppBlendState,
- /* [annotation] */
- __out_opt FLOAT BlendFactor[ 4 ],
- /* [annotation] */
- __out_opt UINT *pSampleMask) = 0;
-
- virtual void STDMETHODCALLTYPE OMGetDepthStencilState(
- /* [annotation] */
- __out_opt ID3D11DepthStencilState **ppDepthStencilState,
- /* [annotation] */
- __out_opt UINT *pStencilRef) = 0;
-
- virtual void STDMETHODCALLTYPE SOGetTargets(
- /* [annotation] */
- __in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppSOTargets) = 0;
-
- virtual void STDMETHODCALLTYPE RSGetState(
- /* [annotation] */
- __out ID3D11RasterizerState **ppRasterizerState) = 0;
-
- virtual void STDMETHODCALLTYPE RSGetViewports(
- /* [annotation] */
- __inout /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumViewports,
- /* [annotation] */
- __out_ecount_opt(*pNumViewports) D3D11_VIEWPORT *pViewports) = 0;
-
- virtual void STDMETHODCALLTYPE RSGetScissorRects(
- /* [annotation] */
- __inout /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumRects,
- /* [annotation] */
- __out_ecount_opt(*pNumRects) D3D11_RECT *pRects) = 0;
-
- virtual void STDMETHODCALLTYPE HSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE HSGetShader(
- /* [annotation] */
- __out ID3D11HullShader **ppHullShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE HSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE HSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE DSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE DSGetShader(
- /* [annotation] */
- __out ID3D11DomainShader **ppDomainShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE DSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE DSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE CSGetShaderResources(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews) = 0;
-
- virtual void STDMETHODCALLTYPE CSGetUnorderedAccessViews(
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT NumUAVs,
- /* [annotation] */
- __out_ecount(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews) = 0;
-
- virtual void STDMETHODCALLTYPE CSGetShader(
- /* [annotation] */
- __out ID3D11ComputeShader **ppComputeShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances) = 0;
-
- virtual void STDMETHODCALLTYPE CSGetSamplers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers) = 0;
-
- virtual void STDMETHODCALLTYPE CSGetConstantBuffers(
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers) = 0;
-
- virtual void STDMETHODCALLTYPE ClearState( void) = 0;
-
- virtual void STDMETHODCALLTYPE Flush( void) = 0;
-
- virtual D3D11_DEVICE_CONTEXT_TYPE STDMETHODCALLTYPE GetType( void) = 0;
-
- virtual UINT STDMETHODCALLTYPE GetContextFlags( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE FinishCommandList(
- BOOL RestoreDeferredContextState,
- /* [annotation] */
- __out_opt ID3D11CommandList **ppCommandList) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11DeviceContextVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11DeviceContext * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11DeviceContext * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11DeviceContext * This);
-
- void ( STDMETHODCALLTYPE *GetDevice )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11Device **ppDevice);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt( *pDataSize ) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt( DataSize ) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *PSSetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *PSSetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11PixelShader *pPixelShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
-
- void ( STDMETHODCALLTYPE *PSSetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *VSSetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11VertexShader *pVertexShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
-
- void ( STDMETHODCALLTYPE *DrawIndexed )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in UINT IndexCount,
- /* [annotation] */
- __in UINT StartIndexLocation,
- /* [annotation] */
- __in INT BaseVertexLocation);
-
- void ( STDMETHODCALLTYPE *Draw )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in UINT VertexCount,
- /* [annotation] */
- __in UINT StartVertexLocation);
-
- HRESULT ( STDMETHODCALLTYPE *Map )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in UINT Subresource,
- /* [annotation] */
- __in D3D11_MAP MapType,
- /* [annotation] */
- __in UINT MapFlags,
- /* [annotation] */
- __out D3D11_MAPPED_SUBRESOURCE *pMappedResource);
-
- void ( STDMETHODCALLTYPE *Unmap )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in UINT Subresource);
-
- void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *IASetInputLayout )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11InputLayout *pInputLayout);
-
- void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppVertexBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) const UINT *pStrides,
- /* [annotation] */
- __in_ecount(NumBuffers) const UINT *pOffsets);
-
- void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11Buffer *pIndexBuffer,
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __in UINT Offset);
-
- void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in UINT IndexCountPerInstance,
- /* [annotation] */
- __in UINT InstanceCount,
- /* [annotation] */
- __in UINT StartIndexLocation,
- /* [annotation] */
- __in INT BaseVertexLocation,
- /* [annotation] */
- __in UINT StartInstanceLocation);
-
- void ( STDMETHODCALLTYPE *DrawInstanced )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in UINT VertexCountPerInstance,
- /* [annotation] */
- __in UINT InstanceCount,
- /* [annotation] */
- __in UINT StartVertexLocation,
- /* [annotation] */
- __in UINT StartInstanceLocation);
-
- void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *GSSetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11GeometryShader *pShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
-
- void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in D3D11_PRIMITIVE_TOPOLOGY Topology);
-
- void ( STDMETHODCALLTYPE *VSSetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *VSSetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *Begin )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Asynchronous *pAsync);
-
- void ( STDMETHODCALLTYPE *End )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Asynchronous *pAsync);
-
- HRESULT ( STDMETHODCALLTYPE *GetData )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Asynchronous *pAsync,
- /* [annotation] */
- __out_bcount_opt( DataSize ) void *pData,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in UINT GetDataFlags);
-
- void ( STDMETHODCALLTYPE *SetPredication )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11Predicate *pPredicate,
- /* [annotation] */
- __in BOOL PredicateValue);
-
- void ( STDMETHODCALLTYPE *GSSetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *GSSetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
- /* [annotation] */
- __in_ecount_opt(NumViews) ID3D11RenderTargetView *const *ppRenderTargetViews,
- /* [annotation] */
- __in_opt ID3D11DepthStencilView *pDepthStencilView);
-
- void ( STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in UINT NumRTVs,
- /* [annotation] */
- __in_ecount_opt(NumRTVs) ID3D11RenderTargetView *const *ppRenderTargetViews,
- /* [annotation] */
- __in_opt ID3D11DepthStencilView *pDepthStencilView,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSlot,
- /* [annotation] */
- __in UINT NumUAVs,
- /* [annotation] */
- __in_ecount_opt(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
- /* [annotation] */
- __in_ecount_opt(NumUAVs) const UINT *pUAVInitialCounts);
-
- void ( STDMETHODCALLTYPE *OMSetBlendState )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11BlendState *pBlendState,
- /* [annotation] */
- __in_opt const FLOAT BlendFactor[ 4 ],
- /* [annotation] */
- __in UINT SampleMask);
-
- void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11DepthStencilState *pDepthStencilState,
- /* [annotation] */
- __in UINT StencilRef);
-
- void ( STDMETHODCALLTYPE *SOSetTargets )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
- /* [annotation] */
- __in_ecount_opt(NumBuffers) ID3D11Buffer *const *ppSOTargets,
- /* [annotation] */
- __in_ecount_opt(NumBuffers) const UINT *pOffsets);
-
- void ( STDMETHODCALLTYPE *DrawAuto )(
- ID3D11DeviceContext * This);
-
- void ( STDMETHODCALLTYPE *DrawIndexedInstancedIndirect )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Buffer *pBufferForArgs,
- /* [annotation] */
- __in UINT AlignedByteOffsetForArgs);
-
- void ( STDMETHODCALLTYPE *DrawInstancedIndirect )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Buffer *pBufferForArgs,
- /* [annotation] */
- __in UINT AlignedByteOffsetForArgs);
-
- void ( STDMETHODCALLTYPE *Dispatch )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in UINT ThreadGroupCountX,
- /* [annotation] */
- __in UINT ThreadGroupCountY,
- /* [annotation] */
- __in UINT ThreadGroupCountZ);
-
- void ( STDMETHODCALLTYPE *DispatchIndirect )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Buffer *pBufferForArgs,
- /* [annotation] */
- __in UINT AlignedByteOffsetForArgs);
-
- void ( STDMETHODCALLTYPE *RSSetState )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11RasterizerState *pRasterizerState);
-
- void ( STDMETHODCALLTYPE *RSSetViewports )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
- /* [annotation] */
- __in_ecount_opt(NumViewports) const D3D11_VIEWPORT *pViewports);
-
- void ( STDMETHODCALLTYPE *RSSetScissorRects )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
- /* [annotation] */
- __in_ecount_opt(NumRects) const D3D11_RECT *pRects);
-
- void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in UINT DstX,
- /* [annotation] */
- __in UINT DstY,
- /* [annotation] */
- __in UINT DstZ,
- /* [annotation] */
- __in ID3D11Resource *pSrcResource,
- /* [annotation] */
- __in UINT SrcSubresource,
- /* [annotation] */
- __in_opt const D3D11_BOX *pSrcBox);
-
- void ( STDMETHODCALLTYPE *CopyResource )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Resource *pDstResource,
- /* [annotation] */
- __in ID3D11Resource *pSrcResource);
-
- void ( STDMETHODCALLTYPE *UpdateSubresource )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in_opt const D3D11_BOX *pDstBox,
- /* [annotation] */
- __in const void *pSrcData,
- /* [annotation] */
- __in UINT SrcRowPitch,
- /* [annotation] */
- __in UINT SrcDepthPitch);
-
- void ( STDMETHODCALLTYPE *CopyStructureCount )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Buffer *pDstBuffer,
- /* [annotation] */
- __in UINT DstAlignedByteOffset,
- /* [annotation] */
- __in ID3D11UnorderedAccessView *pSrcView);
-
- void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11RenderTargetView *pRenderTargetView,
- /* [annotation] */
- __in const FLOAT ColorRGBA[ 4 ]);
-
- void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewUint )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11UnorderedAccessView *pUnorderedAccessView,
- /* [annotation] */
- __in const UINT Values[ 4 ]);
-
- void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11UnorderedAccessView *pUnorderedAccessView,
- /* [annotation] */
- __in const FLOAT Values[ 4 ]);
-
- void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11DepthStencilView *pDepthStencilView,
- /* [annotation] */
- __in UINT ClearFlags,
- /* [annotation] */
- __in FLOAT Depth,
- /* [annotation] */
- __in UINT8 Stencil);
-
- void ( STDMETHODCALLTYPE *GenerateMips )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11ShaderResourceView *pShaderResourceView);
-
- void ( STDMETHODCALLTYPE *SetResourceMinLOD )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Resource *pResource,
- FLOAT MinLOD);
-
- FLOAT ( STDMETHODCALLTYPE *GetResourceMinLOD )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Resource *pResource);
-
- void ( STDMETHODCALLTYPE *ResolveSubresource )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11Resource *pDstResource,
- /* [annotation] */
- __in UINT DstSubresource,
- /* [annotation] */
- __in ID3D11Resource *pSrcResource,
- /* [annotation] */
- __in UINT SrcSubresource,
- /* [annotation] */
- __in DXGI_FORMAT Format);
-
- void ( STDMETHODCALLTYPE *ExecuteCommandList )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in ID3D11CommandList *pCommandList,
- BOOL RestoreContextState);
-
- void ( STDMETHODCALLTYPE *HSSetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *HSSetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11HullShader *pHullShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
-
- void ( STDMETHODCALLTYPE *HSSetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *HSSetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *DSSetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *DSSetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11DomainShader *pDomainShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
-
- void ( STDMETHODCALLTYPE *DSSetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *DSSetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *CSSetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __in_ecount(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *CSSetUnorderedAccessViews )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT NumUAVs,
- /* [annotation] */
- __in_ecount(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
- /* [annotation] */
- __in_ecount(NumUAVs) const UINT *pUAVInitialCounts);
-
- void ( STDMETHODCALLTYPE *CSSetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_opt ID3D11ComputeShader *pComputeShader,
- /* [annotation] */
- __in_ecount_opt(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
- UINT NumClassInstances);
-
- void ( STDMETHODCALLTYPE *CSSetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __in_ecount(NumSamplers) ID3D11SamplerState *const *ppSamplers);
-
- void ( STDMETHODCALLTYPE *CSSetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __in_ecount(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *PSGetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *PSGetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11PixelShader **ppPixelShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances);
-
- void ( STDMETHODCALLTYPE *PSGetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *VSGetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11VertexShader **ppVertexShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances);
-
- void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *IAGetInputLayout )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11InputLayout **ppInputLayout);
-
- void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) ID3D11Buffer **ppVertexBuffers,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pStrides,
- /* [annotation] */
- __out_ecount_opt(NumBuffers) UINT *pOffsets);
-
- void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out_opt ID3D11Buffer **pIndexBuffer,
- /* [annotation] */
- __out_opt DXGI_FORMAT *Format,
- /* [annotation] */
- __out_opt UINT *Offset);
-
- void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *GSGetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11GeometryShader **ppGeometryShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances);
-
- void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out D3D11_PRIMITIVE_TOPOLOGY *pTopology);
-
- void ( STDMETHODCALLTYPE *VSGetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *VSGetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *GetPredication )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out_opt ID3D11Predicate **ppPredicate,
- /* [annotation] */
- __out_opt BOOL *pPredicateValue);
-
- void ( STDMETHODCALLTYPE *GSGetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *GSGetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
- /* [annotation] */
- __out_ecount_opt(NumViews) ID3D11RenderTargetView **ppRenderTargetViews,
- /* [annotation] */
- __out_opt ID3D11DepthStencilView **ppDepthStencilView);
-
- void ( STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTVs,
- /* [annotation] */
- __out_ecount_opt(NumRTVs) ID3D11RenderTargetView **ppRenderTargetViews,
- /* [annotation] */
- __out_opt ID3D11DepthStencilView **ppDepthStencilView,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs,
- /* [annotation] */
- __out_ecount_opt(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
-
- void ( STDMETHODCALLTYPE *OMGetBlendState )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out_opt ID3D11BlendState **ppBlendState,
- /* [annotation] */
- __out_opt FLOAT BlendFactor[ 4 ],
- /* [annotation] */
- __out_opt UINT *pSampleMask);
-
- void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out_opt ID3D11DepthStencilState **ppDepthStencilState,
- /* [annotation] */
- __out_opt UINT *pStencilRef);
-
- void ( STDMETHODCALLTYPE *SOGetTargets )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppSOTargets);
-
- void ( STDMETHODCALLTYPE *RSGetState )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11RasterizerState **ppRasterizerState);
-
- void ( STDMETHODCALLTYPE *RSGetViewports )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __inout /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumViewports,
- /* [annotation] */
- __out_ecount_opt(*pNumViewports) D3D11_VIEWPORT *pViewports);
-
- void ( STDMETHODCALLTYPE *RSGetScissorRects )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __inout /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumRects,
- /* [annotation] */
- __out_ecount_opt(*pNumRects) D3D11_RECT *pRects);
-
- void ( STDMETHODCALLTYPE *HSGetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *HSGetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11HullShader **ppHullShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances);
-
- void ( STDMETHODCALLTYPE *HSGetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *HSGetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *DSGetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *DSGetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11DomainShader **ppDomainShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances);
-
- void ( STDMETHODCALLTYPE *DSGetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *DSGetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *CSGetShaderResources )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
- /* [annotation] */
- __out_ecount(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
-
- void ( STDMETHODCALLTYPE *CSGetUnorderedAccessViews )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot ) UINT NumUAVs,
- /* [annotation] */
- __out_ecount(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
-
- void ( STDMETHODCALLTYPE *CSGetShader )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __out ID3D11ComputeShader **ppComputeShader,
- /* [annotation] */
- __out_ecount_opt(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
- /* [annotation] */
- __inout_opt UINT *pNumClassInstances);
-
- void ( STDMETHODCALLTYPE *CSGetSamplers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
- /* [annotation] */
- __out_ecount(NumSamplers) ID3D11SamplerState **ppSamplers);
-
- void ( STDMETHODCALLTYPE *CSGetConstantBuffers )(
- ID3D11DeviceContext * This,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
- /* [annotation] */
- __in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
- /* [annotation] */
- __out_ecount(NumBuffers) ID3D11Buffer **ppConstantBuffers);
-
- void ( STDMETHODCALLTYPE *ClearState )(
- ID3D11DeviceContext * This);
-
- void ( STDMETHODCALLTYPE *Flush )(
- ID3D11DeviceContext * This);
-
- D3D11_DEVICE_CONTEXT_TYPE ( STDMETHODCALLTYPE *GetType )(
- ID3D11DeviceContext * This);
-
- UINT ( STDMETHODCALLTYPE *GetContextFlags )(
- ID3D11DeviceContext * This);
-
- HRESULT ( STDMETHODCALLTYPE *FinishCommandList )(
- ID3D11DeviceContext * This,
- BOOL RestoreDeferredContextState,
- /* [annotation] */
- __out_opt ID3D11CommandList **ppCommandList);
-
- END_INTERFACE
- } ID3D11DeviceContextVtbl;
- interface ID3D11DeviceContext
- {
- CONST_VTBL struct ID3D11DeviceContextVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11DeviceContext_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11DeviceContext_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11DeviceContext_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11DeviceContext_GetDevice(This,ppDevice) \
- ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
- #define ID3D11DeviceContext_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11DeviceContext_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11DeviceContext_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11DeviceContext_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) \
- ( (This)->lpVtbl -> PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) )
- #define ID3D11DeviceContext_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) \
- ( (This)->lpVtbl -> VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) )
- #define ID3D11DeviceContext_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) \
- ( (This)->lpVtbl -> DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) )
- #define ID3D11DeviceContext_Draw(This,VertexCount,StartVertexLocation) \
- ( (This)->lpVtbl -> Draw(This,VertexCount,StartVertexLocation) )
- #define ID3D11DeviceContext_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) \
- ( (This)->lpVtbl -> Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) )
- #define ID3D11DeviceContext_Unmap(This,pResource,Subresource) \
- ( (This)->lpVtbl -> Unmap(This,pResource,Subresource) )
- #define ID3D11DeviceContext_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_IASetInputLayout(This,pInputLayout) \
- ( (This)->lpVtbl -> IASetInputLayout(This,pInputLayout) )
- #define ID3D11DeviceContext_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
- ( (This)->lpVtbl -> IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
- #define ID3D11DeviceContext_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) \
- ( (This)->lpVtbl -> IASetIndexBuffer(This,pIndexBuffer,Format,Offset) )
- #define ID3D11DeviceContext_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) \
- ( (This)->lpVtbl -> DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) )
- #define ID3D11DeviceContext_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) \
- ( (This)->lpVtbl -> DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) )
- #define ID3D11DeviceContext_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) \
- ( (This)->lpVtbl -> GSSetShader(This,pShader,ppClassInstances,NumClassInstances) )
- #define ID3D11DeviceContext_IASetPrimitiveTopology(This,Topology) \
- ( (This)->lpVtbl -> IASetPrimitiveTopology(This,Topology) )
- #define ID3D11DeviceContext_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_Begin(This,pAsync) \
- ( (This)->lpVtbl -> Begin(This,pAsync) )
- #define ID3D11DeviceContext_End(This,pAsync) \
- ( (This)->lpVtbl -> End(This,pAsync) )
- #define ID3D11DeviceContext_GetData(This,pAsync,pData,DataSize,GetDataFlags) \
- ( (This)->lpVtbl -> GetData(This,pAsync,pData,DataSize,GetDataFlags) )
- #define ID3D11DeviceContext_SetPredication(This,pPredicate,PredicateValue) \
- ( (This)->lpVtbl -> SetPredication(This,pPredicate,PredicateValue) )
- #define ID3D11DeviceContext_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) \
- ( (This)->lpVtbl -> OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) )
- #define ID3D11DeviceContext_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
- ( (This)->lpVtbl -> OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
- #define ID3D11DeviceContext_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) \
- ( (This)->lpVtbl -> OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) )
- #define ID3D11DeviceContext_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) \
- ( (This)->lpVtbl -> OMSetDepthStencilState(This,pDepthStencilState,StencilRef) )
- #define ID3D11DeviceContext_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
- ( (This)->lpVtbl -> SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
- #define ID3D11DeviceContext_DrawAuto(This) \
- ( (This)->lpVtbl -> DrawAuto(This) )
- #define ID3D11DeviceContext_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
- ( (This)->lpVtbl -> DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
- #define ID3D11DeviceContext_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
- ( (This)->lpVtbl -> DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
- #define ID3D11DeviceContext_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) \
- ( (This)->lpVtbl -> Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) )
- #define ID3D11DeviceContext_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
- ( (This)->lpVtbl -> DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
- #define ID3D11DeviceContext_RSSetState(This,pRasterizerState) \
- ( (This)->lpVtbl -> RSSetState(This,pRasterizerState) )
- #define ID3D11DeviceContext_RSSetViewports(This,NumViewports,pViewports) \
- ( (This)->lpVtbl -> RSSetViewports(This,NumViewports,pViewports) )
- #define ID3D11DeviceContext_RSSetScissorRects(This,NumRects,pRects) \
- ( (This)->lpVtbl -> RSSetScissorRects(This,NumRects,pRects) )
- #define ID3D11DeviceContext_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) \
- ( (This)->lpVtbl -> CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) )
- #define ID3D11DeviceContext_CopyResource(This,pDstResource,pSrcResource) \
- ( (This)->lpVtbl -> CopyResource(This,pDstResource,pSrcResource) )
- #define ID3D11DeviceContext_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
- ( (This)->lpVtbl -> UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
- #define ID3D11DeviceContext_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) \
- ( (This)->lpVtbl -> CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) )
- #define ID3D11DeviceContext_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) \
- ( (This)->lpVtbl -> ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) )
- #define ID3D11DeviceContext_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) \
- ( (This)->lpVtbl -> ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) )
- #define ID3D11DeviceContext_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) \
- ( (This)->lpVtbl -> ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) )
- #define ID3D11DeviceContext_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) \
- ( (This)->lpVtbl -> ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) )
- #define ID3D11DeviceContext_GenerateMips(This,pShaderResourceView) \
- ( (This)->lpVtbl -> GenerateMips(This,pShaderResourceView) )
- #define ID3D11DeviceContext_SetResourceMinLOD(This,pResource,MinLOD) \
- ( (This)->lpVtbl -> SetResourceMinLOD(This,pResource,MinLOD) )
- #define ID3D11DeviceContext_GetResourceMinLOD(This,pResource) \
- ( (This)->lpVtbl -> GetResourceMinLOD(This,pResource) )
- #define ID3D11DeviceContext_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) \
- ( (This)->lpVtbl -> ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) )
- #define ID3D11DeviceContext_ExecuteCommandList(This,pCommandList,RestoreContextState) \
- ( (This)->lpVtbl -> ExecuteCommandList(This,pCommandList,RestoreContextState) )
- #define ID3D11DeviceContext_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) \
- ( (This)->lpVtbl -> HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) )
- #define ID3D11DeviceContext_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) \
- ( (This)->lpVtbl -> DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) )
- #define ID3D11DeviceContext_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
- ( (This)->lpVtbl -> CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
- #define ID3D11DeviceContext_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) \
- ( (This)->lpVtbl -> CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) )
- #define ID3D11DeviceContext_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) \
- ( (This)->lpVtbl -> PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) )
- #define ID3D11DeviceContext_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) \
- ( (This)->lpVtbl -> VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) )
- #define ID3D11DeviceContext_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_IAGetInputLayout(This,ppInputLayout) \
- ( (This)->lpVtbl -> IAGetInputLayout(This,ppInputLayout) )
- #define ID3D11DeviceContext_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
- ( (This)->lpVtbl -> IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
- #define ID3D11DeviceContext_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) \
- ( (This)->lpVtbl -> IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) )
- #define ID3D11DeviceContext_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) \
- ( (This)->lpVtbl -> GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) )
- #define ID3D11DeviceContext_IAGetPrimitiveTopology(This,pTopology) \
- ( (This)->lpVtbl -> IAGetPrimitiveTopology(This,pTopology) )
- #define ID3D11DeviceContext_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_GetPredication(This,ppPredicate,pPredicateValue) \
- ( (This)->lpVtbl -> GetPredication(This,ppPredicate,pPredicateValue) )
- #define ID3D11DeviceContext_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) \
- ( (This)->lpVtbl -> OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) )
- #define ID3D11DeviceContext_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) \
- ( (This)->lpVtbl -> OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) )
- #define ID3D11DeviceContext_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) \
- ( (This)->lpVtbl -> OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) )
- #define ID3D11DeviceContext_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) \
- ( (This)->lpVtbl -> OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) )
- #define ID3D11DeviceContext_SOGetTargets(This,NumBuffers,ppSOTargets) \
- ( (This)->lpVtbl -> SOGetTargets(This,NumBuffers,ppSOTargets) )
- #define ID3D11DeviceContext_RSGetState(This,ppRasterizerState) \
- ( (This)->lpVtbl -> RSGetState(This,ppRasterizerState) )
- #define ID3D11DeviceContext_RSGetViewports(This,pNumViewports,pViewports) \
- ( (This)->lpVtbl -> RSGetViewports(This,pNumViewports,pViewports) )
- #define ID3D11DeviceContext_RSGetScissorRects(This,pNumRects,pRects) \
- ( (This)->lpVtbl -> RSGetScissorRects(This,pNumRects,pRects) )
- #define ID3D11DeviceContext_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) \
- ( (This)->lpVtbl -> HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) )
- #define ID3D11DeviceContext_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) \
- ( (This)->lpVtbl -> DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) )
- #define ID3D11DeviceContext_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
- ( (This)->lpVtbl -> CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
- #define ID3D11DeviceContext_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) \
- ( (This)->lpVtbl -> CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) )
- #define ID3D11DeviceContext_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) \
- ( (This)->lpVtbl -> CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) )
- #define ID3D11DeviceContext_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
- ( (This)->lpVtbl -> CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
- #define ID3D11DeviceContext_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
- ( (This)->lpVtbl -> CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
- #define ID3D11DeviceContext_ClearState(This) \
- ( (This)->lpVtbl -> ClearState(This) )
- #define ID3D11DeviceContext_Flush(This) \
- ( (This)->lpVtbl -> Flush(This) )
- #define ID3D11DeviceContext_GetType(This) \
- ( (This)->lpVtbl -> GetType(This) )
- #define ID3D11DeviceContext_GetContextFlags(This) \
- ( (This)->lpVtbl -> GetContextFlags(This) )
- #define ID3D11DeviceContext_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) \
- ( (This)->lpVtbl -> FinishCommandList(This,RestoreDeferredContextState,ppCommandList) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11DeviceContext_INTERFACE_DEFINED__ */
- #ifndef __ID3D11Device_INTERFACE_DEFINED__
- #define __ID3D11Device_INTERFACE_DEFINED__
- /* interface ID3D11Device */
- /* [unique][local][object][uuid] */
- EXTERN_C const IID IID_ID3D11Device;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("db6f6ddb-ac77-4e88-8253-819df9bbf140")
- ID3D11Device : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
- /* [annotation] */
- __in const D3D11_BUFFER_DESC *pDesc,
- /* [annotation] */
- __in_opt const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D11Buffer **ppBuffer) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateTexture1D(
- /* [annotation] */
- __in const D3D11_TEXTURE1D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D11Texture1D **ppTexture1D) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateTexture2D(
- /* [annotation] */
- __in const D3D11_TEXTURE2D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D11Texture2D **ppTexture2D) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateTexture3D(
- /* [annotation] */
- __in const D3D11_TEXTURE3D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D11Texture3D **ppTexture3D) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView(
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in_opt const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D11ShaderResourceView **ppSRView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateUnorderedAccessView(
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in_opt const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D11UnorderedAccessView **ppUAView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView(
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in_opt const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D11RenderTargetView **ppRTView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView(
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in_opt const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D11DepthStencilView **ppDepthStencilView) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateInputLayout(
- /* [annotation] */
- __in_ecount(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
- /* [annotation] */
- __in const void *pShaderBytecodeWithInputSignature,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D11InputLayout **ppInputLayout) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11VertexShader **ppVertexShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11GeometryShader **ppGeometryShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_ecount_opt(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
- /* [annotation] */
- __in_range( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COUNT ) UINT NumEntries,
- /* [annotation] */
- __in_ecount_opt(NumStrides) const UINT *pBufferStrides,
- /* [annotation] */
- __in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
- /* [annotation] */
- __in UINT RasterizedStream,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11GeometryShader **ppGeometryShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11PixelShader **ppPixelShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateHullShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11HullShader **ppHullShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateDomainShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11DomainShader **ppDomainShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateComputeShader(
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11ComputeShader **ppComputeShader) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateClassLinkage(
- /* [annotation] */
- __out ID3D11ClassLinkage **ppLinkage) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateBlendState(
- /* [annotation] */
- __in const D3D11_BLEND_DESC *pBlendStateDesc,
- /* [annotation] */
- __out_opt ID3D11BlendState **ppBlendState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState(
- /* [annotation] */
- __in const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- /* [annotation] */
- __out_opt ID3D11DepthStencilState **ppDepthStencilState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState(
- /* [annotation] */
- __in const D3D11_RASTERIZER_DESC *pRasterizerDesc,
- /* [annotation] */
- __out_opt ID3D11RasterizerState **ppRasterizerState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateSamplerState(
- /* [annotation] */
- __in const D3D11_SAMPLER_DESC *pSamplerDesc,
- /* [annotation] */
- __out_opt ID3D11SamplerState **ppSamplerState) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateQuery(
- /* [annotation] */
- __in const D3D11_QUERY_DESC *pQueryDesc,
- /* [annotation] */
- __out_opt ID3D11Query **ppQuery) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreatePredicate(
- /* [annotation] */
- __in const D3D11_QUERY_DESC *pPredicateDesc,
- /* [annotation] */
- __out_opt ID3D11Predicate **ppPredicate) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateCounter(
- /* [annotation] */
- __in const D3D11_COUNTER_DESC *pCounterDesc,
- /* [annotation] */
- __out_opt ID3D11Counter **ppCounter) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext(
- UINT ContextFlags,
- /* [annotation] */
- __out_opt ID3D11DeviceContext **ppDeferredContext) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OpenSharedResource(
- /* [annotation] */
- __in HANDLE hResource,
- /* [annotation] */
- __in REFIID ReturnedInterface,
- /* [annotation] */
- __out_opt void **ppResource) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport(
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __out UINT *pFormatSupport) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels(
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __in UINT SampleCount,
- /* [annotation] */
- __out UINT *pNumQualityLevels) = 0;
-
- virtual void STDMETHODCALLTYPE CheckCounterInfo(
- /* [annotation] */
- __out D3D11_COUNTER_INFO *pCounterInfo) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CheckCounter(
- /* [annotation] */
- __in const D3D11_COUNTER_DESC *pDesc,
- /* [annotation] */
- __out D3D11_COUNTER_TYPE *pType,
- /* [annotation] */
- __out UINT *pActiveCounters,
- /* [annotation] */
- __out_ecount_opt(*pNameLength) LPSTR szName,
- /* [annotation] */
- __inout_opt UINT *pNameLength,
- /* [annotation] */
- __out_ecount_opt(*pUnitsLength) LPSTR szUnits,
- /* [annotation] */
- __inout_opt UINT *pUnitsLength,
- /* [annotation] */
- __out_ecount_opt(*pDescriptionLength) LPSTR szDescription,
- /* [annotation] */
- __inout_opt UINT *pDescriptionLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
- D3D11_FEATURE Feature,
- /* [annotation] */
- __out_bcount(FeatureSupportDataSize) void *pFeatureSupportData,
- UINT FeatureSupportDataSize) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData) = 0;
-
- virtual D3D_FEATURE_LEVEL STDMETHODCALLTYPE GetFeatureLevel( void) = 0;
-
- virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( void) = 0;
-
- virtual void STDMETHODCALLTYPE GetImmediateContext(
- /* [annotation] */
- __out ID3D11DeviceContext **ppImmediateContext) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetExceptionMode(
- UINT RaiseFlags) = 0;
-
- virtual UINT STDMETHODCALLTYPE GetExceptionMode( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ID3D11DeviceVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ID3D11Device * This,
- /* [in] */ REFIID riid,
- /* [annotation][iid_is][out] */
- __RPC__deref_out void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ID3D11Device * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ID3D11Device * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_BUFFER_DESC *pDesc,
- /* [annotation] */
- __in_opt const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D11Buffer **ppBuffer);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_TEXTURE1D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D11Texture1D **ppTexture1D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_TEXTURE2D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D11Texture2D **ppTexture2D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_TEXTURE3D_DESC *pDesc,
- /* [annotation] */
- __in_xcount_opt(pDesc->MipLevels) const D3D11_SUBRESOURCE_DATA *pInitialData,
- /* [annotation] */
- __out_opt ID3D11Texture3D **ppTexture3D);
-
- HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
- ID3D11Device * This,
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in_opt const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D11ShaderResourceView **ppSRView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
- ID3D11Device * This,
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in_opt const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D11UnorderedAccessView **ppUAView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
- ID3D11Device * This,
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in_opt const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D11RenderTargetView **ppRTView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
- ID3D11Device * This,
- /* [annotation] */
- __in ID3D11Resource *pResource,
- /* [annotation] */
- __in_opt const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
- /* [annotation] */
- __out_opt ID3D11DepthStencilView **ppDepthStencilView);
-
- HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
- ID3D11Device * This,
- /* [annotation] */
- __in_ecount(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
- /* [annotation] */
- __in_range( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
- /* [annotation] */
- __in const void *pShaderBytecodeWithInputSignature,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __out_opt ID3D11InputLayout **ppInputLayout);
-
- HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
- ID3D11Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11VertexShader **ppVertexShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
- ID3D11Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
- ID3D11Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_ecount_opt(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
- /* [annotation] */
- __in_range( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COUNT ) UINT NumEntries,
- /* [annotation] */
- __in_ecount_opt(NumStrides) const UINT *pBufferStrides,
- /* [annotation] */
- __in_range( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
- /* [annotation] */
- __in UINT RasterizedStream,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11GeometryShader **ppGeometryShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
- ID3D11Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11PixelShader **ppPixelShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
- ID3D11Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11HullShader **ppHullShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
- ID3D11Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11DomainShader **ppDomainShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
- ID3D11Device * This,
- /* [annotation] */
- __in const void *pShaderBytecode,
- /* [annotation] */
- __in SIZE_T BytecodeLength,
- /* [annotation] */
- __in_opt ID3D11ClassLinkage *pClassLinkage,
- /* [annotation] */
- __out_opt ID3D11ComputeShader **ppComputeShader);
-
- HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
- ID3D11Device * This,
- /* [annotation] */
- __out ID3D11ClassLinkage **ppLinkage);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_BLEND_DESC *pBlendStateDesc,
- /* [annotation] */
- __out_opt ID3D11BlendState **ppBlendState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
- /* [annotation] */
- __out_opt ID3D11DepthStencilState **ppDepthStencilState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_RASTERIZER_DESC *pRasterizerDesc,
- /* [annotation] */
- __out_opt ID3D11RasterizerState **ppRasterizerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_SAMPLER_DESC *pSamplerDesc,
- /* [annotation] */
- __out_opt ID3D11SamplerState **ppSamplerState);
-
- HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_QUERY_DESC *pQueryDesc,
- /* [annotation] */
- __out_opt ID3D11Query **ppQuery);
-
- HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_QUERY_DESC *pPredicateDesc,
- /* [annotation] */
- __out_opt ID3D11Predicate **ppPredicate);
-
- HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_COUNTER_DESC *pCounterDesc,
- /* [annotation] */
- __out_opt ID3D11Counter **ppCounter);
-
- HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
- ID3D11Device * This,
- UINT ContextFlags,
- /* [annotation] */
- __out_opt ID3D11DeviceContext **ppDeferredContext);
-
- HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
- ID3D11Device * This,
- /* [annotation] */
- __in HANDLE hResource,
- /* [annotation] */
- __in REFIID ReturnedInterface,
- /* [annotation] */
- __out_opt void **ppResource);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
- ID3D11Device * This,
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __out UINT *pFormatSupport);
-
- HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
- ID3D11Device * This,
- /* [annotation] */
- __in DXGI_FORMAT Format,
- /* [annotation] */
- __in UINT SampleCount,
- /* [annotation] */
- __out UINT *pNumQualityLevels);
-
- void ( STDMETHODCALLTYPE *CheckCounterInfo )(
- ID3D11Device * This,
- /* [annotation] */
- __out D3D11_COUNTER_INFO *pCounterInfo);
-
- HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
- ID3D11Device * This,
- /* [annotation] */
- __in const D3D11_COUNTER_DESC *pDesc,
- /* [annotation] */
- __out D3D11_COUNTER_TYPE *pType,
- /* [annotation] */
- __out UINT *pActiveCounters,
- /* [annotation] */
- __out_ecount_opt(*pNameLength) LPSTR szName,
- /* [annotation] */
- __inout_opt UINT *pNameLength,
- /* [annotation] */
- __out_ecount_opt(*pUnitsLength) LPSTR szUnits,
- /* [annotation] */
- __inout_opt UINT *pUnitsLength,
- /* [annotation] */
- __out_ecount_opt(*pDescriptionLength) LPSTR szDescription,
- /* [annotation] */
- __inout_opt UINT *pDescriptionLength);
-
- HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
- ID3D11Device * This,
- D3D11_FEATURE Feature,
- /* [annotation] */
- __out_bcount(FeatureSupportDataSize) void *pFeatureSupportData,
- UINT FeatureSupportDataSize);
-
- HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
- ID3D11Device * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __inout UINT *pDataSize,
- /* [annotation] */
- __out_bcount_opt(*pDataSize) void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
- ID3D11Device * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in UINT DataSize,
- /* [annotation] */
- __in_bcount_opt(DataSize) const void *pData);
-
- HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
- ID3D11Device * This,
- /* [annotation] */
- __in REFGUID guid,
- /* [annotation] */
- __in_opt const IUnknown *pData);
-
- D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
- ID3D11Device * This);
-
- UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
- ID3D11Device * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
- ID3D11Device * This);
-
- void ( STDMETHODCALLTYPE *GetImmediateContext )(
- ID3D11Device * This,
- /* [annotation] */
- __out ID3D11DeviceContext **ppImmediateContext);
-
- HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
- ID3D11Device * This,
- UINT RaiseFlags);
-
- UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
- ID3D11Device * This);
-
- END_INTERFACE
- } ID3D11DeviceVtbl;
- interface ID3D11Device
- {
- CONST_VTBL struct ID3D11DeviceVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ID3D11Device_QueryInterface(This,riid,ppvObject) \
- ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
- #define ID3D11Device_AddRef(This) \
- ( (This)->lpVtbl -> AddRef(This) )
- #define ID3D11Device_Release(This) \
- ( (This)->lpVtbl -> Release(This) )
- #define ID3D11Device_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
- ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
- #define ID3D11Device_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
- ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
- #define ID3D11Device_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
- ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
- #define ID3D11Device_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
- ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
- #define ID3D11Device_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
- ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
- #define ID3D11Device_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) \
- ( (This)->lpVtbl -> CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) )
- #define ID3D11Device_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
- ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
- #define ID3D11Device_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
- ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
- #define ID3D11Device_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
- ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
- #define ID3D11Device_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) \
- ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) )
- #define ID3D11Device_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) )
- #define ID3D11Device_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) \
- ( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) )
- #define ID3D11Device_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) \
- ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) )
- #define ID3D11Device_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) \
- ( (This)->lpVtbl -> CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) )
- #define ID3D11Device_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) \
- ( (This)->lpVtbl -> CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) )
- #define ID3D11Device_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) \
- ( (This)->lpVtbl -> CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) )
- #define ID3D11Device_CreateClassLinkage(This,ppLinkage) \
- ( (This)->lpVtbl -> CreateClassLinkage(This,ppLinkage) )
- #define ID3D11Device_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
- ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
- #define ID3D11Device_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
- ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
- #define ID3D11Device_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
- ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
- #define ID3D11Device_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
- ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
- #define ID3D11Device_CreateQuery(This,pQueryDesc,ppQuery) \
- ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
- #define ID3D11Device_CreatePredicate(This,pPredicateDesc,ppPredicate) \
- ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
- #define ID3D11Device_CreateCounter(This,pCounterDesc,ppCounter) \
- ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
- #define ID3D11Device_CreateDeferredContext(This,ContextFlags,ppDeferredContext) \
- ( (This)->lpVtbl -> CreateDeferredContext(This,ContextFlags,ppDeferredContext) )
- #define ID3D11Device_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
- ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
- #define ID3D11Device_CheckFormatSupport(This,Format,pFormatSupport) \
- ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
- #define ID3D11Device_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
- ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
- #define ID3D11Device_CheckCounterInfo(This,pCounterInfo) \
- ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
- #define ID3D11Device_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) \
- ( (This)->lpVtbl -> CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) )
- #define ID3D11Device_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
- ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
- #define ID3D11Device_GetPrivateData(This,guid,pDataSize,pData) \
- ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
- #define ID3D11Device_SetPrivateData(This,guid,DataSize,pData) \
- ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
- #define ID3D11Device_SetPrivateDataInterface(This,guid,pData) \
- ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
- #define ID3D11Device_GetFeatureLevel(This) \
- ( (This)->lpVtbl -> GetFeatureLevel(This) )
- #define ID3D11Device_GetCreationFlags(This) \
- ( (This)->lpVtbl -> GetCreationFlags(This) )
- #define ID3D11Device_GetDeviceRemovedReason(This) \
- ( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
- #define ID3D11Device_GetImmediateContext(This,ppImmediateContext) \
- ( (This)->lpVtbl -> GetImmediateContext(This,ppImmediateContext) )
- #define ID3D11Device_SetExceptionMode(This,RaiseFlags) \
- ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
- #define ID3D11Device_GetExceptionMode(This) \
- ( (This)->lpVtbl -> GetExceptionMode(This) )
- #endif /* COBJMACROS */
- #endif /* C style interface */
- #endif /* __ID3D11Device_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_d3d11_0000_0031 */
- /* [local] */
- typedef
- enum D3D11_CREATE_DEVICE_FLAG
- { D3D11_CREATE_DEVICE_SINGLETHREADED = 0x1,
- D3D11_CREATE_DEVICE_DEBUG = 0x2,
- D3D11_CREATE_DEVICE_SWITCH_TO_REF = 0x4,
- D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8,
- D3D11_CREATE_DEVICE_BGRA_SUPPORT = 0x20
- } D3D11_CREATE_DEVICE_FLAG;
- #define D3D11_SDK_VERSION ( 7 )
- #include "d3d10_1.h"
- #if !defined( D3D11_IGNORE_SDK_LAYERS )
- #include "d3d11sdklayers.h"
- #endif
- #include "d3d10misc.h"
- #include "d3d10shader.h"
- #include "d3d10effect.h"
- #include "d3d10_1shader.h"
- ///////////////////////////////////////////////////////////////////////////
- // D3D11CreateDevice
- // ------------------
- //
- // pAdapter
- // If NULL, D3D11CreateDevice will choose the primary adapter and
- // create a new instance from a temporarily created IDXGIFactory.
- // If non-NULL, D3D11CreateDevice will register the appropriate
- // device, if necessary (via IDXGIAdapter::RegisterDrver), before
- // creating the device.
- // DriverType
- // Specifies the driver type to be created: hardware, reference or
- // null.
- // Software
- // HMODULE of a DLL implementing a software rasterizer. Must be NULL for
- // non-Software driver types.
- // Flags
- // Any of those documented for D3D11CreateDeviceAndSwapChain.
- // pFeatureLevels
- // Any of those documented for D3D11CreateDeviceAndSwapChain.
- // FeatureLevels
- // Size of feature levels array.
- // SDKVersion
- // SDK version. Use the D3D11_SDK_VERSION macro.
- // ppDevice
- // Pointer to returned interface. May be NULL.
- // pFeatureLevel
- // Pointer to returned feature level. May be NULL.
- // ppImmediateContext
- // Pointer to returned interface. May be NULL.
- //
- // Return Values
- // Any of those documented for
- // CreateDXGIFactory1
- // IDXGIFactory::EnumAdapters
- // IDXGIAdapter::RegisterDriver
- // D3D11CreateDevice
- //
- ///////////////////////////////////////////////////////////////////////////
- typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE)( __in_opt IDXGIAdapter*,
- D3D_DRIVER_TYPE, HMODULE, UINT,
- __in_ecount_opt( FeatureLevels ) CONST D3D_FEATURE_LEVEL*,
- UINT FeatureLevels, UINT, __out_opt ID3D11Device**,
- __out_opt D3D_FEATURE_LEVEL*, __out_opt ID3D11DeviceContext** );
- HRESULT WINAPI D3D11CreateDevice(
- __in_opt IDXGIAdapter* pAdapter,
- D3D_DRIVER_TYPE DriverType,
- HMODULE Software,
- UINT Flags,
- __in_ecount_opt( FeatureLevels ) CONST D3D_FEATURE_LEVEL* pFeatureLevels,
- UINT FeatureLevels,
- UINT SDKVersion,
- __out_opt ID3D11Device** ppDevice,
- __out_opt D3D_FEATURE_LEVEL* pFeatureLevel,
- __out_opt ID3D11DeviceContext** ppImmediateContext );
- ///////////////////////////////////////////////////////////////////////////
- // D3D11CreateDeviceAndSwapChain
- // ------------------------------
- //
- // ppAdapter
- // If NULL, D3D11CreateDevice will choose the primary adapter and
- // create a new instance from a temporarily created IDXGIFactory.
- // If non-NULL, D3D11CreateDevice will register the appropriate
- // device, if necessary (via IDXGIAdapter::RegisterDrver), before
- // creating the device.
- // DriverType
- // Specifies the driver type to be created: hardware, reference or
- // null.
- // Software
- // HMODULE of a DLL implementing a software rasterizer. Must be NULL for
- // non-Software driver types.
- // Flags
- // Any of those documented for D3D11CreateDevice.
- // pFeatureLevels
- // Array of any of the following:
- // D3D_FEATURE_LEVEL_11_0
- // D3D_FEATURE_LEVEL_10_1
- // D3D_FEATURE_LEVEL_10_0
- // D3D_FEATURE_LEVEL_9_3
- // D3D_FEATURE_LEVEL_9_2
- // D3D_FEATURE_LEVEL_9_1
- // Order indicates sequence in which instantiation will be attempted. If
- // NULL, then the implied order is the same as previously listed (i.e.
- // prefer most features available).
- // FeatureLevels
- // Size of feature levels array.
- // SDKVersion
- // SDK version. Use the D3D11_SDK_VERSION macro.
- // pSwapChainDesc
- // Swap chain description, may be NULL.
- // ppSwapChain
- // Pointer to returned interface. May be NULL.
- // ppDevice
- // Pointer to returned interface. May be NULL.
- // pFeatureLevel
- // Pointer to returned feature level. May be NULL.
- // ppImmediateContext
- // Pointer to returned interface. May be NULL.
- //
- // Return Values
- // Any of those documented for
- // CreateDXGIFactory1
- // IDXGIFactory::EnumAdapters
- // IDXGIAdapter::RegisterDriver
- // D3D11CreateDevice
- // IDXGIFactory::CreateSwapChain
- //
- ///////////////////////////////////////////////////////////////////////////
- typedef HRESULT (WINAPI* PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN)( __in_opt IDXGIAdapter*,
- D3D_DRIVER_TYPE, HMODULE, UINT,
- __in_ecount_opt( FeatureLevels ) CONST D3D_FEATURE_LEVEL*,
- UINT FeatureLevels, UINT, __in_opt CONST DXGI_SWAP_CHAIN_DESC*,
- __out_opt IDXGISwapChain**, __out_opt ID3D11Device**,
- __out_opt D3D_FEATURE_LEVEL*, __out_opt ID3D11DeviceContext** );
- HRESULT WINAPI D3D11CreateDeviceAndSwapChain(
- __in_opt IDXGIAdapter* pAdapter,
- D3D_DRIVER_TYPE DriverType,
- HMODULE Software,
- UINT Flags,
- __in_ecount_opt( FeatureLevels ) CONST D3D_FEATURE_LEVEL* pFeatureLevels,
- UINT FeatureLevels,
- UINT SDKVersion,
- __in_opt CONST DXGI_SWAP_CHAIN_DESC* pSwapChainDesc,
- __out_opt IDXGISwapChain** ppSwapChain,
- __out_opt ID3D11Device** ppDevice,
- __out_opt D3D_FEATURE_LEVEL* pFeatureLevel,
- __out_opt ID3D11DeviceContext** ppImmediateContext );
- DEFINE_GUID(IID_ID3D11DeviceChild,0x1841e5c8,0x16b0,0x489b,0xbc,0xc8,0x44,0xcf,0xb0,0xd5,0xde,0xae);
- DEFINE_GUID(IID_ID3D11DepthStencilState,0x03823efb,0x8d8f,0x4e1c,0x9a,0xa2,0xf6,0x4b,0xb2,0xcb,0xfd,0xf1);
- DEFINE_GUID(IID_ID3D11BlendState,0x75b68faa,0x347d,0x4159,0x8f,0x45,0xa0,0x64,0x0f,0x01,0xcd,0x9a);
- DEFINE_GUID(IID_ID3D11RasterizerState,0x9bb4ab81,0xab1a,0x4d8f,0xb5,0x06,0xfc,0x04,0x20,0x0b,0x6e,0xe7);
- DEFINE_GUID(IID_ID3D11Resource,0xdc8e63f3,0xd12b,0x4952,0xb4,0x7b,0x5e,0x45,0x02,0x6a,0x86,0x2d);
- DEFINE_GUID(IID_ID3D11Buffer,0x48570b85,0xd1ee,0x4fcd,0xa2,0x50,0xeb,0x35,0x07,0x22,0xb0,0x37);
- DEFINE_GUID(IID_ID3D11Texture1D,0xf8fb5c27,0xc6b3,0x4f75,0xa4,0xc8,0x43,0x9a,0xf2,0xef,0x56,0x4c);
- DEFINE_GUID(IID_ID3D11Texture2D,0x6f15aaf2,0xd208,0x4e89,0x9a,0xb4,0x48,0x95,0x35,0xd3,0x4f,0x9c);
- DEFINE_GUID(IID_ID3D11Texture3D,0x037e866e,0xf56d,0x4357,0xa8,0xaf,0x9d,0xab,0xbe,0x6e,0x25,0x0e);
- DEFINE_GUID(IID_ID3D11View,0x839d1216,0xbb2e,0x412b,0xb7,0xf4,0xa9,0xdb,0xeb,0xe0,0x8e,0xd1);
- DEFINE_GUID(IID_ID3D11ShaderResourceView,0xb0e06fe0,0x8192,0x4e1a,0xb1,0xca,0x36,0xd7,0x41,0x47,0x10,0xb2);
- DEFINE_GUID(IID_ID3D11RenderTargetView,0xdfdba067,0x0b8d,0x4865,0x87,0x5b,0xd7,0xb4,0x51,0x6c,0xc1,0x64);
- DEFINE_GUID(IID_ID3D11DepthStencilView,0x9fdac92a,0x1876,0x48c3,0xaf,0xad,0x25,0xb9,0x4f,0x84,0xa9,0xb6);
- DEFINE_GUID(IID_ID3D11UnorderedAccessView,0x28acf509,0x7f5c,0x48f6,0x86,0x11,0xf3,0x16,0x01,0x0a,0x63,0x80);
- DEFINE_GUID(IID_ID3D11VertexShader,0x3b301d64,0xd678,0x4289,0x88,0x97,0x22,0xf8,0x92,0x8b,0x72,0xf3);
- DEFINE_GUID(IID_ID3D11HullShader,0x8e5c6061,0x628a,0x4c8e,0x82,0x64,0xbb,0xe4,0x5c,0xb3,0xd5,0xdd);
- DEFINE_GUID(IID_ID3D11DomainShader,0xf582c508,0x0f36,0x490c,0x99,0x77,0x31,0xee,0xce,0x26,0x8c,0xfa);
- DEFINE_GUID(IID_ID3D11GeometryShader,0x38325b96,0xeffb,0x4022,0xba,0x02,0x2e,0x79,0x5b,0x70,0x27,0x5c);
- DEFINE_GUID(IID_ID3D11PixelShader,0xea82e40d,0x51dc,0x4f33,0x93,0xd4,0xdb,0x7c,0x91,0x25,0xae,0x8c);
- DEFINE_GUID(IID_ID3D11ComputeShader,0x4f5b196e,0xc2bd,0x495e,0xbd,0x01,0x1f,0xde,0xd3,0x8e,0x49,0x69);
- DEFINE_GUID(IID_ID3D11InputLayout,0xe4819ddc,0x4cf0,0x4025,0xbd,0x26,0x5d,0xe8,0x2a,0x3e,0x07,0xb7);
- DEFINE_GUID(IID_ID3D11SamplerState,0xda6fea51,0x564c,0x4487,0x98,0x10,0xf0,0xd0,0xf9,0xb4,0xe3,0xa5);
- DEFINE_GUID(IID_ID3D11Asynchronous,0x4b35d0cd,0x1e15,0x4258,0x9c,0x98,0x1b,0x13,0x33,0xf6,0xdd,0x3b);
- DEFINE_GUID(IID_ID3D11Query,0xd6c00747,0x87b7,0x425e,0xb8,0x4d,0x44,0xd1,0x08,0x56,0x0a,0xfd);
- DEFINE_GUID(IID_ID3D11Predicate,0x9eb576dd,0x9f77,0x4d86,0x81,0xaa,0x8b,0xab,0x5f,0xe4,0x90,0xe2);
- DEFINE_GUID(IID_ID3D11Counter,0x6e8c49fb,0xa371,0x4770,0xb4,0x40,0x29,0x08,0x60,0x22,0xb7,0x41);
- DEFINE_GUID(IID_ID3D11ClassInstance,0xa6cd7faa,0xb0b7,0x4a2f,0x94,0x36,0x86,0x62,0xa6,0x57,0x97,0xcb);
- DEFINE_GUID(IID_ID3D11ClassLinkage,0xddf57cba,0x9543,0x46e4,0xa1,0x2b,0xf2,0x07,0xa0,0xfe,0x7f,0xed);
- DEFINE_GUID(IID_ID3D11CommandList,0xa24bc4d1,0x769e,0x43f7,0x80,0x13,0x98,0xff,0x56,0x6c,0x18,0xe2);
- DEFINE_GUID(IID_ID3D11DeviceContext,0xc0bfa96c,0xe089,0x44fb,0x8e,0xaf,0x26,0xf8,0x79,0x61,0x90,0xda);
- DEFINE_GUID(IID_ID3D11Device,0xdb6f6ddb,0xac77,0x4e88,0x82,0x53,0x81,0x9d,0xf9,0xbb,0xf1,0x40);
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0031_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_d3d11_0000_0031_v0_0_s_ifspec;
- /* Additional Prototypes for ALL interfaces */
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif
|