d3d11_3.h 281 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832
  1. /*-------------------------------------------------------------------------------------
  2. *
  3. * Copyright (c) Microsoft Corporation
  4. *
  5. *-------------------------------------------------------------------------------------*/
  6. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  7. /* File created by MIDL compiler version 8.01.0622 */
  8. /* @@MIDL_FILE_HEADING( ) */
  9. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  10. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  11. #define __REQUIRED_RPCNDR_H_VERSION__ 500
  12. #endif
  13. /* verify that the <rpcsal.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCSAL_H_VERSION__
  15. #define __REQUIRED_RPCSAL_H_VERSION__ 100
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif /* __RPCNDR_H_VERSION__ */
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __d3d11_3_h__
  27. #define __d3d11_3_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ID3D11Texture2D1_FWD_DEFINED__
  33. #define __ID3D11Texture2D1_FWD_DEFINED__
  34. typedef interface ID3D11Texture2D1 ID3D11Texture2D1;
  35. #endif /* __ID3D11Texture2D1_FWD_DEFINED__ */
  36. #ifndef __ID3D11Texture3D1_FWD_DEFINED__
  37. #define __ID3D11Texture3D1_FWD_DEFINED__
  38. typedef interface ID3D11Texture3D1 ID3D11Texture3D1;
  39. #endif /* __ID3D11Texture3D1_FWD_DEFINED__ */
  40. #ifndef __ID3D11RasterizerState2_FWD_DEFINED__
  41. #define __ID3D11RasterizerState2_FWD_DEFINED__
  42. typedef interface ID3D11RasterizerState2 ID3D11RasterizerState2;
  43. #endif /* __ID3D11RasterizerState2_FWD_DEFINED__ */
  44. #ifndef __ID3D11ShaderResourceView1_FWD_DEFINED__
  45. #define __ID3D11ShaderResourceView1_FWD_DEFINED__
  46. typedef interface ID3D11ShaderResourceView1 ID3D11ShaderResourceView1;
  47. #endif /* __ID3D11ShaderResourceView1_FWD_DEFINED__ */
  48. #ifndef __ID3D11RenderTargetView1_FWD_DEFINED__
  49. #define __ID3D11RenderTargetView1_FWD_DEFINED__
  50. typedef interface ID3D11RenderTargetView1 ID3D11RenderTargetView1;
  51. #endif /* __ID3D11RenderTargetView1_FWD_DEFINED__ */
  52. #ifndef __ID3D11UnorderedAccessView1_FWD_DEFINED__
  53. #define __ID3D11UnorderedAccessView1_FWD_DEFINED__
  54. typedef interface ID3D11UnorderedAccessView1 ID3D11UnorderedAccessView1;
  55. #endif /* __ID3D11UnorderedAccessView1_FWD_DEFINED__ */
  56. #ifndef __ID3D11Query1_FWD_DEFINED__
  57. #define __ID3D11Query1_FWD_DEFINED__
  58. typedef interface ID3D11Query1 ID3D11Query1;
  59. #endif /* __ID3D11Query1_FWD_DEFINED__ */
  60. #ifndef __ID3D11DeviceContext3_FWD_DEFINED__
  61. #define __ID3D11DeviceContext3_FWD_DEFINED__
  62. typedef interface ID3D11DeviceContext3 ID3D11DeviceContext3;
  63. #endif /* __ID3D11DeviceContext3_FWD_DEFINED__ */
  64. #ifndef __ID3D11Fence_FWD_DEFINED__
  65. #define __ID3D11Fence_FWD_DEFINED__
  66. typedef interface ID3D11Fence ID3D11Fence;
  67. #endif /* __ID3D11Fence_FWD_DEFINED__ */
  68. #ifndef __ID3D11DeviceContext4_FWD_DEFINED__
  69. #define __ID3D11DeviceContext4_FWD_DEFINED__
  70. typedef interface ID3D11DeviceContext4 ID3D11DeviceContext4;
  71. #endif /* __ID3D11DeviceContext4_FWD_DEFINED__ */
  72. #ifndef __ID3D11Device3_FWD_DEFINED__
  73. #define __ID3D11Device3_FWD_DEFINED__
  74. typedef interface ID3D11Device3 ID3D11Device3;
  75. #endif /* __ID3D11Device3_FWD_DEFINED__ */
  76. /* header files for imported files */
  77. #include "oaidl.h"
  78. #include "ocidl.h"
  79. #include "dxgi1_3.h"
  80. #include "d3dcommon.h"
  81. #include "d3d11_2.h"
  82. #ifdef __cplusplus
  83. extern "C"{
  84. #endif
  85. /* interface __MIDL_itf_d3d11_3_0000_0000 */
  86. /* [local] */
  87. #ifdef __cplusplus
  88. }
  89. #endif
  90. #include "d3d11_2.h" //
  91. #ifdef __cplusplus
  92. extern "C"{
  93. #endif
  94. typedef
  95. enum D3D11_CONTEXT_TYPE
  96. {
  97. D3D11_CONTEXT_TYPE_ALL = 0,
  98. D3D11_CONTEXT_TYPE_3D = 1,
  99. D3D11_CONTEXT_TYPE_COMPUTE = 2,
  100. D3D11_CONTEXT_TYPE_COPY = 3,
  101. D3D11_CONTEXT_TYPE_VIDEO = 4
  102. } D3D11_CONTEXT_TYPE;
  103. typedef
  104. enum D3D11_TEXTURE_LAYOUT
  105. {
  106. D3D11_TEXTURE_LAYOUT_UNDEFINED = 0,
  107. D3D11_TEXTURE_LAYOUT_ROW_MAJOR = 1,
  108. D3D11_TEXTURE_LAYOUT_64K_STANDARD_SWIZZLE = 2
  109. } D3D11_TEXTURE_LAYOUT;
  110. typedef struct D3D11_TEXTURE2D_DESC1
  111. {
  112. UINT Width;
  113. UINT Height;
  114. UINT MipLevels;
  115. UINT ArraySize;
  116. DXGI_FORMAT Format;
  117. DXGI_SAMPLE_DESC SampleDesc;
  118. D3D11_USAGE Usage;
  119. UINT BindFlags;
  120. UINT CPUAccessFlags;
  121. UINT MiscFlags;
  122. D3D11_TEXTURE_LAYOUT TextureLayout;
  123. } D3D11_TEXTURE2D_DESC1;
  124. #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
  125. }
  126. struct CD3D11_TEXTURE2D_DESC1 : public D3D11_TEXTURE2D_DESC1
  127. {
  128. CD3D11_TEXTURE2D_DESC1()
  129. {}
  130. explicit CD3D11_TEXTURE2D_DESC1( const D3D11_TEXTURE2D_DESC1& o ) :
  131. D3D11_TEXTURE2D_DESC1( o )
  132. {}
  133. explicit CD3D11_TEXTURE2D_DESC1(
  134. DXGI_FORMAT format,
  135. UINT width,
  136. UINT height,
  137. UINT arraySize = 1,
  138. UINT mipLevels = 0,
  139. UINT bindFlags = D3D11_BIND_SHADER_RESOURCE,
  140. D3D11_USAGE usage = D3D11_USAGE_DEFAULT,
  141. UINT cpuaccessFlags = 0,
  142. UINT sampleCount = 1,
  143. UINT sampleQuality = 0,
  144. UINT miscFlags = 0,
  145. D3D11_TEXTURE_LAYOUT textureLayout = D3D11_TEXTURE_LAYOUT_UNDEFINED)
  146. {
  147. Width = width;
  148. Height = height;
  149. MipLevels = mipLevels;
  150. ArraySize = arraySize;
  151. Format = format;
  152. SampleDesc.Count = sampleCount;
  153. SampleDesc.Quality = sampleQuality;
  154. Usage = usage;
  155. BindFlags = bindFlags;
  156. CPUAccessFlags = cpuaccessFlags;
  157. MiscFlags = miscFlags;
  158. TextureLayout = textureLayout;
  159. }
  160. explicit CD3D11_TEXTURE2D_DESC1(
  161. const D3D11_TEXTURE2D_DESC &desc,
  162. D3D11_TEXTURE_LAYOUT textureLayout = D3D11_TEXTURE_LAYOUT_UNDEFINED)
  163. {
  164. Width = desc.Width;
  165. Height = desc.Height;
  166. MipLevels = desc.MipLevels;
  167. ArraySize = desc.ArraySize;
  168. Format = desc.Format;
  169. SampleDesc.Count = desc.SampleDesc.Count;
  170. SampleDesc.Quality = desc. SampleDesc.Quality;
  171. Usage = desc.Usage;
  172. BindFlags = desc.BindFlags;
  173. CPUAccessFlags = desc.CPUAccessFlags;
  174. MiscFlags = desc.MiscFlags;
  175. TextureLayout = textureLayout;
  176. }
  177. ~CD3D11_TEXTURE2D_DESC1() {}
  178. operator const D3D11_TEXTURE2D_DESC1&() const { return *this; }
  179. };
  180. extern "C"{
  181. #endif
  182. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0000_v0_0_c_ifspec;
  183. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0000_v0_0_s_ifspec;
  184. #ifndef __ID3D11Texture2D1_INTERFACE_DEFINED__
  185. #define __ID3D11Texture2D1_INTERFACE_DEFINED__
  186. /* interface ID3D11Texture2D1 */
  187. /* [unique][local][object][uuid] */
  188. EXTERN_C const IID IID_ID3D11Texture2D1;
  189. #if defined(__cplusplus) && !defined(CINTERFACE)
  190. MIDL_INTERFACE("51218251-1E33-4617-9CCB-4D3A4367E7BB")
  191. ID3D11Texture2D1 : public ID3D11Texture2D
  192. {
  193. public:
  194. virtual void STDMETHODCALLTYPE GetDesc1(
  195. /* [annotation] */
  196. _Out_ D3D11_TEXTURE2D_DESC1 *pDesc) = 0;
  197. };
  198. #else /* C style interface */
  199. typedef struct ID3D11Texture2D1Vtbl
  200. {
  201. BEGIN_INTERFACE
  202. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  203. ID3D11Texture2D1 * This,
  204. /* [in] */ REFIID riid,
  205. /* [annotation][iid_is][out] */
  206. _COM_Outptr_ void **ppvObject);
  207. ULONG ( STDMETHODCALLTYPE *AddRef )(
  208. ID3D11Texture2D1 * This);
  209. ULONG ( STDMETHODCALLTYPE *Release )(
  210. ID3D11Texture2D1 * This);
  211. void ( STDMETHODCALLTYPE *GetDevice )(
  212. ID3D11Texture2D1 * This,
  213. /* [annotation] */
  214. _Outptr_ ID3D11Device **ppDevice);
  215. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  216. ID3D11Texture2D1 * This,
  217. /* [annotation] */
  218. _In_ REFGUID guid,
  219. /* [annotation] */
  220. _Inout_ UINT *pDataSize,
  221. /* [annotation] */
  222. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  223. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  224. ID3D11Texture2D1 * This,
  225. /* [annotation] */
  226. _In_ REFGUID guid,
  227. /* [annotation] */
  228. _In_ UINT DataSize,
  229. /* [annotation] */
  230. _In_reads_bytes_opt_( DataSize ) const void *pData);
  231. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  232. ID3D11Texture2D1 * This,
  233. /* [annotation] */
  234. _In_ REFGUID guid,
  235. /* [annotation] */
  236. _In_opt_ const IUnknown *pData);
  237. void ( STDMETHODCALLTYPE *GetType )(
  238. ID3D11Texture2D1 * This,
  239. /* [annotation] */
  240. _Out_ D3D11_RESOURCE_DIMENSION *pResourceDimension);
  241. void ( STDMETHODCALLTYPE *SetEvictionPriority )(
  242. ID3D11Texture2D1 * This,
  243. /* [annotation] */
  244. _In_ UINT EvictionPriority);
  245. UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
  246. ID3D11Texture2D1 * This);
  247. void ( STDMETHODCALLTYPE *GetDesc )(
  248. ID3D11Texture2D1 * This,
  249. /* [annotation] */
  250. _Out_ D3D11_TEXTURE2D_DESC *pDesc);
  251. void ( STDMETHODCALLTYPE *GetDesc1 )(
  252. ID3D11Texture2D1 * This,
  253. /* [annotation] */
  254. _Out_ D3D11_TEXTURE2D_DESC1 *pDesc);
  255. END_INTERFACE
  256. } ID3D11Texture2D1Vtbl;
  257. interface ID3D11Texture2D1
  258. {
  259. CONST_VTBL struct ID3D11Texture2D1Vtbl *lpVtbl;
  260. };
  261. #ifdef COBJMACROS
  262. #define ID3D11Texture2D1_QueryInterface(This,riid,ppvObject) \
  263. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  264. #define ID3D11Texture2D1_AddRef(This) \
  265. ( (This)->lpVtbl -> AddRef(This) )
  266. #define ID3D11Texture2D1_Release(This) \
  267. ( (This)->lpVtbl -> Release(This) )
  268. #define ID3D11Texture2D1_GetDevice(This,ppDevice) \
  269. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  270. #define ID3D11Texture2D1_GetPrivateData(This,guid,pDataSize,pData) \
  271. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  272. #define ID3D11Texture2D1_SetPrivateData(This,guid,DataSize,pData) \
  273. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  274. #define ID3D11Texture2D1_SetPrivateDataInterface(This,guid,pData) \
  275. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  276. #define ID3D11Texture2D1_GetType(This,pResourceDimension) \
  277. ( (This)->lpVtbl -> GetType(This,pResourceDimension) )
  278. #define ID3D11Texture2D1_SetEvictionPriority(This,EvictionPriority) \
  279. ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
  280. #define ID3D11Texture2D1_GetEvictionPriority(This) \
  281. ( (This)->lpVtbl -> GetEvictionPriority(This) )
  282. #define ID3D11Texture2D1_GetDesc(This,pDesc) \
  283. ( (This)->lpVtbl -> GetDesc(This,pDesc) )
  284. #define ID3D11Texture2D1_GetDesc1(This,pDesc) \
  285. ( (This)->lpVtbl -> GetDesc1(This,pDesc) )
  286. #endif /* COBJMACROS */
  287. #endif /* C style interface */
  288. #endif /* __ID3D11Texture2D1_INTERFACE_DEFINED__ */
  289. /* interface __MIDL_itf_d3d11_3_0000_0001 */
  290. /* [local] */
  291. typedef struct D3D11_TEXTURE3D_DESC1
  292. {
  293. UINT Width;
  294. UINT Height;
  295. UINT Depth;
  296. UINT MipLevels;
  297. DXGI_FORMAT Format;
  298. D3D11_USAGE Usage;
  299. UINT BindFlags;
  300. UINT CPUAccessFlags;
  301. UINT MiscFlags;
  302. D3D11_TEXTURE_LAYOUT TextureLayout;
  303. } D3D11_TEXTURE3D_DESC1;
  304. #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
  305. }
  306. struct CD3D11_TEXTURE3D_DESC1 : public D3D11_TEXTURE3D_DESC1
  307. {
  308. CD3D11_TEXTURE3D_DESC1()
  309. {}
  310. explicit CD3D11_TEXTURE3D_DESC1( const D3D11_TEXTURE3D_DESC1& o ) :
  311. D3D11_TEXTURE3D_DESC1( o )
  312. {}
  313. explicit CD3D11_TEXTURE3D_DESC1(
  314. DXGI_FORMAT format,
  315. UINT width,
  316. UINT height,
  317. UINT depth,
  318. UINT mipLevels = 0,
  319. UINT bindFlags = D3D11_BIND_SHADER_RESOURCE,
  320. D3D11_USAGE usage = D3D11_USAGE_DEFAULT,
  321. UINT cpuaccessFlags = 0,
  322. UINT miscFlags = 0,
  323. D3D11_TEXTURE_LAYOUT textureLayout = D3D11_TEXTURE_LAYOUT_UNDEFINED)
  324. {
  325. Width = width;
  326. Height = height;
  327. Depth = depth;
  328. MipLevels = mipLevels;
  329. Format = format;
  330. Usage = usage;
  331. BindFlags = bindFlags;
  332. CPUAccessFlags = cpuaccessFlags;
  333. MiscFlags = miscFlags;
  334. TextureLayout = textureLayout;
  335. }
  336. explicit CD3D11_TEXTURE3D_DESC1(
  337. const D3D11_TEXTURE3D_DESC &desc,
  338. D3D11_TEXTURE_LAYOUT textureLayout = D3D11_TEXTURE_LAYOUT_UNDEFINED)
  339. {
  340. Width = desc.Width;
  341. Height = desc.Height;
  342. Depth = desc.Depth;
  343. MipLevels = desc.MipLevels;
  344. Format = desc.Format;
  345. Usage = desc.Usage;
  346. BindFlags = desc.BindFlags;
  347. CPUAccessFlags = desc.CPUAccessFlags;
  348. MiscFlags = desc.MiscFlags;
  349. TextureLayout = textureLayout;
  350. }
  351. ~CD3D11_TEXTURE3D_DESC1() {}
  352. operator const D3D11_TEXTURE3D_DESC1&() const { return *this; }
  353. };
  354. extern "C"{
  355. #endif
  356. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0001_v0_0_c_ifspec;
  357. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0001_v0_0_s_ifspec;
  358. #ifndef __ID3D11Texture3D1_INTERFACE_DEFINED__
  359. #define __ID3D11Texture3D1_INTERFACE_DEFINED__
  360. /* interface ID3D11Texture3D1 */
  361. /* [unique][local][object][uuid] */
  362. EXTERN_C const IID IID_ID3D11Texture3D1;
  363. #if defined(__cplusplus) && !defined(CINTERFACE)
  364. MIDL_INTERFACE("0C711683-2853-4846-9BB0-F3E60639E46A")
  365. ID3D11Texture3D1 : public ID3D11Texture3D
  366. {
  367. public:
  368. virtual void STDMETHODCALLTYPE GetDesc1(
  369. /* [annotation] */
  370. _Out_ D3D11_TEXTURE3D_DESC1 *pDesc) = 0;
  371. };
  372. #else /* C style interface */
  373. typedef struct ID3D11Texture3D1Vtbl
  374. {
  375. BEGIN_INTERFACE
  376. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  377. ID3D11Texture3D1 * This,
  378. /* [in] */ REFIID riid,
  379. /* [annotation][iid_is][out] */
  380. _COM_Outptr_ void **ppvObject);
  381. ULONG ( STDMETHODCALLTYPE *AddRef )(
  382. ID3D11Texture3D1 * This);
  383. ULONG ( STDMETHODCALLTYPE *Release )(
  384. ID3D11Texture3D1 * This);
  385. void ( STDMETHODCALLTYPE *GetDevice )(
  386. ID3D11Texture3D1 * This,
  387. /* [annotation] */
  388. _Outptr_ ID3D11Device **ppDevice);
  389. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  390. ID3D11Texture3D1 * This,
  391. /* [annotation] */
  392. _In_ REFGUID guid,
  393. /* [annotation] */
  394. _Inout_ UINT *pDataSize,
  395. /* [annotation] */
  396. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  397. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  398. ID3D11Texture3D1 * This,
  399. /* [annotation] */
  400. _In_ REFGUID guid,
  401. /* [annotation] */
  402. _In_ UINT DataSize,
  403. /* [annotation] */
  404. _In_reads_bytes_opt_( DataSize ) const void *pData);
  405. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  406. ID3D11Texture3D1 * This,
  407. /* [annotation] */
  408. _In_ REFGUID guid,
  409. /* [annotation] */
  410. _In_opt_ const IUnknown *pData);
  411. void ( STDMETHODCALLTYPE *GetType )(
  412. ID3D11Texture3D1 * This,
  413. /* [annotation] */
  414. _Out_ D3D11_RESOURCE_DIMENSION *pResourceDimension);
  415. void ( STDMETHODCALLTYPE *SetEvictionPriority )(
  416. ID3D11Texture3D1 * This,
  417. /* [annotation] */
  418. _In_ UINT EvictionPriority);
  419. UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
  420. ID3D11Texture3D1 * This);
  421. void ( STDMETHODCALLTYPE *GetDesc )(
  422. ID3D11Texture3D1 * This,
  423. /* [annotation] */
  424. _Out_ D3D11_TEXTURE3D_DESC *pDesc);
  425. void ( STDMETHODCALLTYPE *GetDesc1 )(
  426. ID3D11Texture3D1 * This,
  427. /* [annotation] */
  428. _Out_ D3D11_TEXTURE3D_DESC1 *pDesc);
  429. END_INTERFACE
  430. } ID3D11Texture3D1Vtbl;
  431. interface ID3D11Texture3D1
  432. {
  433. CONST_VTBL struct ID3D11Texture3D1Vtbl *lpVtbl;
  434. };
  435. #ifdef COBJMACROS
  436. #define ID3D11Texture3D1_QueryInterface(This,riid,ppvObject) \
  437. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  438. #define ID3D11Texture3D1_AddRef(This) \
  439. ( (This)->lpVtbl -> AddRef(This) )
  440. #define ID3D11Texture3D1_Release(This) \
  441. ( (This)->lpVtbl -> Release(This) )
  442. #define ID3D11Texture3D1_GetDevice(This,ppDevice) \
  443. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  444. #define ID3D11Texture3D1_GetPrivateData(This,guid,pDataSize,pData) \
  445. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  446. #define ID3D11Texture3D1_SetPrivateData(This,guid,DataSize,pData) \
  447. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  448. #define ID3D11Texture3D1_SetPrivateDataInterface(This,guid,pData) \
  449. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  450. #define ID3D11Texture3D1_GetType(This,pResourceDimension) \
  451. ( (This)->lpVtbl -> GetType(This,pResourceDimension) )
  452. #define ID3D11Texture3D1_SetEvictionPriority(This,EvictionPriority) \
  453. ( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
  454. #define ID3D11Texture3D1_GetEvictionPriority(This) \
  455. ( (This)->lpVtbl -> GetEvictionPriority(This) )
  456. #define ID3D11Texture3D1_GetDesc(This,pDesc) \
  457. ( (This)->lpVtbl -> GetDesc(This,pDesc) )
  458. #define ID3D11Texture3D1_GetDesc1(This,pDesc) \
  459. ( (This)->lpVtbl -> GetDesc1(This,pDesc) )
  460. #endif /* COBJMACROS */
  461. #endif /* C style interface */
  462. #endif /* __ID3D11Texture3D1_INTERFACE_DEFINED__ */
  463. /* interface __MIDL_itf_d3d11_3_0000_0002 */
  464. /* [local] */
  465. typedef
  466. enum D3D11_CONSERVATIVE_RASTERIZATION_MODE
  467. {
  468. D3D11_CONSERVATIVE_RASTERIZATION_MODE_OFF = 0,
  469. D3D11_CONSERVATIVE_RASTERIZATION_MODE_ON = 1
  470. } D3D11_CONSERVATIVE_RASTERIZATION_MODE;
  471. typedef struct D3D11_RASTERIZER_DESC2
  472. {
  473. D3D11_FILL_MODE FillMode;
  474. D3D11_CULL_MODE CullMode;
  475. BOOL FrontCounterClockwise;
  476. INT DepthBias;
  477. FLOAT DepthBiasClamp;
  478. FLOAT SlopeScaledDepthBias;
  479. BOOL DepthClipEnable;
  480. BOOL ScissorEnable;
  481. BOOL MultisampleEnable;
  482. BOOL AntialiasedLineEnable;
  483. UINT ForcedSampleCount;
  484. D3D11_CONSERVATIVE_RASTERIZATION_MODE ConservativeRaster;
  485. } D3D11_RASTERIZER_DESC2;
  486. #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
  487. }
  488. struct CD3D11_RASTERIZER_DESC2 : public D3D11_RASTERIZER_DESC2
  489. {
  490. CD3D11_RASTERIZER_DESC2()
  491. {}
  492. explicit CD3D11_RASTERIZER_DESC2( const D3D11_RASTERIZER_DESC2& o ) :
  493. D3D11_RASTERIZER_DESC2( o )
  494. {}
  495. explicit CD3D11_RASTERIZER_DESC2( CD3D11_DEFAULT )
  496. {
  497. FillMode = D3D11_FILL_SOLID;
  498. CullMode = D3D11_CULL_BACK;
  499. FrontCounterClockwise = FALSE;
  500. DepthBias = D3D11_DEFAULT_DEPTH_BIAS;
  501. DepthBiasClamp = D3D11_DEFAULT_DEPTH_BIAS_CLAMP;
  502. SlopeScaledDepthBias = D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS;
  503. DepthClipEnable = TRUE;
  504. ScissorEnable = FALSE;
  505. MultisampleEnable = FALSE;
  506. AntialiasedLineEnable = FALSE;
  507. ForcedSampleCount = 0;
  508. ConservativeRaster = D3D11_CONSERVATIVE_RASTERIZATION_MODE_OFF;
  509. }
  510. explicit CD3D11_RASTERIZER_DESC2(
  511. D3D11_FILL_MODE fillMode,
  512. D3D11_CULL_MODE cullMode,
  513. BOOL frontCounterClockwise,
  514. INT depthBias,
  515. FLOAT depthBiasClamp,
  516. FLOAT slopeScaledDepthBias,
  517. BOOL depthClipEnable,
  518. BOOL scissorEnable,
  519. BOOL multisampleEnable,
  520. BOOL antialiasedLineEnable,
  521. UINT forcedSampleCount,
  522. D3D11_CONSERVATIVE_RASTERIZATION_MODE conservativeRaster )
  523. {
  524. FillMode = fillMode;
  525. CullMode = cullMode;
  526. FrontCounterClockwise = frontCounterClockwise;
  527. DepthBias = depthBias;
  528. DepthBiasClamp = depthBiasClamp;
  529. SlopeScaledDepthBias = slopeScaledDepthBias;
  530. DepthClipEnable = depthClipEnable;
  531. ScissorEnable = scissorEnable;
  532. MultisampleEnable = multisampleEnable;
  533. AntialiasedLineEnable = antialiasedLineEnable;
  534. ForcedSampleCount = forcedSampleCount;
  535. ConservativeRaster = conservativeRaster;
  536. }
  537. ~CD3D11_RASTERIZER_DESC2() {}
  538. operator const D3D11_RASTERIZER_DESC2&() const { return *this; }
  539. };
  540. extern "C"{
  541. #endif
  542. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0002_v0_0_c_ifspec;
  543. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0002_v0_0_s_ifspec;
  544. #ifndef __ID3D11RasterizerState2_INTERFACE_DEFINED__
  545. #define __ID3D11RasterizerState2_INTERFACE_DEFINED__
  546. /* interface ID3D11RasterizerState2 */
  547. /* [unique][local][object][uuid] */
  548. EXTERN_C const IID IID_ID3D11RasterizerState2;
  549. #if defined(__cplusplus) && !defined(CINTERFACE)
  550. MIDL_INTERFACE("6fbd02fb-209f-46c4-b059-2ed15586a6ac")
  551. ID3D11RasterizerState2 : public ID3D11RasterizerState1
  552. {
  553. public:
  554. virtual void STDMETHODCALLTYPE GetDesc2(
  555. /* [annotation] */
  556. _Out_ D3D11_RASTERIZER_DESC2 *pDesc) = 0;
  557. };
  558. #else /* C style interface */
  559. typedef struct ID3D11RasterizerState2Vtbl
  560. {
  561. BEGIN_INTERFACE
  562. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  563. ID3D11RasterizerState2 * This,
  564. /* [in] */ REFIID riid,
  565. /* [annotation][iid_is][out] */
  566. _COM_Outptr_ void **ppvObject);
  567. ULONG ( STDMETHODCALLTYPE *AddRef )(
  568. ID3D11RasterizerState2 * This);
  569. ULONG ( STDMETHODCALLTYPE *Release )(
  570. ID3D11RasterizerState2 * This);
  571. void ( STDMETHODCALLTYPE *GetDevice )(
  572. ID3D11RasterizerState2 * This,
  573. /* [annotation] */
  574. _Outptr_ ID3D11Device **ppDevice);
  575. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  576. ID3D11RasterizerState2 * This,
  577. /* [annotation] */
  578. _In_ REFGUID guid,
  579. /* [annotation] */
  580. _Inout_ UINT *pDataSize,
  581. /* [annotation] */
  582. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  583. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  584. ID3D11RasterizerState2 * This,
  585. /* [annotation] */
  586. _In_ REFGUID guid,
  587. /* [annotation] */
  588. _In_ UINT DataSize,
  589. /* [annotation] */
  590. _In_reads_bytes_opt_( DataSize ) const void *pData);
  591. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  592. ID3D11RasterizerState2 * This,
  593. /* [annotation] */
  594. _In_ REFGUID guid,
  595. /* [annotation] */
  596. _In_opt_ const IUnknown *pData);
  597. void ( STDMETHODCALLTYPE *GetDesc )(
  598. ID3D11RasterizerState2 * This,
  599. /* [annotation] */
  600. _Out_ D3D11_RASTERIZER_DESC *pDesc);
  601. void ( STDMETHODCALLTYPE *GetDesc1 )(
  602. ID3D11RasterizerState2 * This,
  603. /* [annotation] */
  604. _Out_ D3D11_RASTERIZER_DESC1 *pDesc);
  605. void ( STDMETHODCALLTYPE *GetDesc2 )(
  606. ID3D11RasterizerState2 * This,
  607. /* [annotation] */
  608. _Out_ D3D11_RASTERIZER_DESC2 *pDesc);
  609. END_INTERFACE
  610. } ID3D11RasterizerState2Vtbl;
  611. interface ID3D11RasterizerState2
  612. {
  613. CONST_VTBL struct ID3D11RasterizerState2Vtbl *lpVtbl;
  614. };
  615. #ifdef COBJMACROS
  616. #define ID3D11RasterizerState2_QueryInterface(This,riid,ppvObject) \
  617. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  618. #define ID3D11RasterizerState2_AddRef(This) \
  619. ( (This)->lpVtbl -> AddRef(This) )
  620. #define ID3D11RasterizerState2_Release(This) \
  621. ( (This)->lpVtbl -> Release(This) )
  622. #define ID3D11RasterizerState2_GetDevice(This,ppDevice) \
  623. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  624. #define ID3D11RasterizerState2_GetPrivateData(This,guid,pDataSize,pData) \
  625. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  626. #define ID3D11RasterizerState2_SetPrivateData(This,guid,DataSize,pData) \
  627. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  628. #define ID3D11RasterizerState2_SetPrivateDataInterface(This,guid,pData) \
  629. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  630. #define ID3D11RasterizerState2_GetDesc(This,pDesc) \
  631. ( (This)->lpVtbl -> GetDesc(This,pDesc) )
  632. #define ID3D11RasterizerState2_GetDesc1(This,pDesc) \
  633. ( (This)->lpVtbl -> GetDesc1(This,pDesc) )
  634. #define ID3D11RasterizerState2_GetDesc2(This,pDesc) \
  635. ( (This)->lpVtbl -> GetDesc2(This,pDesc) )
  636. #endif /* COBJMACROS */
  637. #endif /* C style interface */
  638. #endif /* __ID3D11RasterizerState2_INTERFACE_DEFINED__ */
  639. /* interface __MIDL_itf_d3d11_3_0000_0003 */
  640. /* [local] */
  641. typedef struct D3D11_TEX2D_SRV1
  642. {
  643. UINT MostDetailedMip;
  644. UINT MipLevels;
  645. UINT PlaneSlice;
  646. } D3D11_TEX2D_SRV1;
  647. typedef struct D3D11_TEX2D_ARRAY_SRV1
  648. {
  649. UINT MostDetailedMip;
  650. UINT MipLevels;
  651. UINT FirstArraySlice;
  652. UINT ArraySize;
  653. UINT PlaneSlice;
  654. } D3D11_TEX2D_ARRAY_SRV1;
  655. typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC1
  656. {
  657. DXGI_FORMAT Format;
  658. D3D11_SRV_DIMENSION ViewDimension;
  659. union
  660. {
  661. D3D11_BUFFER_SRV Buffer;
  662. D3D11_TEX1D_SRV Texture1D;
  663. D3D11_TEX1D_ARRAY_SRV Texture1DArray;
  664. D3D11_TEX2D_SRV1 Texture2D;
  665. D3D11_TEX2D_ARRAY_SRV1 Texture2DArray;
  666. D3D11_TEX2DMS_SRV Texture2DMS;
  667. D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray;
  668. D3D11_TEX3D_SRV Texture3D;
  669. D3D11_TEXCUBE_SRV TextureCube;
  670. D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray;
  671. D3D11_BUFFEREX_SRV BufferEx;
  672. } ;
  673. } D3D11_SHADER_RESOURCE_VIEW_DESC1;
  674. #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
  675. }
  676. struct CD3D11_SHADER_RESOURCE_VIEW_DESC1 : public D3D11_SHADER_RESOURCE_VIEW_DESC1
  677. {
  678. CD3D11_SHADER_RESOURCE_VIEW_DESC1()
  679. {}
  680. explicit CD3D11_SHADER_RESOURCE_VIEW_DESC1( const D3D11_SHADER_RESOURCE_VIEW_DESC1& o ) :
  681. D3D11_SHADER_RESOURCE_VIEW_DESC1( o )
  682. {}
  683. explicit CD3D11_SHADER_RESOURCE_VIEW_DESC1(
  684. D3D11_SRV_DIMENSION viewDimension,
  685. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  686. UINT mostDetailedMip = 0, // FirstElement for BUFFER
  687. UINT mipLevels = -1, // NumElements for BUFFER
  688. UINT firstArraySlice = 0, // First2DArrayFace for TEXTURECUBEARRAY
  689. UINT arraySize = -1, // NumCubes for TEXTURECUBEARRAY
  690. UINT flags = 0, // BUFFEREX only
  691. UINT planeSlice = 0 ) // Texture2D and Texture2DArray only
  692. {
  693. Format = format;
  694. ViewDimension = viewDimension;
  695. switch (viewDimension)
  696. {
  697. case D3D11_SRV_DIMENSION_BUFFER:
  698. Buffer.FirstElement = mostDetailedMip;
  699. Buffer.NumElements = mipLevels;
  700. break;
  701. case D3D11_SRV_DIMENSION_TEXTURE1D:
  702. Texture1D.MostDetailedMip = mostDetailedMip;
  703. Texture1D.MipLevels = mipLevels;
  704. break;
  705. case D3D11_SRV_DIMENSION_TEXTURE1DARRAY:
  706. Texture1DArray.MostDetailedMip = mostDetailedMip;
  707. Texture1DArray.MipLevels = mipLevels;
  708. Texture1DArray.FirstArraySlice = firstArraySlice;
  709. Texture1DArray.ArraySize = arraySize;
  710. break;
  711. case D3D11_SRV_DIMENSION_TEXTURE2D:
  712. Texture2D.MostDetailedMip = mostDetailedMip;
  713. Texture2D.MipLevels = mipLevels;
  714. Texture2D.PlaneSlice = planeSlice;
  715. break;
  716. case D3D11_SRV_DIMENSION_TEXTURE2DARRAY:
  717. Texture2DArray.MostDetailedMip = mostDetailedMip;
  718. Texture2DArray.MipLevels = mipLevels;
  719. Texture2DArray.FirstArraySlice = firstArraySlice;
  720. Texture2DArray.ArraySize = arraySize;
  721. Texture2DArray.PlaneSlice = planeSlice;
  722. break;
  723. case D3D11_SRV_DIMENSION_TEXTURE2DMS:
  724. break;
  725. case D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY:
  726. Texture2DMSArray.FirstArraySlice = firstArraySlice;
  727. Texture2DMSArray.ArraySize = arraySize;
  728. break;
  729. case D3D11_SRV_DIMENSION_TEXTURE3D:
  730. Texture3D.MostDetailedMip = mostDetailedMip;
  731. Texture3D.MipLevels = mipLevels;
  732. break;
  733. case D3D11_SRV_DIMENSION_TEXTURECUBE:
  734. TextureCube.MostDetailedMip = mostDetailedMip;
  735. TextureCube.MipLevels = mipLevels;
  736. break;
  737. case D3D11_SRV_DIMENSION_TEXTURECUBEARRAY:
  738. TextureCubeArray.MostDetailedMip = mostDetailedMip;
  739. TextureCubeArray.MipLevels = mipLevels;
  740. TextureCubeArray.First2DArrayFace = firstArraySlice;
  741. TextureCubeArray.NumCubes = arraySize;
  742. break;
  743. case D3D11_SRV_DIMENSION_BUFFEREX:
  744. BufferEx.FirstElement = mostDetailedMip;
  745. BufferEx.NumElements = mipLevels;
  746. BufferEx.Flags = flags;
  747. break;
  748. default: break;
  749. }
  750. }
  751. explicit CD3D11_SHADER_RESOURCE_VIEW_DESC1(
  752. _In_ ID3D11Buffer*,
  753. DXGI_FORMAT format,
  754. UINT firstElement,
  755. UINT numElements,
  756. UINT flags = 0 )
  757. {
  758. Format = format;
  759. ViewDimension = D3D11_SRV_DIMENSION_BUFFEREX;
  760. BufferEx.FirstElement = firstElement;
  761. BufferEx.NumElements = numElements;
  762. BufferEx.Flags = flags;
  763. }
  764. explicit CD3D11_SHADER_RESOURCE_VIEW_DESC1(
  765. _In_ ID3D11Texture1D* pTex1D,
  766. D3D11_SRV_DIMENSION viewDimension,
  767. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  768. UINT mostDetailedMip = 0,
  769. UINT mipLevels = -1,
  770. UINT firstArraySlice = 0,
  771. UINT arraySize = -1 )
  772. {
  773. ViewDimension = viewDimension;
  774. if (DXGI_FORMAT_UNKNOWN == format || -1 == mipLevels ||
  775. (-1 == arraySize && D3D11_SRV_DIMENSION_TEXTURE1DARRAY == viewDimension))
  776. {
  777. D3D11_TEXTURE1D_DESC TexDesc;
  778. pTex1D->GetDesc( &TexDesc );
  779. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  780. if (-1 == mipLevels) mipLevels = TexDesc.MipLevels - mostDetailedMip;
  781. if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
  782. }
  783. Format = format;
  784. switch (viewDimension)
  785. {
  786. case D3D11_SRV_DIMENSION_TEXTURE1D:
  787. Texture1D.MostDetailedMip = mostDetailedMip;
  788. Texture1D.MipLevels = mipLevels;
  789. break;
  790. case D3D11_SRV_DIMENSION_TEXTURE1DARRAY:
  791. Texture1DArray.MostDetailedMip = mostDetailedMip;
  792. Texture1DArray.MipLevels = mipLevels;
  793. Texture1DArray.FirstArraySlice = firstArraySlice;
  794. Texture1DArray.ArraySize = arraySize;
  795. break;
  796. default: break;
  797. }
  798. }
  799. explicit CD3D11_SHADER_RESOURCE_VIEW_DESC1(
  800. _In_ ID3D11Texture2D* pTex2D,
  801. D3D11_SRV_DIMENSION viewDimension,
  802. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  803. UINT mostDetailedMip = 0,
  804. UINT mipLevels = -1,
  805. UINT firstArraySlice = 0, // First2DArrayFace for TEXTURECUBEARRAY
  806. UINT arraySize = -1, // NumCubes for TEXTURECUBEARRAY
  807. UINT planeSlice = 0 ) // PlaneSlice for TEXTURE2D or TEXTURE2DARRAY
  808. {
  809. ViewDimension = viewDimension;
  810. if (DXGI_FORMAT_UNKNOWN == format ||
  811. (-1 == mipLevels &&
  812. D3D11_SRV_DIMENSION_TEXTURE2DMS != viewDimension &&
  813. D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY != viewDimension) ||
  814. (-1 == arraySize &&
  815. (D3D11_SRV_DIMENSION_TEXTURE2DARRAY == viewDimension ||
  816. D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY == viewDimension ||
  817. D3D11_SRV_DIMENSION_TEXTURECUBEARRAY == viewDimension)))
  818. {
  819. D3D11_TEXTURE2D_DESC TexDesc;
  820. pTex2D->GetDesc( &TexDesc );
  821. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  822. if (-1 == mipLevels) mipLevels = TexDesc.MipLevels - mostDetailedMip;
  823. if (-1 == arraySize)
  824. {
  825. arraySize = TexDesc.ArraySize - firstArraySlice;
  826. if (D3D11_SRV_DIMENSION_TEXTURECUBEARRAY == viewDimension) arraySize /= 6;
  827. }
  828. }
  829. Format = format;
  830. switch (viewDimension)
  831. {
  832. case D3D11_SRV_DIMENSION_TEXTURE2D:
  833. Texture2D.MostDetailedMip = mostDetailedMip;
  834. Texture2D.MipLevels = mipLevels;
  835. Texture2D.PlaneSlice = planeSlice;
  836. break;
  837. case D3D11_SRV_DIMENSION_TEXTURE2DARRAY:
  838. Texture2DArray.MostDetailedMip = mostDetailedMip;
  839. Texture2DArray.MipLevels = mipLevels;
  840. Texture2DArray.FirstArraySlice = firstArraySlice;
  841. Texture2DArray.ArraySize = arraySize;
  842. Texture2DArray.PlaneSlice = planeSlice;
  843. break;
  844. case D3D11_SRV_DIMENSION_TEXTURE2DMS:
  845. break;
  846. case D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY:
  847. Texture2DMSArray.FirstArraySlice = firstArraySlice;
  848. Texture2DMSArray.ArraySize = arraySize;
  849. break;
  850. case D3D11_SRV_DIMENSION_TEXTURECUBE:
  851. TextureCube.MostDetailedMip = mostDetailedMip;
  852. TextureCube.MipLevels = mipLevels;
  853. break;
  854. case D3D11_SRV_DIMENSION_TEXTURECUBEARRAY:
  855. TextureCubeArray.MostDetailedMip = mostDetailedMip;
  856. TextureCubeArray.MipLevels = mipLevels;
  857. TextureCubeArray.First2DArrayFace = firstArraySlice;
  858. TextureCubeArray.NumCubes = arraySize;
  859. break;
  860. default: break;
  861. }
  862. }
  863. explicit CD3D11_SHADER_RESOURCE_VIEW_DESC1(
  864. _In_ ID3D11Texture3D* pTex3D,
  865. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  866. UINT mostDetailedMip = 0,
  867. UINT mipLevels = -1 )
  868. {
  869. ViewDimension = D3D11_SRV_DIMENSION_TEXTURE3D;
  870. if (DXGI_FORMAT_UNKNOWN == format || -1 == mipLevels)
  871. {
  872. D3D11_TEXTURE3D_DESC TexDesc;
  873. pTex3D->GetDesc( &TexDesc );
  874. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  875. if (-1 == mipLevels) mipLevels = TexDesc.MipLevels - mostDetailedMip;
  876. }
  877. Format = format;
  878. Texture3D.MostDetailedMip = mostDetailedMip;
  879. Texture3D.MipLevels = mipLevels;
  880. }
  881. ~CD3D11_SHADER_RESOURCE_VIEW_DESC1() {}
  882. operator const D3D11_SHADER_RESOURCE_VIEW_DESC1&() const { return *this; }
  883. };
  884. extern "C"{
  885. #endif
  886. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0003_v0_0_c_ifspec;
  887. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0003_v0_0_s_ifspec;
  888. #ifndef __ID3D11ShaderResourceView1_INTERFACE_DEFINED__
  889. #define __ID3D11ShaderResourceView1_INTERFACE_DEFINED__
  890. /* interface ID3D11ShaderResourceView1 */
  891. /* [unique][local][object][uuid] */
  892. EXTERN_C const IID IID_ID3D11ShaderResourceView1;
  893. #if defined(__cplusplus) && !defined(CINTERFACE)
  894. MIDL_INTERFACE("91308b87-9040-411d-8c67-c39253ce3802")
  895. ID3D11ShaderResourceView1 : public ID3D11ShaderResourceView
  896. {
  897. public:
  898. virtual void STDMETHODCALLTYPE GetDesc1(
  899. /* [annotation] */
  900. _Out_ D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1) = 0;
  901. };
  902. #else /* C style interface */
  903. typedef struct ID3D11ShaderResourceView1Vtbl
  904. {
  905. BEGIN_INTERFACE
  906. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  907. ID3D11ShaderResourceView1 * This,
  908. /* [in] */ REFIID riid,
  909. /* [annotation][iid_is][out] */
  910. _COM_Outptr_ void **ppvObject);
  911. ULONG ( STDMETHODCALLTYPE *AddRef )(
  912. ID3D11ShaderResourceView1 * This);
  913. ULONG ( STDMETHODCALLTYPE *Release )(
  914. ID3D11ShaderResourceView1 * This);
  915. void ( STDMETHODCALLTYPE *GetDevice )(
  916. ID3D11ShaderResourceView1 * This,
  917. /* [annotation] */
  918. _Outptr_ ID3D11Device **ppDevice);
  919. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  920. ID3D11ShaderResourceView1 * This,
  921. /* [annotation] */
  922. _In_ REFGUID guid,
  923. /* [annotation] */
  924. _Inout_ UINT *pDataSize,
  925. /* [annotation] */
  926. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  927. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  928. ID3D11ShaderResourceView1 * This,
  929. /* [annotation] */
  930. _In_ REFGUID guid,
  931. /* [annotation] */
  932. _In_ UINT DataSize,
  933. /* [annotation] */
  934. _In_reads_bytes_opt_( DataSize ) const void *pData);
  935. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  936. ID3D11ShaderResourceView1 * This,
  937. /* [annotation] */
  938. _In_ REFGUID guid,
  939. /* [annotation] */
  940. _In_opt_ const IUnknown *pData);
  941. void ( STDMETHODCALLTYPE *GetResource )(
  942. ID3D11ShaderResourceView1 * This,
  943. /* [annotation] */
  944. _Outptr_ ID3D11Resource **ppResource);
  945. void ( STDMETHODCALLTYPE *GetDesc )(
  946. ID3D11ShaderResourceView1 * This,
  947. /* [annotation] */
  948. _Out_ D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc);
  949. void ( STDMETHODCALLTYPE *GetDesc1 )(
  950. ID3D11ShaderResourceView1 * This,
  951. /* [annotation] */
  952. _Out_ D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1);
  953. END_INTERFACE
  954. } ID3D11ShaderResourceView1Vtbl;
  955. interface ID3D11ShaderResourceView1
  956. {
  957. CONST_VTBL struct ID3D11ShaderResourceView1Vtbl *lpVtbl;
  958. };
  959. #ifdef COBJMACROS
  960. #define ID3D11ShaderResourceView1_QueryInterface(This,riid,ppvObject) \
  961. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  962. #define ID3D11ShaderResourceView1_AddRef(This) \
  963. ( (This)->lpVtbl -> AddRef(This) )
  964. #define ID3D11ShaderResourceView1_Release(This) \
  965. ( (This)->lpVtbl -> Release(This) )
  966. #define ID3D11ShaderResourceView1_GetDevice(This,ppDevice) \
  967. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  968. #define ID3D11ShaderResourceView1_GetPrivateData(This,guid,pDataSize,pData) \
  969. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  970. #define ID3D11ShaderResourceView1_SetPrivateData(This,guid,DataSize,pData) \
  971. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  972. #define ID3D11ShaderResourceView1_SetPrivateDataInterface(This,guid,pData) \
  973. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  974. #define ID3D11ShaderResourceView1_GetResource(This,ppResource) \
  975. ( (This)->lpVtbl -> GetResource(This,ppResource) )
  976. #define ID3D11ShaderResourceView1_GetDesc(This,pDesc) \
  977. ( (This)->lpVtbl -> GetDesc(This,pDesc) )
  978. #define ID3D11ShaderResourceView1_GetDesc1(This,pDesc1) \
  979. ( (This)->lpVtbl -> GetDesc1(This,pDesc1) )
  980. #endif /* COBJMACROS */
  981. #endif /* C style interface */
  982. #endif /* __ID3D11ShaderResourceView1_INTERFACE_DEFINED__ */
  983. /* interface __MIDL_itf_d3d11_3_0000_0004 */
  984. /* [local] */
  985. typedef struct D3D11_TEX2D_RTV1
  986. {
  987. UINT MipSlice;
  988. UINT PlaneSlice;
  989. } D3D11_TEX2D_RTV1;
  990. typedef struct D3D11_TEX2D_ARRAY_RTV1
  991. {
  992. UINT MipSlice;
  993. UINT FirstArraySlice;
  994. UINT ArraySize;
  995. UINT PlaneSlice;
  996. } D3D11_TEX2D_ARRAY_RTV1;
  997. typedef struct D3D11_RENDER_TARGET_VIEW_DESC1
  998. {
  999. DXGI_FORMAT Format;
  1000. D3D11_RTV_DIMENSION ViewDimension;
  1001. union
  1002. {
  1003. D3D11_BUFFER_RTV Buffer;
  1004. D3D11_TEX1D_RTV Texture1D;
  1005. D3D11_TEX1D_ARRAY_RTV Texture1DArray;
  1006. D3D11_TEX2D_RTV1 Texture2D;
  1007. D3D11_TEX2D_ARRAY_RTV1 Texture2DArray;
  1008. D3D11_TEX2DMS_RTV Texture2DMS;
  1009. D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray;
  1010. D3D11_TEX3D_RTV Texture3D;
  1011. } ;
  1012. } D3D11_RENDER_TARGET_VIEW_DESC1;
  1013. #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
  1014. }
  1015. struct CD3D11_RENDER_TARGET_VIEW_DESC1 : public D3D11_RENDER_TARGET_VIEW_DESC1
  1016. {
  1017. CD3D11_RENDER_TARGET_VIEW_DESC1()
  1018. {}
  1019. explicit CD3D11_RENDER_TARGET_VIEW_DESC1( const D3D11_RENDER_TARGET_VIEW_DESC1& o ) :
  1020. D3D11_RENDER_TARGET_VIEW_DESC1( o )
  1021. {}
  1022. explicit CD3D11_RENDER_TARGET_VIEW_DESC1(
  1023. D3D11_RTV_DIMENSION viewDimension,
  1024. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  1025. UINT mipSlice = 0, // FirstElement for BUFFER
  1026. UINT firstArraySlice = 0, // NumElements for BUFFER, FirstWSlice for TEXTURE3D
  1027. UINT arraySize = -1, // WSize for TEXTURE3D
  1028. UINT planeSlice = 0 ) // PlaneSlice for TEXTURE2D and TEXTURE2DARRAY
  1029. {
  1030. Format = format;
  1031. ViewDimension = viewDimension;
  1032. switch (viewDimension)
  1033. {
  1034. case D3D11_RTV_DIMENSION_BUFFER:
  1035. Buffer.FirstElement = mipSlice;
  1036. Buffer.NumElements = firstArraySlice;
  1037. break;
  1038. case D3D11_RTV_DIMENSION_TEXTURE1D:
  1039. Texture1D.MipSlice = mipSlice;
  1040. break;
  1041. case D3D11_RTV_DIMENSION_TEXTURE1DARRAY:
  1042. Texture1DArray.MipSlice = mipSlice;
  1043. Texture1DArray.FirstArraySlice = firstArraySlice;
  1044. Texture1DArray.ArraySize = arraySize;
  1045. break;
  1046. case D3D11_RTV_DIMENSION_TEXTURE2D:
  1047. Texture2D.MipSlice = mipSlice;
  1048. Texture2D.PlaneSlice = planeSlice;
  1049. break;
  1050. case D3D11_RTV_DIMENSION_TEXTURE2DARRAY:
  1051. Texture2DArray.MipSlice = mipSlice;
  1052. Texture2DArray.FirstArraySlice = firstArraySlice;
  1053. Texture2DArray.ArraySize = arraySize;
  1054. Texture2DArray.PlaneSlice = planeSlice;
  1055. break;
  1056. case D3D11_RTV_DIMENSION_TEXTURE2DMS:
  1057. break;
  1058. case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY:
  1059. Texture2DMSArray.FirstArraySlice = firstArraySlice;
  1060. Texture2DMSArray.ArraySize = arraySize;
  1061. break;
  1062. case D3D11_RTV_DIMENSION_TEXTURE3D:
  1063. Texture3D.MipSlice = mipSlice;
  1064. Texture3D.FirstWSlice = firstArraySlice;
  1065. Texture3D.WSize = arraySize;
  1066. break;
  1067. default: break;
  1068. }
  1069. }
  1070. explicit CD3D11_RENDER_TARGET_VIEW_DESC1(
  1071. _In_ ID3D11Buffer*,
  1072. DXGI_FORMAT format,
  1073. UINT firstElement,
  1074. UINT numElements )
  1075. {
  1076. Format = format;
  1077. ViewDimension = D3D11_RTV_DIMENSION_BUFFER;
  1078. Buffer.FirstElement = firstElement;
  1079. Buffer.NumElements = numElements;
  1080. }
  1081. explicit CD3D11_RENDER_TARGET_VIEW_DESC1(
  1082. _In_ ID3D11Texture1D* pTex1D,
  1083. D3D11_RTV_DIMENSION viewDimension,
  1084. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  1085. UINT mipSlice = 0,
  1086. UINT firstArraySlice = 0,
  1087. UINT arraySize = -1 )
  1088. {
  1089. ViewDimension = viewDimension;
  1090. if (DXGI_FORMAT_UNKNOWN == format ||
  1091. (-1 == arraySize && D3D11_RTV_DIMENSION_TEXTURE1DARRAY == viewDimension))
  1092. {
  1093. D3D11_TEXTURE1D_DESC TexDesc;
  1094. pTex1D->GetDesc( &TexDesc );
  1095. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  1096. if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
  1097. }
  1098. Format = format;
  1099. switch (viewDimension)
  1100. {
  1101. case D3D11_RTV_DIMENSION_TEXTURE1D:
  1102. Texture1D.MipSlice = mipSlice;
  1103. break;
  1104. case D3D11_RTV_DIMENSION_TEXTURE1DARRAY:
  1105. Texture1DArray.MipSlice = mipSlice;
  1106. Texture1DArray.FirstArraySlice = firstArraySlice;
  1107. Texture1DArray.ArraySize = arraySize;
  1108. break;
  1109. default: break;
  1110. }
  1111. }
  1112. explicit CD3D11_RENDER_TARGET_VIEW_DESC1(
  1113. _In_ ID3D11Texture2D* pTex2D,
  1114. D3D11_RTV_DIMENSION viewDimension,
  1115. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  1116. UINT mipSlice = 0,
  1117. UINT firstArraySlice = 0,
  1118. UINT arraySize = -1,
  1119. UINT planeSlice = 0 )
  1120. {
  1121. ViewDimension = viewDimension;
  1122. if (DXGI_FORMAT_UNKNOWN == format ||
  1123. (-1 == arraySize &&
  1124. (D3D11_RTV_DIMENSION_TEXTURE2DARRAY == viewDimension ||
  1125. D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY == viewDimension)))
  1126. {
  1127. D3D11_TEXTURE2D_DESC TexDesc;
  1128. pTex2D->GetDesc( &TexDesc );
  1129. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  1130. if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
  1131. }
  1132. Format = format;
  1133. switch (viewDimension)
  1134. {
  1135. case D3D11_RTV_DIMENSION_TEXTURE2D:
  1136. Texture2D.MipSlice = mipSlice;
  1137. Texture2D.PlaneSlice = planeSlice;
  1138. break;
  1139. case D3D11_RTV_DIMENSION_TEXTURE2DARRAY:
  1140. Texture2DArray.MipSlice = mipSlice;
  1141. Texture2DArray.FirstArraySlice = firstArraySlice;
  1142. Texture2DArray.ArraySize = arraySize;
  1143. Texture2DArray.PlaneSlice = planeSlice;
  1144. break;
  1145. case D3D11_RTV_DIMENSION_TEXTURE2DMS:
  1146. break;
  1147. case D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY:
  1148. Texture2DMSArray.FirstArraySlice = firstArraySlice;
  1149. Texture2DMSArray.ArraySize = arraySize;
  1150. break;
  1151. default: break;
  1152. }
  1153. }
  1154. explicit CD3D11_RENDER_TARGET_VIEW_DESC1(
  1155. _In_ ID3D11Texture3D* pTex3D,
  1156. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  1157. UINT mipSlice = 0,
  1158. UINT firstWSlice = 0,
  1159. UINT wSize = -1 )
  1160. {
  1161. ViewDimension = D3D11_RTV_DIMENSION_TEXTURE3D;
  1162. if (DXGI_FORMAT_UNKNOWN == format || -1 == wSize)
  1163. {
  1164. D3D11_TEXTURE3D_DESC TexDesc;
  1165. pTex3D->GetDesc( &TexDesc );
  1166. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  1167. if (-1 == wSize) wSize = TexDesc.Depth - firstWSlice;
  1168. }
  1169. Format = format;
  1170. Texture3D.MipSlice = mipSlice;
  1171. Texture3D.FirstWSlice = firstWSlice;
  1172. Texture3D.WSize = wSize;
  1173. }
  1174. ~CD3D11_RENDER_TARGET_VIEW_DESC1() {}
  1175. operator const D3D11_RENDER_TARGET_VIEW_DESC1&() const { return *this; }
  1176. };
  1177. extern "C"{
  1178. #endif
  1179. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0004_v0_0_c_ifspec;
  1180. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0004_v0_0_s_ifspec;
  1181. #ifndef __ID3D11RenderTargetView1_INTERFACE_DEFINED__
  1182. #define __ID3D11RenderTargetView1_INTERFACE_DEFINED__
  1183. /* interface ID3D11RenderTargetView1 */
  1184. /* [unique][local][object][uuid] */
  1185. EXTERN_C const IID IID_ID3D11RenderTargetView1;
  1186. #if defined(__cplusplus) && !defined(CINTERFACE)
  1187. MIDL_INTERFACE("ffbe2e23-f011-418a-ac56-5ceed7c5b94b")
  1188. ID3D11RenderTargetView1 : public ID3D11RenderTargetView
  1189. {
  1190. public:
  1191. virtual void STDMETHODCALLTYPE GetDesc1(
  1192. /* [annotation] */
  1193. _Out_ D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1) = 0;
  1194. };
  1195. #else /* C style interface */
  1196. typedef struct ID3D11RenderTargetView1Vtbl
  1197. {
  1198. BEGIN_INTERFACE
  1199. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1200. ID3D11RenderTargetView1 * This,
  1201. /* [in] */ REFIID riid,
  1202. /* [annotation][iid_is][out] */
  1203. _COM_Outptr_ void **ppvObject);
  1204. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1205. ID3D11RenderTargetView1 * This);
  1206. ULONG ( STDMETHODCALLTYPE *Release )(
  1207. ID3D11RenderTargetView1 * This);
  1208. void ( STDMETHODCALLTYPE *GetDevice )(
  1209. ID3D11RenderTargetView1 * This,
  1210. /* [annotation] */
  1211. _Outptr_ ID3D11Device **ppDevice);
  1212. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  1213. ID3D11RenderTargetView1 * This,
  1214. /* [annotation] */
  1215. _In_ REFGUID guid,
  1216. /* [annotation] */
  1217. _Inout_ UINT *pDataSize,
  1218. /* [annotation] */
  1219. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  1220. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  1221. ID3D11RenderTargetView1 * This,
  1222. /* [annotation] */
  1223. _In_ REFGUID guid,
  1224. /* [annotation] */
  1225. _In_ UINT DataSize,
  1226. /* [annotation] */
  1227. _In_reads_bytes_opt_( DataSize ) const void *pData);
  1228. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  1229. ID3D11RenderTargetView1 * This,
  1230. /* [annotation] */
  1231. _In_ REFGUID guid,
  1232. /* [annotation] */
  1233. _In_opt_ const IUnknown *pData);
  1234. void ( STDMETHODCALLTYPE *GetResource )(
  1235. ID3D11RenderTargetView1 * This,
  1236. /* [annotation] */
  1237. _Outptr_ ID3D11Resource **ppResource);
  1238. void ( STDMETHODCALLTYPE *GetDesc )(
  1239. ID3D11RenderTargetView1 * This,
  1240. /* [annotation] */
  1241. _Out_ D3D11_RENDER_TARGET_VIEW_DESC *pDesc);
  1242. void ( STDMETHODCALLTYPE *GetDesc1 )(
  1243. ID3D11RenderTargetView1 * This,
  1244. /* [annotation] */
  1245. _Out_ D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1);
  1246. END_INTERFACE
  1247. } ID3D11RenderTargetView1Vtbl;
  1248. interface ID3D11RenderTargetView1
  1249. {
  1250. CONST_VTBL struct ID3D11RenderTargetView1Vtbl *lpVtbl;
  1251. };
  1252. #ifdef COBJMACROS
  1253. #define ID3D11RenderTargetView1_QueryInterface(This,riid,ppvObject) \
  1254. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  1255. #define ID3D11RenderTargetView1_AddRef(This) \
  1256. ( (This)->lpVtbl -> AddRef(This) )
  1257. #define ID3D11RenderTargetView1_Release(This) \
  1258. ( (This)->lpVtbl -> Release(This) )
  1259. #define ID3D11RenderTargetView1_GetDevice(This,ppDevice) \
  1260. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  1261. #define ID3D11RenderTargetView1_GetPrivateData(This,guid,pDataSize,pData) \
  1262. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  1263. #define ID3D11RenderTargetView1_SetPrivateData(This,guid,DataSize,pData) \
  1264. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  1265. #define ID3D11RenderTargetView1_SetPrivateDataInterface(This,guid,pData) \
  1266. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  1267. #define ID3D11RenderTargetView1_GetResource(This,ppResource) \
  1268. ( (This)->lpVtbl -> GetResource(This,ppResource) )
  1269. #define ID3D11RenderTargetView1_GetDesc(This,pDesc) \
  1270. ( (This)->lpVtbl -> GetDesc(This,pDesc) )
  1271. #define ID3D11RenderTargetView1_GetDesc1(This,pDesc1) \
  1272. ( (This)->lpVtbl -> GetDesc1(This,pDesc1) )
  1273. #endif /* COBJMACROS */
  1274. #endif /* C style interface */
  1275. #endif /* __ID3D11RenderTargetView1_INTERFACE_DEFINED__ */
  1276. /* interface __MIDL_itf_d3d11_3_0000_0005 */
  1277. /* [local] */
  1278. typedef struct D3D11_TEX2D_UAV1
  1279. {
  1280. UINT MipSlice;
  1281. UINT PlaneSlice;
  1282. } D3D11_TEX2D_UAV1;
  1283. typedef struct D3D11_TEX2D_ARRAY_UAV1
  1284. {
  1285. UINT MipSlice;
  1286. UINT FirstArraySlice;
  1287. UINT ArraySize;
  1288. UINT PlaneSlice;
  1289. } D3D11_TEX2D_ARRAY_UAV1;
  1290. typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC1
  1291. {
  1292. DXGI_FORMAT Format;
  1293. D3D11_UAV_DIMENSION ViewDimension;
  1294. union
  1295. {
  1296. D3D11_BUFFER_UAV Buffer;
  1297. D3D11_TEX1D_UAV Texture1D;
  1298. D3D11_TEX1D_ARRAY_UAV Texture1DArray;
  1299. D3D11_TEX2D_UAV1 Texture2D;
  1300. D3D11_TEX2D_ARRAY_UAV1 Texture2DArray;
  1301. D3D11_TEX3D_UAV Texture3D;
  1302. } ;
  1303. } D3D11_UNORDERED_ACCESS_VIEW_DESC1;
  1304. #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
  1305. }
  1306. struct CD3D11_UNORDERED_ACCESS_VIEW_DESC1 : public D3D11_UNORDERED_ACCESS_VIEW_DESC1
  1307. {
  1308. CD3D11_UNORDERED_ACCESS_VIEW_DESC1()
  1309. {}
  1310. explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC1( const D3D11_UNORDERED_ACCESS_VIEW_DESC1& o ) :
  1311. D3D11_UNORDERED_ACCESS_VIEW_DESC1( o )
  1312. {}
  1313. explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC1(
  1314. D3D11_UAV_DIMENSION viewDimension,
  1315. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  1316. UINT mipSlice = 0, // FirstElement for BUFFER
  1317. UINT firstArraySlice = 0, // NumElements for BUFFER, FirstWSlice for TEXTURE3D
  1318. UINT arraySize = -1, // WSize for TEXTURE3D
  1319. UINT flags = 0, // BUFFER only
  1320. UINT planeSlice = 0 ) // PlaneSlice for TEXTURE2D and TEXTURE2DARRAY
  1321. {
  1322. Format = format;
  1323. ViewDimension = viewDimension;
  1324. switch (viewDimension)
  1325. {
  1326. case D3D11_UAV_DIMENSION_BUFFER:
  1327. Buffer.FirstElement = mipSlice;
  1328. Buffer.NumElements = firstArraySlice;
  1329. Buffer.Flags = flags;
  1330. break;
  1331. case D3D11_UAV_DIMENSION_TEXTURE1D:
  1332. Texture1D.MipSlice = mipSlice;
  1333. break;
  1334. case D3D11_UAV_DIMENSION_TEXTURE1DARRAY:
  1335. Texture1DArray.MipSlice = mipSlice;
  1336. Texture1DArray.FirstArraySlice = firstArraySlice;
  1337. Texture1DArray.ArraySize = arraySize;
  1338. break;
  1339. case D3D11_UAV_DIMENSION_TEXTURE2D:
  1340. Texture2D.MipSlice = mipSlice;
  1341. Texture2D.PlaneSlice = planeSlice;
  1342. break;
  1343. case D3D11_UAV_DIMENSION_TEXTURE2DARRAY:
  1344. Texture2DArray.MipSlice = mipSlice;
  1345. Texture2DArray.FirstArraySlice = firstArraySlice;
  1346. Texture2DArray.ArraySize = arraySize;
  1347. Texture2DArray.PlaneSlice = planeSlice;
  1348. break;
  1349. case D3D11_UAV_DIMENSION_TEXTURE3D:
  1350. Texture3D.MipSlice = mipSlice;
  1351. Texture3D.FirstWSlice = firstArraySlice;
  1352. Texture3D.WSize = arraySize;
  1353. break;
  1354. default: break;
  1355. }
  1356. }
  1357. explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC1(
  1358. _In_ ID3D11Buffer*,
  1359. DXGI_FORMAT format,
  1360. UINT firstElement,
  1361. UINT numElements,
  1362. UINT flags = 0 )
  1363. {
  1364. Format = format;
  1365. ViewDimension = D3D11_UAV_DIMENSION_BUFFER;
  1366. Buffer.FirstElement = firstElement;
  1367. Buffer.NumElements = numElements;
  1368. Buffer.Flags = flags;
  1369. }
  1370. explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC1(
  1371. _In_ ID3D11Texture1D* pTex1D,
  1372. D3D11_UAV_DIMENSION viewDimension,
  1373. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  1374. UINT mipSlice = 0,
  1375. UINT firstArraySlice = 0,
  1376. UINT arraySize = -1 )
  1377. {
  1378. ViewDimension = viewDimension;
  1379. if (DXGI_FORMAT_UNKNOWN == format ||
  1380. (-1 == arraySize && D3D11_UAV_DIMENSION_TEXTURE1DARRAY == viewDimension))
  1381. {
  1382. D3D11_TEXTURE1D_DESC TexDesc;
  1383. pTex1D->GetDesc( &TexDesc );
  1384. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  1385. if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
  1386. }
  1387. Format = format;
  1388. switch (viewDimension)
  1389. {
  1390. case D3D11_UAV_DIMENSION_TEXTURE1D:
  1391. Texture1D.MipSlice = mipSlice;
  1392. break;
  1393. case D3D11_UAV_DIMENSION_TEXTURE1DARRAY:
  1394. Texture1DArray.MipSlice = mipSlice;
  1395. Texture1DArray.FirstArraySlice = firstArraySlice;
  1396. Texture1DArray.ArraySize = arraySize;
  1397. break;
  1398. default: break;
  1399. }
  1400. }
  1401. explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC1(
  1402. _In_ ID3D11Texture2D* pTex2D,
  1403. D3D11_UAV_DIMENSION viewDimension,
  1404. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  1405. UINT mipSlice = 0,
  1406. UINT firstArraySlice = 0,
  1407. UINT arraySize = -1,
  1408. UINT planeSlice = 0 )
  1409. {
  1410. ViewDimension = viewDimension;
  1411. if (DXGI_FORMAT_UNKNOWN == format ||
  1412. (-1 == arraySize && D3D11_UAV_DIMENSION_TEXTURE2DARRAY == viewDimension))
  1413. {
  1414. D3D11_TEXTURE2D_DESC TexDesc;
  1415. pTex2D->GetDesc( &TexDesc );
  1416. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  1417. if (-1 == arraySize) arraySize = TexDesc.ArraySize - firstArraySlice;
  1418. }
  1419. Format = format;
  1420. switch (viewDimension)
  1421. {
  1422. case D3D11_UAV_DIMENSION_TEXTURE2D:
  1423. Texture2D.MipSlice = mipSlice;
  1424. Texture2D.PlaneSlice = planeSlice;
  1425. break;
  1426. case D3D11_UAV_DIMENSION_TEXTURE2DARRAY:
  1427. Texture2DArray.MipSlice = mipSlice;
  1428. Texture2DArray.FirstArraySlice = firstArraySlice;
  1429. Texture2DArray.ArraySize = arraySize;
  1430. Texture2DArray.PlaneSlice = planeSlice;
  1431. break;
  1432. default: break;
  1433. }
  1434. }
  1435. explicit CD3D11_UNORDERED_ACCESS_VIEW_DESC1(
  1436. _In_ ID3D11Texture3D* pTex3D,
  1437. DXGI_FORMAT format = DXGI_FORMAT_UNKNOWN,
  1438. UINT mipSlice = 0,
  1439. UINT firstWSlice = 0,
  1440. UINT wSize = -1 )
  1441. {
  1442. ViewDimension = D3D11_UAV_DIMENSION_TEXTURE3D;
  1443. if (DXGI_FORMAT_UNKNOWN == format || -1 == wSize)
  1444. {
  1445. D3D11_TEXTURE3D_DESC TexDesc;
  1446. pTex3D->GetDesc( &TexDesc );
  1447. if (DXGI_FORMAT_UNKNOWN == format) format = TexDesc.Format;
  1448. if (-1 == wSize) wSize = TexDesc.Depth - firstWSlice;
  1449. }
  1450. Format = format;
  1451. Texture3D.MipSlice = mipSlice;
  1452. Texture3D.FirstWSlice = firstWSlice;
  1453. Texture3D.WSize = wSize;
  1454. }
  1455. ~CD3D11_UNORDERED_ACCESS_VIEW_DESC1() {}
  1456. operator const D3D11_UNORDERED_ACCESS_VIEW_DESC1&() const { return *this; }
  1457. };
  1458. extern "C"{
  1459. #endif
  1460. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0005_v0_0_c_ifspec;
  1461. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0005_v0_0_s_ifspec;
  1462. #ifndef __ID3D11UnorderedAccessView1_INTERFACE_DEFINED__
  1463. #define __ID3D11UnorderedAccessView1_INTERFACE_DEFINED__
  1464. /* interface ID3D11UnorderedAccessView1 */
  1465. /* [unique][local][object][uuid] */
  1466. EXTERN_C const IID IID_ID3D11UnorderedAccessView1;
  1467. #if defined(__cplusplus) && !defined(CINTERFACE)
  1468. MIDL_INTERFACE("7b3b6153-a886-4544-ab37-6537c8500403")
  1469. ID3D11UnorderedAccessView1 : public ID3D11UnorderedAccessView
  1470. {
  1471. public:
  1472. virtual void STDMETHODCALLTYPE GetDesc1(
  1473. /* [annotation] */
  1474. _Out_ D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1) = 0;
  1475. };
  1476. #else /* C style interface */
  1477. typedef struct ID3D11UnorderedAccessView1Vtbl
  1478. {
  1479. BEGIN_INTERFACE
  1480. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1481. ID3D11UnorderedAccessView1 * This,
  1482. /* [in] */ REFIID riid,
  1483. /* [annotation][iid_is][out] */
  1484. _COM_Outptr_ void **ppvObject);
  1485. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1486. ID3D11UnorderedAccessView1 * This);
  1487. ULONG ( STDMETHODCALLTYPE *Release )(
  1488. ID3D11UnorderedAccessView1 * This);
  1489. void ( STDMETHODCALLTYPE *GetDevice )(
  1490. ID3D11UnorderedAccessView1 * This,
  1491. /* [annotation] */
  1492. _Outptr_ ID3D11Device **ppDevice);
  1493. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  1494. ID3D11UnorderedAccessView1 * This,
  1495. /* [annotation] */
  1496. _In_ REFGUID guid,
  1497. /* [annotation] */
  1498. _Inout_ UINT *pDataSize,
  1499. /* [annotation] */
  1500. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  1501. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  1502. ID3D11UnorderedAccessView1 * This,
  1503. /* [annotation] */
  1504. _In_ REFGUID guid,
  1505. /* [annotation] */
  1506. _In_ UINT DataSize,
  1507. /* [annotation] */
  1508. _In_reads_bytes_opt_( DataSize ) const void *pData);
  1509. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  1510. ID3D11UnorderedAccessView1 * This,
  1511. /* [annotation] */
  1512. _In_ REFGUID guid,
  1513. /* [annotation] */
  1514. _In_opt_ const IUnknown *pData);
  1515. void ( STDMETHODCALLTYPE *GetResource )(
  1516. ID3D11UnorderedAccessView1 * This,
  1517. /* [annotation] */
  1518. _Outptr_ ID3D11Resource **ppResource);
  1519. void ( STDMETHODCALLTYPE *GetDesc )(
  1520. ID3D11UnorderedAccessView1 * This,
  1521. /* [annotation] */
  1522. _Out_ D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc);
  1523. void ( STDMETHODCALLTYPE *GetDesc1 )(
  1524. ID3D11UnorderedAccessView1 * This,
  1525. /* [annotation] */
  1526. _Out_ D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1);
  1527. END_INTERFACE
  1528. } ID3D11UnorderedAccessView1Vtbl;
  1529. interface ID3D11UnorderedAccessView1
  1530. {
  1531. CONST_VTBL struct ID3D11UnorderedAccessView1Vtbl *lpVtbl;
  1532. };
  1533. #ifdef COBJMACROS
  1534. #define ID3D11UnorderedAccessView1_QueryInterface(This,riid,ppvObject) \
  1535. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  1536. #define ID3D11UnorderedAccessView1_AddRef(This) \
  1537. ( (This)->lpVtbl -> AddRef(This) )
  1538. #define ID3D11UnorderedAccessView1_Release(This) \
  1539. ( (This)->lpVtbl -> Release(This) )
  1540. #define ID3D11UnorderedAccessView1_GetDevice(This,ppDevice) \
  1541. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  1542. #define ID3D11UnorderedAccessView1_GetPrivateData(This,guid,pDataSize,pData) \
  1543. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  1544. #define ID3D11UnorderedAccessView1_SetPrivateData(This,guid,DataSize,pData) \
  1545. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  1546. #define ID3D11UnorderedAccessView1_SetPrivateDataInterface(This,guid,pData) \
  1547. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  1548. #define ID3D11UnorderedAccessView1_GetResource(This,ppResource) \
  1549. ( (This)->lpVtbl -> GetResource(This,ppResource) )
  1550. #define ID3D11UnorderedAccessView1_GetDesc(This,pDesc) \
  1551. ( (This)->lpVtbl -> GetDesc(This,pDesc) )
  1552. #define ID3D11UnorderedAccessView1_GetDesc1(This,pDesc1) \
  1553. ( (This)->lpVtbl -> GetDesc1(This,pDesc1) )
  1554. #endif /* COBJMACROS */
  1555. #endif /* C style interface */
  1556. #endif /* __ID3D11UnorderedAccessView1_INTERFACE_DEFINED__ */
  1557. /* interface __MIDL_itf_d3d11_3_0000_0006 */
  1558. /* [local] */
  1559. typedef struct D3D11_QUERY_DESC1
  1560. {
  1561. D3D11_QUERY Query;
  1562. UINT MiscFlags;
  1563. D3D11_CONTEXT_TYPE ContextType;
  1564. } D3D11_QUERY_DESC1;
  1565. #if !defined( D3D11_NO_HELPERS ) && defined( __cplusplus )
  1566. }
  1567. struct CD3D11_QUERY_DESC1 : public D3D11_QUERY_DESC1
  1568. {
  1569. CD3D11_QUERY_DESC1()
  1570. {}
  1571. explicit CD3D11_QUERY_DESC1( const D3D11_QUERY_DESC1& o ) :
  1572. D3D11_QUERY_DESC1( o )
  1573. {}
  1574. explicit CD3D11_QUERY_DESC1(
  1575. D3D11_QUERY query,
  1576. UINT miscFlags = 0,
  1577. D3D11_CONTEXT_TYPE contextType = D3D11_CONTEXT_TYPE_ALL )
  1578. {
  1579. Query = query;
  1580. MiscFlags = miscFlags;
  1581. ContextType = contextType;
  1582. }
  1583. ~CD3D11_QUERY_DESC1() {}
  1584. operator const D3D11_QUERY_DESC1&() const { return *this; }
  1585. };
  1586. extern "C"{
  1587. #endif
  1588. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0006_v0_0_c_ifspec;
  1589. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0006_v0_0_s_ifspec;
  1590. #ifndef __ID3D11Query1_INTERFACE_DEFINED__
  1591. #define __ID3D11Query1_INTERFACE_DEFINED__
  1592. /* interface ID3D11Query1 */
  1593. /* [unique][local][object][uuid] */
  1594. EXTERN_C const IID IID_ID3D11Query1;
  1595. #if defined(__cplusplus) && !defined(CINTERFACE)
  1596. MIDL_INTERFACE("631b4766-36dc-461d-8db6-c47e13e60916")
  1597. ID3D11Query1 : public ID3D11Query
  1598. {
  1599. public:
  1600. virtual void STDMETHODCALLTYPE GetDesc1(
  1601. /* [annotation] */
  1602. _Out_ D3D11_QUERY_DESC1 *pDesc1) = 0;
  1603. };
  1604. #else /* C style interface */
  1605. typedef struct ID3D11Query1Vtbl
  1606. {
  1607. BEGIN_INTERFACE
  1608. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1609. ID3D11Query1 * This,
  1610. /* [in] */ REFIID riid,
  1611. /* [annotation][iid_is][out] */
  1612. _COM_Outptr_ void **ppvObject);
  1613. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1614. ID3D11Query1 * This);
  1615. ULONG ( STDMETHODCALLTYPE *Release )(
  1616. ID3D11Query1 * This);
  1617. void ( STDMETHODCALLTYPE *GetDevice )(
  1618. ID3D11Query1 * This,
  1619. /* [annotation] */
  1620. _Outptr_ ID3D11Device **ppDevice);
  1621. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  1622. ID3D11Query1 * This,
  1623. /* [annotation] */
  1624. _In_ REFGUID guid,
  1625. /* [annotation] */
  1626. _Inout_ UINT *pDataSize,
  1627. /* [annotation] */
  1628. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  1629. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  1630. ID3D11Query1 * This,
  1631. /* [annotation] */
  1632. _In_ REFGUID guid,
  1633. /* [annotation] */
  1634. _In_ UINT DataSize,
  1635. /* [annotation] */
  1636. _In_reads_bytes_opt_( DataSize ) const void *pData);
  1637. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  1638. ID3D11Query1 * This,
  1639. /* [annotation] */
  1640. _In_ REFGUID guid,
  1641. /* [annotation] */
  1642. _In_opt_ const IUnknown *pData);
  1643. UINT ( STDMETHODCALLTYPE *GetDataSize )(
  1644. ID3D11Query1 * This);
  1645. void ( STDMETHODCALLTYPE *GetDesc )(
  1646. ID3D11Query1 * This,
  1647. /* [annotation] */
  1648. _Out_ D3D11_QUERY_DESC *pDesc);
  1649. void ( STDMETHODCALLTYPE *GetDesc1 )(
  1650. ID3D11Query1 * This,
  1651. /* [annotation] */
  1652. _Out_ D3D11_QUERY_DESC1 *pDesc1);
  1653. END_INTERFACE
  1654. } ID3D11Query1Vtbl;
  1655. interface ID3D11Query1
  1656. {
  1657. CONST_VTBL struct ID3D11Query1Vtbl *lpVtbl;
  1658. };
  1659. #ifdef COBJMACROS
  1660. #define ID3D11Query1_QueryInterface(This,riid,ppvObject) \
  1661. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  1662. #define ID3D11Query1_AddRef(This) \
  1663. ( (This)->lpVtbl -> AddRef(This) )
  1664. #define ID3D11Query1_Release(This) \
  1665. ( (This)->lpVtbl -> Release(This) )
  1666. #define ID3D11Query1_GetDevice(This,ppDevice) \
  1667. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  1668. #define ID3D11Query1_GetPrivateData(This,guid,pDataSize,pData) \
  1669. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  1670. #define ID3D11Query1_SetPrivateData(This,guid,DataSize,pData) \
  1671. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  1672. #define ID3D11Query1_SetPrivateDataInterface(This,guid,pData) \
  1673. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  1674. #define ID3D11Query1_GetDataSize(This) \
  1675. ( (This)->lpVtbl -> GetDataSize(This) )
  1676. #define ID3D11Query1_GetDesc(This,pDesc) \
  1677. ( (This)->lpVtbl -> GetDesc(This,pDesc) )
  1678. #define ID3D11Query1_GetDesc1(This,pDesc1) \
  1679. ( (This)->lpVtbl -> GetDesc1(This,pDesc1) )
  1680. #endif /* COBJMACROS */
  1681. #endif /* C style interface */
  1682. #endif /* __ID3D11Query1_INTERFACE_DEFINED__ */
  1683. /* interface __MIDL_itf_d3d11_3_0000_0007 */
  1684. /* [local] */
  1685. typedef
  1686. enum D3D11_FENCE_FLAG
  1687. {
  1688. D3D11_FENCE_FLAG_NONE = 0x1,
  1689. D3D11_FENCE_FLAG_SHARED = 0x2,
  1690. D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x4
  1691. } D3D11_FENCE_FLAG;
  1692. DEFINE_ENUM_FLAG_OPERATORS(D3D11_FENCE_FLAG);
  1693. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0007_v0_0_c_ifspec;
  1694. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0007_v0_0_s_ifspec;
  1695. #ifndef __ID3D11DeviceContext3_INTERFACE_DEFINED__
  1696. #define __ID3D11DeviceContext3_INTERFACE_DEFINED__
  1697. /* interface ID3D11DeviceContext3 */
  1698. /* [unique][local][object][uuid] */
  1699. EXTERN_C const IID IID_ID3D11DeviceContext3;
  1700. #if defined(__cplusplus) && !defined(CINTERFACE)
  1701. MIDL_INTERFACE("b4e3c01d-e79e-4637-91b2-510e9f4c9b8f")
  1702. ID3D11DeviceContext3 : public ID3D11DeviceContext2
  1703. {
  1704. public:
  1705. virtual void STDMETHODCALLTYPE Flush1(
  1706. D3D11_CONTEXT_TYPE ContextType,
  1707. /* [annotation] */
  1708. _In_opt_ HANDLE hEvent) = 0;
  1709. virtual void STDMETHODCALLTYPE SetHardwareProtectionState(
  1710. /* [annotation] */
  1711. _In_ BOOL HwProtectionEnable) = 0;
  1712. virtual void STDMETHODCALLTYPE GetHardwareProtectionState(
  1713. /* [annotation] */
  1714. _Out_ BOOL *pHwProtectionEnable) = 0;
  1715. };
  1716. #else /* C style interface */
  1717. typedef struct ID3D11DeviceContext3Vtbl
  1718. {
  1719. BEGIN_INTERFACE
  1720. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1721. ID3D11DeviceContext3 * This,
  1722. /* [in] */ REFIID riid,
  1723. /* [annotation][iid_is][out] */
  1724. _COM_Outptr_ void **ppvObject);
  1725. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1726. ID3D11DeviceContext3 * This);
  1727. ULONG ( STDMETHODCALLTYPE *Release )(
  1728. ID3D11DeviceContext3 * This);
  1729. void ( STDMETHODCALLTYPE *GetDevice )(
  1730. ID3D11DeviceContext3 * This,
  1731. /* [annotation] */
  1732. _Outptr_ ID3D11Device **ppDevice);
  1733. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  1734. ID3D11DeviceContext3 * This,
  1735. /* [annotation] */
  1736. _In_ REFGUID guid,
  1737. /* [annotation] */
  1738. _Inout_ UINT *pDataSize,
  1739. /* [annotation] */
  1740. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  1741. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  1742. ID3D11DeviceContext3 * This,
  1743. /* [annotation] */
  1744. _In_ REFGUID guid,
  1745. /* [annotation] */
  1746. _In_ UINT DataSize,
  1747. /* [annotation] */
  1748. _In_reads_bytes_opt_( DataSize ) const void *pData);
  1749. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  1750. ID3D11DeviceContext3 * This,
  1751. /* [annotation] */
  1752. _In_ REFGUID guid,
  1753. /* [annotation] */
  1754. _In_opt_ const IUnknown *pData);
  1755. void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
  1756. ID3D11DeviceContext3 * This,
  1757. /* [annotation] */
  1758. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  1759. /* [annotation] */
  1760. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  1761. /* [annotation] */
  1762. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  1763. void ( STDMETHODCALLTYPE *PSSetShaderResources )(
  1764. ID3D11DeviceContext3 * This,
  1765. /* [annotation] */
  1766. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  1767. /* [annotation] */
  1768. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  1769. /* [annotation] */
  1770. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  1771. void ( STDMETHODCALLTYPE *PSSetShader )(
  1772. ID3D11DeviceContext3 * This,
  1773. /* [annotation] */
  1774. _In_opt_ ID3D11PixelShader *pPixelShader,
  1775. /* [annotation] */
  1776. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  1777. UINT NumClassInstances);
  1778. void ( STDMETHODCALLTYPE *PSSetSamplers )(
  1779. ID3D11DeviceContext3 * This,
  1780. /* [annotation] */
  1781. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  1782. /* [annotation] */
  1783. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  1784. /* [annotation] */
  1785. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  1786. void ( STDMETHODCALLTYPE *VSSetShader )(
  1787. ID3D11DeviceContext3 * This,
  1788. /* [annotation] */
  1789. _In_opt_ ID3D11VertexShader *pVertexShader,
  1790. /* [annotation] */
  1791. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  1792. UINT NumClassInstances);
  1793. void ( STDMETHODCALLTYPE *DrawIndexed )(
  1794. ID3D11DeviceContext3 * This,
  1795. /* [annotation] */
  1796. _In_ UINT IndexCount,
  1797. /* [annotation] */
  1798. _In_ UINT StartIndexLocation,
  1799. /* [annotation] */
  1800. _In_ INT BaseVertexLocation);
  1801. void ( STDMETHODCALLTYPE *Draw )(
  1802. ID3D11DeviceContext3 * This,
  1803. /* [annotation] */
  1804. _In_ UINT VertexCount,
  1805. /* [annotation] */
  1806. _In_ UINT StartVertexLocation);
  1807. HRESULT ( STDMETHODCALLTYPE *Map )(
  1808. ID3D11DeviceContext3 * This,
  1809. /* [annotation] */
  1810. _In_ ID3D11Resource *pResource,
  1811. /* [annotation] */
  1812. _In_ UINT Subresource,
  1813. /* [annotation] */
  1814. _In_ D3D11_MAP MapType,
  1815. /* [annotation] */
  1816. _In_ UINT MapFlags,
  1817. /* [annotation] */
  1818. _Out_opt_ D3D11_MAPPED_SUBRESOURCE *pMappedResource);
  1819. void ( STDMETHODCALLTYPE *Unmap )(
  1820. ID3D11DeviceContext3 * This,
  1821. /* [annotation] */
  1822. _In_ ID3D11Resource *pResource,
  1823. /* [annotation] */
  1824. _In_ UINT Subresource);
  1825. void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
  1826. ID3D11DeviceContext3 * This,
  1827. /* [annotation] */
  1828. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  1829. /* [annotation] */
  1830. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  1831. /* [annotation] */
  1832. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  1833. void ( STDMETHODCALLTYPE *IASetInputLayout )(
  1834. ID3D11DeviceContext3 * This,
  1835. /* [annotation] */
  1836. _In_opt_ ID3D11InputLayout *pInputLayout);
  1837. void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
  1838. ID3D11DeviceContext3 * This,
  1839. /* [annotation] */
  1840. _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  1841. /* [annotation] */
  1842. _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  1843. /* [annotation] */
  1844. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppVertexBuffers,
  1845. /* [annotation] */
  1846. _In_reads_opt_(NumBuffers) const UINT *pStrides,
  1847. /* [annotation] */
  1848. _In_reads_opt_(NumBuffers) const UINT *pOffsets);
  1849. void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
  1850. ID3D11DeviceContext3 * This,
  1851. /* [annotation] */
  1852. _In_opt_ ID3D11Buffer *pIndexBuffer,
  1853. /* [annotation] */
  1854. _In_ DXGI_FORMAT Format,
  1855. /* [annotation] */
  1856. _In_ UINT Offset);
  1857. void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
  1858. ID3D11DeviceContext3 * This,
  1859. /* [annotation] */
  1860. _In_ UINT IndexCountPerInstance,
  1861. /* [annotation] */
  1862. _In_ UINT InstanceCount,
  1863. /* [annotation] */
  1864. _In_ UINT StartIndexLocation,
  1865. /* [annotation] */
  1866. _In_ INT BaseVertexLocation,
  1867. /* [annotation] */
  1868. _In_ UINT StartInstanceLocation);
  1869. void ( STDMETHODCALLTYPE *DrawInstanced )(
  1870. ID3D11DeviceContext3 * This,
  1871. /* [annotation] */
  1872. _In_ UINT VertexCountPerInstance,
  1873. /* [annotation] */
  1874. _In_ UINT InstanceCount,
  1875. /* [annotation] */
  1876. _In_ UINT StartVertexLocation,
  1877. /* [annotation] */
  1878. _In_ UINT StartInstanceLocation);
  1879. void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
  1880. ID3D11DeviceContext3 * This,
  1881. /* [annotation] */
  1882. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  1883. /* [annotation] */
  1884. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  1885. /* [annotation] */
  1886. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  1887. void ( STDMETHODCALLTYPE *GSSetShader )(
  1888. ID3D11DeviceContext3 * This,
  1889. /* [annotation] */
  1890. _In_opt_ ID3D11GeometryShader *pShader,
  1891. /* [annotation] */
  1892. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  1893. UINT NumClassInstances);
  1894. void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
  1895. ID3D11DeviceContext3 * This,
  1896. /* [annotation] */
  1897. _In_ D3D11_PRIMITIVE_TOPOLOGY Topology);
  1898. void ( STDMETHODCALLTYPE *VSSetShaderResources )(
  1899. ID3D11DeviceContext3 * This,
  1900. /* [annotation] */
  1901. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  1902. /* [annotation] */
  1903. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  1904. /* [annotation] */
  1905. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  1906. void ( STDMETHODCALLTYPE *VSSetSamplers )(
  1907. ID3D11DeviceContext3 * This,
  1908. /* [annotation] */
  1909. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  1910. /* [annotation] */
  1911. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  1912. /* [annotation] */
  1913. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  1914. void ( STDMETHODCALLTYPE *Begin )(
  1915. ID3D11DeviceContext3 * This,
  1916. /* [annotation] */
  1917. _In_ ID3D11Asynchronous *pAsync);
  1918. void ( STDMETHODCALLTYPE *End )(
  1919. ID3D11DeviceContext3 * This,
  1920. /* [annotation] */
  1921. _In_ ID3D11Asynchronous *pAsync);
  1922. HRESULT ( STDMETHODCALLTYPE *GetData )(
  1923. ID3D11DeviceContext3 * This,
  1924. /* [annotation] */
  1925. _In_ ID3D11Asynchronous *pAsync,
  1926. /* [annotation] */
  1927. _Out_writes_bytes_opt_( DataSize ) void *pData,
  1928. /* [annotation] */
  1929. _In_ UINT DataSize,
  1930. /* [annotation] */
  1931. _In_ UINT GetDataFlags);
  1932. void ( STDMETHODCALLTYPE *SetPredication )(
  1933. ID3D11DeviceContext3 * This,
  1934. /* [annotation] */
  1935. _In_opt_ ID3D11Predicate *pPredicate,
  1936. /* [annotation] */
  1937. _In_ BOOL PredicateValue);
  1938. void ( STDMETHODCALLTYPE *GSSetShaderResources )(
  1939. ID3D11DeviceContext3 * This,
  1940. /* [annotation] */
  1941. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  1942. /* [annotation] */
  1943. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  1944. /* [annotation] */
  1945. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  1946. void ( STDMETHODCALLTYPE *GSSetSamplers )(
  1947. ID3D11DeviceContext3 * This,
  1948. /* [annotation] */
  1949. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  1950. /* [annotation] */
  1951. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  1952. /* [annotation] */
  1953. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  1954. void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
  1955. ID3D11DeviceContext3 * This,
  1956. /* [annotation] */
  1957. _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
  1958. /* [annotation] */
  1959. _In_reads_opt_(NumViews) ID3D11RenderTargetView *const *ppRenderTargetViews,
  1960. /* [annotation] */
  1961. _In_opt_ ID3D11DepthStencilView *pDepthStencilView);
  1962. void ( STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews )(
  1963. ID3D11DeviceContext3 * This,
  1964. /* [annotation] */
  1965. _In_ UINT NumRTVs,
  1966. /* [annotation] */
  1967. _In_reads_opt_(NumRTVs) ID3D11RenderTargetView *const *ppRenderTargetViews,
  1968. /* [annotation] */
  1969. _In_opt_ ID3D11DepthStencilView *pDepthStencilView,
  1970. /* [annotation] */
  1971. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT UAVStartSlot,
  1972. /* [annotation] */
  1973. _In_ UINT NumUAVs,
  1974. /* [annotation] */
  1975. _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
  1976. /* [annotation] */
  1977. _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
  1978. void ( STDMETHODCALLTYPE *OMSetBlendState )(
  1979. ID3D11DeviceContext3 * This,
  1980. /* [annotation] */
  1981. _In_opt_ ID3D11BlendState *pBlendState,
  1982. /* [annotation] */
  1983. _In_opt_ const FLOAT BlendFactor[ 4 ],
  1984. /* [annotation] */
  1985. _In_ UINT SampleMask);
  1986. void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
  1987. ID3D11DeviceContext3 * This,
  1988. /* [annotation] */
  1989. _In_opt_ ID3D11DepthStencilState *pDepthStencilState,
  1990. /* [annotation] */
  1991. _In_ UINT StencilRef);
  1992. void ( STDMETHODCALLTYPE *SOSetTargets )(
  1993. ID3D11DeviceContext3 * This,
  1994. /* [annotation] */
  1995. _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
  1996. /* [annotation] */
  1997. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppSOTargets,
  1998. /* [annotation] */
  1999. _In_reads_opt_(NumBuffers) const UINT *pOffsets);
  2000. void ( STDMETHODCALLTYPE *DrawAuto )(
  2001. ID3D11DeviceContext3 * This);
  2002. void ( STDMETHODCALLTYPE *DrawIndexedInstancedIndirect )(
  2003. ID3D11DeviceContext3 * This,
  2004. /* [annotation] */
  2005. _In_ ID3D11Buffer *pBufferForArgs,
  2006. /* [annotation] */
  2007. _In_ UINT AlignedByteOffsetForArgs);
  2008. void ( STDMETHODCALLTYPE *DrawInstancedIndirect )(
  2009. ID3D11DeviceContext3 * This,
  2010. /* [annotation] */
  2011. _In_ ID3D11Buffer *pBufferForArgs,
  2012. /* [annotation] */
  2013. _In_ UINT AlignedByteOffsetForArgs);
  2014. void ( STDMETHODCALLTYPE *Dispatch )(
  2015. ID3D11DeviceContext3 * This,
  2016. /* [annotation] */
  2017. _In_ UINT ThreadGroupCountX,
  2018. /* [annotation] */
  2019. _In_ UINT ThreadGroupCountY,
  2020. /* [annotation] */
  2021. _In_ UINT ThreadGroupCountZ);
  2022. void ( STDMETHODCALLTYPE *DispatchIndirect )(
  2023. ID3D11DeviceContext3 * This,
  2024. /* [annotation] */
  2025. _In_ ID3D11Buffer *pBufferForArgs,
  2026. /* [annotation] */
  2027. _In_ UINT AlignedByteOffsetForArgs);
  2028. void ( STDMETHODCALLTYPE *RSSetState )(
  2029. ID3D11DeviceContext3 * This,
  2030. /* [annotation] */
  2031. _In_opt_ ID3D11RasterizerState *pRasterizerState);
  2032. void ( STDMETHODCALLTYPE *RSSetViewports )(
  2033. ID3D11DeviceContext3 * This,
  2034. /* [annotation] */
  2035. _In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
  2036. /* [annotation] */
  2037. _In_reads_opt_(NumViewports) const D3D11_VIEWPORT *pViewports);
  2038. void ( STDMETHODCALLTYPE *RSSetScissorRects )(
  2039. ID3D11DeviceContext3 * This,
  2040. /* [annotation] */
  2041. _In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
  2042. /* [annotation] */
  2043. _In_reads_opt_(NumRects) const D3D11_RECT *pRects);
  2044. void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
  2045. ID3D11DeviceContext3 * This,
  2046. /* [annotation] */
  2047. _In_ ID3D11Resource *pDstResource,
  2048. /* [annotation] */
  2049. _In_ UINT DstSubresource,
  2050. /* [annotation] */
  2051. _In_ UINT DstX,
  2052. /* [annotation] */
  2053. _In_ UINT DstY,
  2054. /* [annotation] */
  2055. _In_ UINT DstZ,
  2056. /* [annotation] */
  2057. _In_ ID3D11Resource *pSrcResource,
  2058. /* [annotation] */
  2059. _In_ UINT SrcSubresource,
  2060. /* [annotation] */
  2061. _In_opt_ const D3D11_BOX *pSrcBox);
  2062. void ( STDMETHODCALLTYPE *CopyResource )(
  2063. ID3D11DeviceContext3 * This,
  2064. /* [annotation] */
  2065. _In_ ID3D11Resource *pDstResource,
  2066. /* [annotation] */
  2067. _In_ ID3D11Resource *pSrcResource);
  2068. void ( STDMETHODCALLTYPE *UpdateSubresource )(
  2069. ID3D11DeviceContext3 * This,
  2070. /* [annotation] */
  2071. _In_ ID3D11Resource *pDstResource,
  2072. /* [annotation] */
  2073. _In_ UINT DstSubresource,
  2074. /* [annotation] */
  2075. _In_opt_ const D3D11_BOX *pDstBox,
  2076. /* [annotation] */
  2077. _In_ const void *pSrcData,
  2078. /* [annotation] */
  2079. _In_ UINT SrcRowPitch,
  2080. /* [annotation] */
  2081. _In_ UINT SrcDepthPitch);
  2082. void ( STDMETHODCALLTYPE *CopyStructureCount )(
  2083. ID3D11DeviceContext3 * This,
  2084. /* [annotation] */
  2085. _In_ ID3D11Buffer *pDstBuffer,
  2086. /* [annotation] */
  2087. _In_ UINT DstAlignedByteOffset,
  2088. /* [annotation] */
  2089. _In_ ID3D11UnorderedAccessView *pSrcView);
  2090. void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
  2091. ID3D11DeviceContext3 * This,
  2092. /* [annotation] */
  2093. _In_ ID3D11RenderTargetView *pRenderTargetView,
  2094. /* [annotation] */
  2095. _In_ const FLOAT ColorRGBA[ 4 ]);
  2096. void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewUint )(
  2097. ID3D11DeviceContext3 * This,
  2098. /* [annotation] */
  2099. _In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
  2100. /* [annotation] */
  2101. _In_ const UINT Values[ 4 ]);
  2102. void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat )(
  2103. ID3D11DeviceContext3 * This,
  2104. /* [annotation] */
  2105. _In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
  2106. /* [annotation] */
  2107. _In_ const FLOAT Values[ 4 ]);
  2108. void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
  2109. ID3D11DeviceContext3 * This,
  2110. /* [annotation] */
  2111. _In_ ID3D11DepthStencilView *pDepthStencilView,
  2112. /* [annotation] */
  2113. _In_ UINT ClearFlags,
  2114. /* [annotation] */
  2115. _In_ FLOAT Depth,
  2116. /* [annotation] */
  2117. _In_ UINT8 Stencil);
  2118. void ( STDMETHODCALLTYPE *GenerateMips )(
  2119. ID3D11DeviceContext3 * This,
  2120. /* [annotation] */
  2121. _In_ ID3D11ShaderResourceView *pShaderResourceView);
  2122. void ( STDMETHODCALLTYPE *SetResourceMinLOD )(
  2123. ID3D11DeviceContext3 * This,
  2124. /* [annotation] */
  2125. _In_ ID3D11Resource *pResource,
  2126. FLOAT MinLOD);
  2127. FLOAT ( STDMETHODCALLTYPE *GetResourceMinLOD )(
  2128. ID3D11DeviceContext3 * This,
  2129. /* [annotation] */
  2130. _In_ ID3D11Resource *pResource);
  2131. void ( STDMETHODCALLTYPE *ResolveSubresource )(
  2132. ID3D11DeviceContext3 * This,
  2133. /* [annotation] */
  2134. _In_ ID3D11Resource *pDstResource,
  2135. /* [annotation] */
  2136. _In_ UINT DstSubresource,
  2137. /* [annotation] */
  2138. _In_ ID3D11Resource *pSrcResource,
  2139. /* [annotation] */
  2140. _In_ UINT SrcSubresource,
  2141. /* [annotation] */
  2142. _In_ DXGI_FORMAT Format);
  2143. void ( STDMETHODCALLTYPE *ExecuteCommandList )(
  2144. ID3D11DeviceContext3 * This,
  2145. /* [annotation] */
  2146. _In_ ID3D11CommandList *pCommandList,
  2147. BOOL RestoreContextState);
  2148. void ( STDMETHODCALLTYPE *HSSetShaderResources )(
  2149. ID3D11DeviceContext3 * This,
  2150. /* [annotation] */
  2151. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2152. /* [annotation] */
  2153. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2154. /* [annotation] */
  2155. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  2156. void ( STDMETHODCALLTYPE *HSSetShader )(
  2157. ID3D11DeviceContext3 * This,
  2158. /* [annotation] */
  2159. _In_opt_ ID3D11HullShader *pHullShader,
  2160. /* [annotation] */
  2161. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  2162. UINT NumClassInstances);
  2163. void ( STDMETHODCALLTYPE *HSSetSamplers )(
  2164. ID3D11DeviceContext3 * This,
  2165. /* [annotation] */
  2166. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2167. /* [annotation] */
  2168. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2169. /* [annotation] */
  2170. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  2171. void ( STDMETHODCALLTYPE *HSSetConstantBuffers )(
  2172. ID3D11DeviceContext3 * This,
  2173. /* [annotation] */
  2174. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2175. /* [annotation] */
  2176. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2177. /* [annotation] */
  2178. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  2179. void ( STDMETHODCALLTYPE *DSSetShaderResources )(
  2180. ID3D11DeviceContext3 * This,
  2181. /* [annotation] */
  2182. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2183. /* [annotation] */
  2184. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2185. /* [annotation] */
  2186. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  2187. void ( STDMETHODCALLTYPE *DSSetShader )(
  2188. ID3D11DeviceContext3 * This,
  2189. /* [annotation] */
  2190. _In_opt_ ID3D11DomainShader *pDomainShader,
  2191. /* [annotation] */
  2192. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  2193. UINT NumClassInstances);
  2194. void ( STDMETHODCALLTYPE *DSSetSamplers )(
  2195. ID3D11DeviceContext3 * This,
  2196. /* [annotation] */
  2197. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2198. /* [annotation] */
  2199. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2200. /* [annotation] */
  2201. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  2202. void ( STDMETHODCALLTYPE *DSSetConstantBuffers )(
  2203. ID3D11DeviceContext3 * This,
  2204. /* [annotation] */
  2205. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2206. /* [annotation] */
  2207. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2208. /* [annotation] */
  2209. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  2210. void ( STDMETHODCALLTYPE *CSSetShaderResources )(
  2211. ID3D11DeviceContext3 * This,
  2212. /* [annotation] */
  2213. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2214. /* [annotation] */
  2215. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2216. /* [annotation] */
  2217. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  2218. void ( STDMETHODCALLTYPE *CSSetUnorderedAccessViews )(
  2219. ID3D11DeviceContext3 * This,
  2220. /* [annotation] */
  2221. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
  2222. /* [annotation] */
  2223. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
  2224. /* [annotation] */
  2225. _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
  2226. /* [annotation] */
  2227. _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
  2228. void ( STDMETHODCALLTYPE *CSSetShader )(
  2229. ID3D11DeviceContext3 * This,
  2230. /* [annotation] */
  2231. _In_opt_ ID3D11ComputeShader *pComputeShader,
  2232. /* [annotation] */
  2233. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  2234. UINT NumClassInstances);
  2235. void ( STDMETHODCALLTYPE *CSSetSamplers )(
  2236. ID3D11DeviceContext3 * This,
  2237. /* [annotation] */
  2238. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2239. /* [annotation] */
  2240. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2241. /* [annotation] */
  2242. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  2243. void ( STDMETHODCALLTYPE *CSSetConstantBuffers )(
  2244. ID3D11DeviceContext3 * This,
  2245. /* [annotation] */
  2246. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2247. /* [annotation] */
  2248. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2249. /* [annotation] */
  2250. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  2251. void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
  2252. ID3D11DeviceContext3 * This,
  2253. /* [annotation] */
  2254. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2255. /* [annotation] */
  2256. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2257. /* [annotation] */
  2258. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  2259. void ( STDMETHODCALLTYPE *PSGetShaderResources )(
  2260. ID3D11DeviceContext3 * This,
  2261. /* [annotation] */
  2262. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2263. /* [annotation] */
  2264. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2265. /* [annotation] */
  2266. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  2267. void ( STDMETHODCALLTYPE *PSGetShader )(
  2268. ID3D11DeviceContext3 * This,
  2269. /* [annotation] */
  2270. _Outptr_result_maybenull_ ID3D11PixelShader **ppPixelShader,
  2271. /* [annotation] */
  2272. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  2273. /* [annotation] */
  2274. _Inout_opt_ UINT *pNumClassInstances);
  2275. void ( STDMETHODCALLTYPE *PSGetSamplers )(
  2276. ID3D11DeviceContext3 * This,
  2277. /* [annotation] */
  2278. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2279. /* [annotation] */
  2280. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2281. /* [annotation] */
  2282. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  2283. void ( STDMETHODCALLTYPE *VSGetShader )(
  2284. ID3D11DeviceContext3 * This,
  2285. /* [annotation] */
  2286. _Outptr_result_maybenull_ ID3D11VertexShader **ppVertexShader,
  2287. /* [annotation] */
  2288. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  2289. /* [annotation] */
  2290. _Inout_opt_ UINT *pNumClassInstances);
  2291. void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
  2292. ID3D11DeviceContext3 * This,
  2293. /* [annotation] */
  2294. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2295. /* [annotation] */
  2296. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2297. /* [annotation] */
  2298. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  2299. void ( STDMETHODCALLTYPE *IAGetInputLayout )(
  2300. ID3D11DeviceContext3 * This,
  2301. /* [annotation] */
  2302. _Outptr_result_maybenull_ ID3D11InputLayout **ppInputLayout);
  2303. void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
  2304. ID3D11DeviceContext3 * This,
  2305. /* [annotation] */
  2306. _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2307. /* [annotation] */
  2308. _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2309. /* [annotation] */
  2310. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppVertexBuffers,
  2311. /* [annotation] */
  2312. _Out_writes_opt_(NumBuffers) UINT *pStrides,
  2313. /* [annotation] */
  2314. _Out_writes_opt_(NumBuffers) UINT *pOffsets);
  2315. void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
  2316. ID3D11DeviceContext3 * This,
  2317. /* [annotation] */
  2318. _Outptr_opt_result_maybenull_ ID3D11Buffer **pIndexBuffer,
  2319. /* [annotation] */
  2320. _Out_opt_ DXGI_FORMAT *Format,
  2321. /* [annotation] */
  2322. _Out_opt_ UINT *Offset);
  2323. void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
  2324. ID3D11DeviceContext3 * This,
  2325. /* [annotation] */
  2326. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2327. /* [annotation] */
  2328. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2329. /* [annotation] */
  2330. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  2331. void ( STDMETHODCALLTYPE *GSGetShader )(
  2332. ID3D11DeviceContext3 * This,
  2333. /* [annotation] */
  2334. _Outptr_result_maybenull_ ID3D11GeometryShader **ppGeometryShader,
  2335. /* [annotation] */
  2336. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  2337. /* [annotation] */
  2338. _Inout_opt_ UINT *pNumClassInstances);
  2339. void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
  2340. ID3D11DeviceContext3 * This,
  2341. /* [annotation] */
  2342. _Out_ D3D11_PRIMITIVE_TOPOLOGY *pTopology);
  2343. void ( STDMETHODCALLTYPE *VSGetShaderResources )(
  2344. ID3D11DeviceContext3 * This,
  2345. /* [annotation] */
  2346. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2347. /* [annotation] */
  2348. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2349. /* [annotation] */
  2350. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  2351. void ( STDMETHODCALLTYPE *VSGetSamplers )(
  2352. ID3D11DeviceContext3 * This,
  2353. /* [annotation] */
  2354. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2355. /* [annotation] */
  2356. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2357. /* [annotation] */
  2358. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  2359. void ( STDMETHODCALLTYPE *GetPredication )(
  2360. ID3D11DeviceContext3 * This,
  2361. /* [annotation] */
  2362. _Outptr_opt_result_maybenull_ ID3D11Predicate **ppPredicate,
  2363. /* [annotation] */
  2364. _Out_opt_ BOOL *pPredicateValue);
  2365. void ( STDMETHODCALLTYPE *GSGetShaderResources )(
  2366. ID3D11DeviceContext3 * This,
  2367. /* [annotation] */
  2368. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2369. /* [annotation] */
  2370. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2371. /* [annotation] */
  2372. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  2373. void ( STDMETHODCALLTYPE *GSGetSamplers )(
  2374. ID3D11DeviceContext3 * This,
  2375. /* [annotation] */
  2376. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2377. /* [annotation] */
  2378. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2379. /* [annotation] */
  2380. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  2381. void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
  2382. ID3D11DeviceContext3 * This,
  2383. /* [annotation] */
  2384. _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
  2385. /* [annotation] */
  2386. _Out_writes_opt_(NumViews) ID3D11RenderTargetView **ppRenderTargetViews,
  2387. /* [annotation] */
  2388. _Outptr_opt_result_maybenull_ ID3D11DepthStencilView **ppDepthStencilView);
  2389. void ( STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews )(
  2390. ID3D11DeviceContext3 * This,
  2391. /* [annotation] */
  2392. _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTVs,
  2393. /* [annotation] */
  2394. _Out_writes_opt_(NumRTVs) ID3D11RenderTargetView **ppRenderTargetViews,
  2395. /* [annotation] */
  2396. _Outptr_opt_result_maybenull_ ID3D11DepthStencilView **ppDepthStencilView,
  2397. /* [annotation] */
  2398. _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSlot,
  2399. /* [annotation] */
  2400. _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs,
  2401. /* [annotation] */
  2402. _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
  2403. void ( STDMETHODCALLTYPE *OMGetBlendState )(
  2404. ID3D11DeviceContext3 * This,
  2405. /* [annotation] */
  2406. _Outptr_opt_result_maybenull_ ID3D11BlendState **ppBlendState,
  2407. /* [annotation] */
  2408. _Out_opt_ FLOAT BlendFactor[ 4 ],
  2409. /* [annotation] */
  2410. _Out_opt_ UINT *pSampleMask);
  2411. void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
  2412. ID3D11DeviceContext3 * This,
  2413. /* [annotation] */
  2414. _Outptr_opt_result_maybenull_ ID3D11DepthStencilState **ppDepthStencilState,
  2415. /* [annotation] */
  2416. _Out_opt_ UINT *pStencilRef);
  2417. void ( STDMETHODCALLTYPE *SOGetTargets )(
  2418. ID3D11DeviceContext3 * This,
  2419. /* [annotation] */
  2420. _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
  2421. /* [annotation] */
  2422. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppSOTargets);
  2423. void ( STDMETHODCALLTYPE *RSGetState )(
  2424. ID3D11DeviceContext3 * This,
  2425. /* [annotation] */
  2426. _Outptr_result_maybenull_ ID3D11RasterizerState **ppRasterizerState);
  2427. void ( STDMETHODCALLTYPE *RSGetViewports )(
  2428. ID3D11DeviceContext3 * This,
  2429. /* [annotation] */
  2430. _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumViewports,
  2431. /* [annotation] */
  2432. _Out_writes_opt_(*pNumViewports) D3D11_VIEWPORT *pViewports);
  2433. void ( STDMETHODCALLTYPE *RSGetScissorRects )(
  2434. ID3D11DeviceContext3 * This,
  2435. /* [annotation] */
  2436. _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumRects,
  2437. /* [annotation] */
  2438. _Out_writes_opt_(*pNumRects) D3D11_RECT *pRects);
  2439. void ( STDMETHODCALLTYPE *HSGetShaderResources )(
  2440. ID3D11DeviceContext3 * This,
  2441. /* [annotation] */
  2442. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2443. /* [annotation] */
  2444. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2445. /* [annotation] */
  2446. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  2447. void ( STDMETHODCALLTYPE *HSGetShader )(
  2448. ID3D11DeviceContext3 * This,
  2449. /* [annotation] */
  2450. _Outptr_result_maybenull_ ID3D11HullShader **ppHullShader,
  2451. /* [annotation] */
  2452. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  2453. /* [annotation] */
  2454. _Inout_opt_ UINT *pNumClassInstances);
  2455. void ( STDMETHODCALLTYPE *HSGetSamplers )(
  2456. ID3D11DeviceContext3 * This,
  2457. /* [annotation] */
  2458. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2459. /* [annotation] */
  2460. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2461. /* [annotation] */
  2462. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  2463. void ( STDMETHODCALLTYPE *HSGetConstantBuffers )(
  2464. ID3D11DeviceContext3 * This,
  2465. /* [annotation] */
  2466. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2467. /* [annotation] */
  2468. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2469. /* [annotation] */
  2470. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  2471. void ( STDMETHODCALLTYPE *DSGetShaderResources )(
  2472. ID3D11DeviceContext3 * This,
  2473. /* [annotation] */
  2474. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2475. /* [annotation] */
  2476. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2477. /* [annotation] */
  2478. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  2479. void ( STDMETHODCALLTYPE *DSGetShader )(
  2480. ID3D11DeviceContext3 * This,
  2481. /* [annotation] */
  2482. _Outptr_result_maybenull_ ID3D11DomainShader **ppDomainShader,
  2483. /* [annotation] */
  2484. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  2485. /* [annotation] */
  2486. _Inout_opt_ UINT *pNumClassInstances);
  2487. void ( STDMETHODCALLTYPE *DSGetSamplers )(
  2488. ID3D11DeviceContext3 * This,
  2489. /* [annotation] */
  2490. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2491. /* [annotation] */
  2492. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2493. /* [annotation] */
  2494. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  2495. void ( STDMETHODCALLTYPE *DSGetConstantBuffers )(
  2496. ID3D11DeviceContext3 * This,
  2497. /* [annotation] */
  2498. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2499. /* [annotation] */
  2500. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2501. /* [annotation] */
  2502. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  2503. void ( STDMETHODCALLTYPE *CSGetShaderResources )(
  2504. ID3D11DeviceContext3 * This,
  2505. /* [annotation] */
  2506. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  2507. /* [annotation] */
  2508. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  2509. /* [annotation] */
  2510. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  2511. void ( STDMETHODCALLTYPE *CSGetUnorderedAccessViews )(
  2512. ID3D11DeviceContext3 * This,
  2513. /* [annotation] */
  2514. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
  2515. /* [annotation] */
  2516. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
  2517. /* [annotation] */
  2518. _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
  2519. void ( STDMETHODCALLTYPE *CSGetShader )(
  2520. ID3D11DeviceContext3 * This,
  2521. /* [annotation] */
  2522. _Outptr_result_maybenull_ ID3D11ComputeShader **ppComputeShader,
  2523. /* [annotation] */
  2524. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  2525. /* [annotation] */
  2526. _Inout_opt_ UINT *pNumClassInstances);
  2527. void ( STDMETHODCALLTYPE *CSGetSamplers )(
  2528. ID3D11DeviceContext3 * This,
  2529. /* [annotation] */
  2530. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  2531. /* [annotation] */
  2532. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  2533. /* [annotation] */
  2534. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  2535. void ( STDMETHODCALLTYPE *CSGetConstantBuffers )(
  2536. ID3D11DeviceContext3 * This,
  2537. /* [annotation] */
  2538. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2539. /* [annotation] */
  2540. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2541. /* [annotation] */
  2542. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  2543. void ( STDMETHODCALLTYPE *ClearState )(
  2544. ID3D11DeviceContext3 * This);
  2545. void ( STDMETHODCALLTYPE *Flush )(
  2546. ID3D11DeviceContext3 * This);
  2547. D3D11_DEVICE_CONTEXT_TYPE ( STDMETHODCALLTYPE *GetType )(
  2548. ID3D11DeviceContext3 * This);
  2549. UINT ( STDMETHODCALLTYPE *GetContextFlags )(
  2550. ID3D11DeviceContext3 * This);
  2551. HRESULT ( STDMETHODCALLTYPE *FinishCommandList )(
  2552. ID3D11DeviceContext3 * This,
  2553. BOOL RestoreDeferredContextState,
  2554. /* [annotation] */
  2555. _COM_Outptr_opt_ ID3D11CommandList **ppCommandList);
  2556. void ( STDMETHODCALLTYPE *CopySubresourceRegion1 )(
  2557. ID3D11DeviceContext3 * This,
  2558. /* [annotation] */
  2559. _In_ ID3D11Resource *pDstResource,
  2560. /* [annotation] */
  2561. _In_ UINT DstSubresource,
  2562. /* [annotation] */
  2563. _In_ UINT DstX,
  2564. /* [annotation] */
  2565. _In_ UINT DstY,
  2566. /* [annotation] */
  2567. _In_ UINT DstZ,
  2568. /* [annotation] */
  2569. _In_ ID3D11Resource *pSrcResource,
  2570. /* [annotation] */
  2571. _In_ UINT SrcSubresource,
  2572. /* [annotation] */
  2573. _In_opt_ const D3D11_BOX *pSrcBox,
  2574. /* [annotation] */
  2575. _In_ UINT CopyFlags);
  2576. void ( STDMETHODCALLTYPE *UpdateSubresource1 )(
  2577. ID3D11DeviceContext3 * This,
  2578. /* [annotation] */
  2579. _In_ ID3D11Resource *pDstResource,
  2580. /* [annotation] */
  2581. _In_ UINT DstSubresource,
  2582. /* [annotation] */
  2583. _In_opt_ const D3D11_BOX *pDstBox,
  2584. /* [annotation] */
  2585. _In_ const void *pSrcData,
  2586. /* [annotation] */
  2587. _In_ UINT SrcRowPitch,
  2588. /* [annotation] */
  2589. _In_ UINT SrcDepthPitch,
  2590. /* [annotation] */
  2591. _In_ UINT CopyFlags);
  2592. void ( STDMETHODCALLTYPE *DiscardResource )(
  2593. ID3D11DeviceContext3 * This,
  2594. /* [annotation] */
  2595. _In_ ID3D11Resource *pResource);
  2596. void ( STDMETHODCALLTYPE *DiscardView )(
  2597. ID3D11DeviceContext3 * This,
  2598. /* [annotation] */
  2599. _In_ ID3D11View *pResourceView);
  2600. void ( STDMETHODCALLTYPE *VSSetConstantBuffers1 )(
  2601. ID3D11DeviceContext3 * This,
  2602. /* [annotation] */
  2603. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2604. /* [annotation] */
  2605. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2606. /* [annotation] */
  2607. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  2608. /* [annotation] */
  2609. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  2610. /* [annotation] */
  2611. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  2612. void ( STDMETHODCALLTYPE *HSSetConstantBuffers1 )(
  2613. ID3D11DeviceContext3 * This,
  2614. /* [annotation] */
  2615. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2616. /* [annotation] */
  2617. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2618. /* [annotation] */
  2619. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  2620. /* [annotation] */
  2621. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  2622. /* [annotation] */
  2623. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  2624. void ( STDMETHODCALLTYPE *DSSetConstantBuffers1 )(
  2625. ID3D11DeviceContext3 * This,
  2626. /* [annotation] */
  2627. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2628. /* [annotation] */
  2629. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2630. /* [annotation] */
  2631. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  2632. /* [annotation] */
  2633. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  2634. /* [annotation] */
  2635. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  2636. void ( STDMETHODCALLTYPE *GSSetConstantBuffers1 )(
  2637. ID3D11DeviceContext3 * This,
  2638. /* [annotation] */
  2639. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2640. /* [annotation] */
  2641. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2642. /* [annotation] */
  2643. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  2644. /* [annotation] */
  2645. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  2646. /* [annotation] */
  2647. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  2648. void ( STDMETHODCALLTYPE *PSSetConstantBuffers1 )(
  2649. ID3D11DeviceContext3 * This,
  2650. /* [annotation] */
  2651. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2652. /* [annotation] */
  2653. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2654. /* [annotation] */
  2655. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  2656. /* [annotation] */
  2657. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  2658. /* [annotation] */
  2659. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  2660. void ( STDMETHODCALLTYPE *CSSetConstantBuffers1 )(
  2661. ID3D11DeviceContext3 * This,
  2662. /* [annotation] */
  2663. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2664. /* [annotation] */
  2665. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2666. /* [annotation] */
  2667. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  2668. /* [annotation] */
  2669. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  2670. /* [annotation] */
  2671. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  2672. void ( STDMETHODCALLTYPE *VSGetConstantBuffers1 )(
  2673. ID3D11DeviceContext3 * This,
  2674. /* [annotation] */
  2675. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2676. /* [annotation] */
  2677. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2678. /* [annotation] */
  2679. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  2680. /* [annotation] */
  2681. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  2682. /* [annotation] */
  2683. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  2684. void ( STDMETHODCALLTYPE *HSGetConstantBuffers1 )(
  2685. ID3D11DeviceContext3 * This,
  2686. /* [annotation] */
  2687. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2688. /* [annotation] */
  2689. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2690. /* [annotation] */
  2691. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  2692. /* [annotation] */
  2693. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  2694. /* [annotation] */
  2695. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  2696. void ( STDMETHODCALLTYPE *DSGetConstantBuffers1 )(
  2697. ID3D11DeviceContext3 * This,
  2698. /* [annotation] */
  2699. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2700. /* [annotation] */
  2701. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2702. /* [annotation] */
  2703. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  2704. /* [annotation] */
  2705. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  2706. /* [annotation] */
  2707. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  2708. void ( STDMETHODCALLTYPE *GSGetConstantBuffers1 )(
  2709. ID3D11DeviceContext3 * This,
  2710. /* [annotation] */
  2711. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2712. /* [annotation] */
  2713. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2714. /* [annotation] */
  2715. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  2716. /* [annotation] */
  2717. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  2718. /* [annotation] */
  2719. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  2720. void ( STDMETHODCALLTYPE *PSGetConstantBuffers1 )(
  2721. ID3D11DeviceContext3 * This,
  2722. /* [annotation] */
  2723. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2724. /* [annotation] */
  2725. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2726. /* [annotation] */
  2727. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  2728. /* [annotation] */
  2729. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  2730. /* [annotation] */
  2731. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  2732. void ( STDMETHODCALLTYPE *CSGetConstantBuffers1 )(
  2733. ID3D11DeviceContext3 * This,
  2734. /* [annotation] */
  2735. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  2736. /* [annotation] */
  2737. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  2738. /* [annotation] */
  2739. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  2740. /* [annotation] */
  2741. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  2742. /* [annotation] */
  2743. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  2744. void ( STDMETHODCALLTYPE *SwapDeviceContextState )(
  2745. ID3D11DeviceContext3 * This,
  2746. /* [annotation] */
  2747. _In_ ID3DDeviceContextState *pState,
  2748. /* [annotation] */
  2749. _Outptr_opt_ ID3DDeviceContextState **ppPreviousState);
  2750. void ( STDMETHODCALLTYPE *ClearView )(
  2751. ID3D11DeviceContext3 * This,
  2752. /* [annotation] */
  2753. _In_ ID3D11View *pView,
  2754. /* [annotation] */
  2755. _In_ const FLOAT Color[ 4 ],
  2756. /* [annotation] */
  2757. _In_reads_opt_(NumRects) const D3D11_RECT *pRect,
  2758. UINT NumRects);
  2759. void ( STDMETHODCALLTYPE *DiscardView1 )(
  2760. ID3D11DeviceContext3 * This,
  2761. /* [annotation] */
  2762. _In_ ID3D11View *pResourceView,
  2763. /* [annotation] */
  2764. _In_reads_opt_(NumRects) const D3D11_RECT *pRects,
  2765. UINT NumRects);
  2766. HRESULT ( STDMETHODCALLTYPE *UpdateTileMappings )(
  2767. ID3D11DeviceContext3 * This,
  2768. /* [annotation] */
  2769. _In_ ID3D11Resource *pTiledResource,
  2770. /* [annotation] */
  2771. _In_ UINT NumTiledResourceRegions,
  2772. /* [annotation] */
  2773. _In_reads_opt_(NumTiledResourceRegions) const D3D11_TILED_RESOURCE_COORDINATE *pTiledResourceRegionStartCoordinates,
  2774. /* [annotation] */
  2775. _In_reads_opt_(NumTiledResourceRegions) const D3D11_TILE_REGION_SIZE *pTiledResourceRegionSizes,
  2776. /* [annotation] */
  2777. _In_opt_ ID3D11Buffer *pTilePool,
  2778. /* [annotation] */
  2779. _In_ UINT NumRanges,
  2780. /* [annotation] */
  2781. _In_reads_opt_(NumRanges) const UINT *pRangeFlags,
  2782. /* [annotation] */
  2783. _In_reads_opt_(NumRanges) const UINT *pTilePoolStartOffsets,
  2784. /* [annotation] */
  2785. _In_reads_opt_(NumRanges) const UINT *pRangeTileCounts,
  2786. /* [annotation] */
  2787. _In_ UINT Flags);
  2788. HRESULT ( STDMETHODCALLTYPE *CopyTileMappings )(
  2789. ID3D11DeviceContext3 * This,
  2790. /* [annotation] */
  2791. _In_ ID3D11Resource *pDestTiledResource,
  2792. /* [annotation] */
  2793. _In_ const D3D11_TILED_RESOURCE_COORDINATE *pDestRegionStartCoordinate,
  2794. /* [annotation] */
  2795. _In_ ID3D11Resource *pSourceTiledResource,
  2796. /* [annotation] */
  2797. _In_ const D3D11_TILED_RESOURCE_COORDINATE *pSourceRegionStartCoordinate,
  2798. /* [annotation] */
  2799. _In_ const D3D11_TILE_REGION_SIZE *pTileRegionSize,
  2800. /* [annotation] */
  2801. _In_ UINT Flags);
  2802. void ( STDMETHODCALLTYPE *CopyTiles )(
  2803. ID3D11DeviceContext3 * This,
  2804. /* [annotation] */
  2805. _In_ ID3D11Resource *pTiledResource,
  2806. /* [annotation] */
  2807. _In_ const D3D11_TILED_RESOURCE_COORDINATE *pTileRegionStartCoordinate,
  2808. /* [annotation] */
  2809. _In_ const D3D11_TILE_REGION_SIZE *pTileRegionSize,
  2810. /* [annotation] */
  2811. _In_ ID3D11Buffer *pBuffer,
  2812. /* [annotation] */
  2813. _In_ UINT64 BufferStartOffsetInBytes,
  2814. /* [annotation] */
  2815. _In_ UINT Flags);
  2816. void ( STDMETHODCALLTYPE *UpdateTiles )(
  2817. ID3D11DeviceContext3 * This,
  2818. /* [annotation] */
  2819. _In_ ID3D11Resource *pDestTiledResource,
  2820. /* [annotation] */
  2821. _In_ const D3D11_TILED_RESOURCE_COORDINATE *pDestTileRegionStartCoordinate,
  2822. /* [annotation] */
  2823. _In_ const D3D11_TILE_REGION_SIZE *pDestTileRegionSize,
  2824. /* [annotation] */
  2825. _In_ const void *pSourceTileData,
  2826. /* [annotation] */
  2827. _In_ UINT Flags);
  2828. HRESULT ( STDMETHODCALLTYPE *ResizeTilePool )(
  2829. ID3D11DeviceContext3 * This,
  2830. /* [annotation] */
  2831. _In_ ID3D11Buffer *pTilePool,
  2832. /* [annotation] */
  2833. _In_ UINT64 NewSizeInBytes);
  2834. void ( STDMETHODCALLTYPE *TiledResourceBarrier )(
  2835. ID3D11DeviceContext3 * This,
  2836. /* [annotation] */
  2837. _In_opt_ ID3D11DeviceChild *pTiledResourceOrViewAccessBeforeBarrier,
  2838. /* [annotation] */
  2839. _In_opt_ ID3D11DeviceChild *pTiledResourceOrViewAccessAfterBarrier);
  2840. BOOL ( STDMETHODCALLTYPE *IsAnnotationEnabled )(
  2841. ID3D11DeviceContext3 * This);
  2842. void ( STDMETHODCALLTYPE *SetMarkerInt )(
  2843. ID3D11DeviceContext3 * This,
  2844. /* [annotation] */
  2845. _In_ LPCWSTR pLabel,
  2846. INT Data);
  2847. void ( STDMETHODCALLTYPE *BeginEventInt )(
  2848. ID3D11DeviceContext3 * This,
  2849. /* [annotation] */
  2850. _In_ LPCWSTR pLabel,
  2851. INT Data);
  2852. void ( STDMETHODCALLTYPE *EndEvent )(
  2853. ID3D11DeviceContext3 * This);
  2854. void ( STDMETHODCALLTYPE *Flush1 )(
  2855. ID3D11DeviceContext3 * This,
  2856. D3D11_CONTEXT_TYPE ContextType,
  2857. /* [annotation] */
  2858. _In_opt_ HANDLE hEvent);
  2859. void ( STDMETHODCALLTYPE *SetHardwareProtectionState )(
  2860. ID3D11DeviceContext3 * This,
  2861. /* [annotation] */
  2862. _In_ BOOL HwProtectionEnable);
  2863. void ( STDMETHODCALLTYPE *GetHardwareProtectionState )(
  2864. ID3D11DeviceContext3 * This,
  2865. /* [annotation] */
  2866. _Out_ BOOL *pHwProtectionEnable);
  2867. END_INTERFACE
  2868. } ID3D11DeviceContext3Vtbl;
  2869. interface ID3D11DeviceContext3
  2870. {
  2871. CONST_VTBL struct ID3D11DeviceContext3Vtbl *lpVtbl;
  2872. };
  2873. #ifdef COBJMACROS
  2874. #define ID3D11DeviceContext3_QueryInterface(This,riid,ppvObject) \
  2875. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  2876. #define ID3D11DeviceContext3_AddRef(This) \
  2877. ( (This)->lpVtbl -> AddRef(This) )
  2878. #define ID3D11DeviceContext3_Release(This) \
  2879. ( (This)->lpVtbl -> Release(This) )
  2880. #define ID3D11DeviceContext3_GetDevice(This,ppDevice) \
  2881. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  2882. #define ID3D11DeviceContext3_GetPrivateData(This,guid,pDataSize,pData) \
  2883. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  2884. #define ID3D11DeviceContext3_SetPrivateData(This,guid,DataSize,pData) \
  2885. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  2886. #define ID3D11DeviceContext3_SetPrivateDataInterface(This,guid,pData) \
  2887. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  2888. #define ID3D11DeviceContext3_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  2889. ( (This)->lpVtbl -> VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  2890. #define ID3D11DeviceContext3_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  2891. ( (This)->lpVtbl -> PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  2892. #define ID3D11DeviceContext3_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) \
  2893. ( (This)->lpVtbl -> PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) )
  2894. #define ID3D11DeviceContext3_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  2895. ( (This)->lpVtbl -> PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  2896. #define ID3D11DeviceContext3_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) \
  2897. ( (This)->lpVtbl -> VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) )
  2898. #define ID3D11DeviceContext3_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) \
  2899. ( (This)->lpVtbl -> DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) )
  2900. #define ID3D11DeviceContext3_Draw(This,VertexCount,StartVertexLocation) \
  2901. ( (This)->lpVtbl -> Draw(This,VertexCount,StartVertexLocation) )
  2902. #define ID3D11DeviceContext3_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) \
  2903. ( (This)->lpVtbl -> Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) )
  2904. #define ID3D11DeviceContext3_Unmap(This,pResource,Subresource) \
  2905. ( (This)->lpVtbl -> Unmap(This,pResource,Subresource) )
  2906. #define ID3D11DeviceContext3_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  2907. ( (This)->lpVtbl -> PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  2908. #define ID3D11DeviceContext3_IASetInputLayout(This,pInputLayout) \
  2909. ( (This)->lpVtbl -> IASetInputLayout(This,pInputLayout) )
  2910. #define ID3D11DeviceContext3_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
  2911. ( (This)->lpVtbl -> IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
  2912. #define ID3D11DeviceContext3_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) \
  2913. ( (This)->lpVtbl -> IASetIndexBuffer(This,pIndexBuffer,Format,Offset) )
  2914. #define ID3D11DeviceContext3_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) \
  2915. ( (This)->lpVtbl -> DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) )
  2916. #define ID3D11DeviceContext3_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) \
  2917. ( (This)->lpVtbl -> DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) )
  2918. #define ID3D11DeviceContext3_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  2919. ( (This)->lpVtbl -> GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  2920. #define ID3D11DeviceContext3_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) \
  2921. ( (This)->lpVtbl -> GSSetShader(This,pShader,ppClassInstances,NumClassInstances) )
  2922. #define ID3D11DeviceContext3_IASetPrimitiveTopology(This,Topology) \
  2923. ( (This)->lpVtbl -> IASetPrimitiveTopology(This,Topology) )
  2924. #define ID3D11DeviceContext3_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  2925. ( (This)->lpVtbl -> VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  2926. #define ID3D11DeviceContext3_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  2927. ( (This)->lpVtbl -> VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  2928. #define ID3D11DeviceContext3_Begin(This,pAsync) \
  2929. ( (This)->lpVtbl -> Begin(This,pAsync) )
  2930. #define ID3D11DeviceContext3_End(This,pAsync) \
  2931. ( (This)->lpVtbl -> End(This,pAsync) )
  2932. #define ID3D11DeviceContext3_GetData(This,pAsync,pData,DataSize,GetDataFlags) \
  2933. ( (This)->lpVtbl -> GetData(This,pAsync,pData,DataSize,GetDataFlags) )
  2934. #define ID3D11DeviceContext3_SetPredication(This,pPredicate,PredicateValue) \
  2935. ( (This)->lpVtbl -> SetPredication(This,pPredicate,PredicateValue) )
  2936. #define ID3D11DeviceContext3_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  2937. ( (This)->lpVtbl -> GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  2938. #define ID3D11DeviceContext3_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  2939. ( (This)->lpVtbl -> GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  2940. #define ID3D11DeviceContext3_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) \
  2941. ( (This)->lpVtbl -> OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) )
  2942. #define ID3D11DeviceContext3_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
  2943. ( (This)->lpVtbl -> OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
  2944. #define ID3D11DeviceContext3_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) \
  2945. ( (This)->lpVtbl -> OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) )
  2946. #define ID3D11DeviceContext3_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) \
  2947. ( (This)->lpVtbl -> OMSetDepthStencilState(This,pDepthStencilState,StencilRef) )
  2948. #define ID3D11DeviceContext3_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
  2949. ( (This)->lpVtbl -> SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
  2950. #define ID3D11DeviceContext3_DrawAuto(This) \
  2951. ( (This)->lpVtbl -> DrawAuto(This) )
  2952. #define ID3D11DeviceContext3_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
  2953. ( (This)->lpVtbl -> DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
  2954. #define ID3D11DeviceContext3_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
  2955. ( (This)->lpVtbl -> DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
  2956. #define ID3D11DeviceContext3_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) \
  2957. ( (This)->lpVtbl -> Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) )
  2958. #define ID3D11DeviceContext3_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
  2959. ( (This)->lpVtbl -> DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
  2960. #define ID3D11DeviceContext3_RSSetState(This,pRasterizerState) \
  2961. ( (This)->lpVtbl -> RSSetState(This,pRasterizerState) )
  2962. #define ID3D11DeviceContext3_RSSetViewports(This,NumViewports,pViewports) \
  2963. ( (This)->lpVtbl -> RSSetViewports(This,NumViewports,pViewports) )
  2964. #define ID3D11DeviceContext3_RSSetScissorRects(This,NumRects,pRects) \
  2965. ( (This)->lpVtbl -> RSSetScissorRects(This,NumRects,pRects) )
  2966. #define ID3D11DeviceContext3_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) \
  2967. ( (This)->lpVtbl -> CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) )
  2968. #define ID3D11DeviceContext3_CopyResource(This,pDstResource,pSrcResource) \
  2969. ( (This)->lpVtbl -> CopyResource(This,pDstResource,pSrcResource) )
  2970. #define ID3D11DeviceContext3_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
  2971. ( (This)->lpVtbl -> UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
  2972. #define ID3D11DeviceContext3_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) \
  2973. ( (This)->lpVtbl -> CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) )
  2974. #define ID3D11DeviceContext3_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) \
  2975. ( (This)->lpVtbl -> ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) )
  2976. #define ID3D11DeviceContext3_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) \
  2977. ( (This)->lpVtbl -> ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) )
  2978. #define ID3D11DeviceContext3_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) \
  2979. ( (This)->lpVtbl -> ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) )
  2980. #define ID3D11DeviceContext3_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) \
  2981. ( (This)->lpVtbl -> ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) )
  2982. #define ID3D11DeviceContext3_GenerateMips(This,pShaderResourceView) \
  2983. ( (This)->lpVtbl -> GenerateMips(This,pShaderResourceView) )
  2984. #define ID3D11DeviceContext3_SetResourceMinLOD(This,pResource,MinLOD) \
  2985. ( (This)->lpVtbl -> SetResourceMinLOD(This,pResource,MinLOD) )
  2986. #define ID3D11DeviceContext3_GetResourceMinLOD(This,pResource) \
  2987. ( (This)->lpVtbl -> GetResourceMinLOD(This,pResource) )
  2988. #define ID3D11DeviceContext3_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) \
  2989. ( (This)->lpVtbl -> ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) )
  2990. #define ID3D11DeviceContext3_ExecuteCommandList(This,pCommandList,RestoreContextState) \
  2991. ( (This)->lpVtbl -> ExecuteCommandList(This,pCommandList,RestoreContextState) )
  2992. #define ID3D11DeviceContext3_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  2993. ( (This)->lpVtbl -> HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  2994. #define ID3D11DeviceContext3_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) \
  2995. ( (This)->lpVtbl -> HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) )
  2996. #define ID3D11DeviceContext3_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  2997. ( (This)->lpVtbl -> HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  2998. #define ID3D11DeviceContext3_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  2999. ( (This)->lpVtbl -> HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3000. #define ID3D11DeviceContext3_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  3001. ( (This)->lpVtbl -> DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  3002. #define ID3D11DeviceContext3_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) \
  3003. ( (This)->lpVtbl -> DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) )
  3004. #define ID3D11DeviceContext3_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  3005. ( (This)->lpVtbl -> DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  3006. #define ID3D11DeviceContext3_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  3007. ( (This)->lpVtbl -> DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3008. #define ID3D11DeviceContext3_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  3009. ( (This)->lpVtbl -> CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  3010. #define ID3D11DeviceContext3_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
  3011. ( (This)->lpVtbl -> CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
  3012. #define ID3D11DeviceContext3_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) \
  3013. ( (This)->lpVtbl -> CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) )
  3014. #define ID3D11DeviceContext3_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  3015. ( (This)->lpVtbl -> CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  3016. #define ID3D11DeviceContext3_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  3017. ( (This)->lpVtbl -> CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3018. #define ID3D11DeviceContext3_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  3019. ( (This)->lpVtbl -> VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3020. #define ID3D11DeviceContext3_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  3021. ( (This)->lpVtbl -> PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  3022. #define ID3D11DeviceContext3_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) \
  3023. ( (This)->lpVtbl -> PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) )
  3024. #define ID3D11DeviceContext3_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  3025. ( (This)->lpVtbl -> PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  3026. #define ID3D11DeviceContext3_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) \
  3027. ( (This)->lpVtbl -> VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) )
  3028. #define ID3D11DeviceContext3_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  3029. ( (This)->lpVtbl -> PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3030. #define ID3D11DeviceContext3_IAGetInputLayout(This,ppInputLayout) \
  3031. ( (This)->lpVtbl -> IAGetInputLayout(This,ppInputLayout) )
  3032. #define ID3D11DeviceContext3_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
  3033. ( (This)->lpVtbl -> IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
  3034. #define ID3D11DeviceContext3_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) \
  3035. ( (This)->lpVtbl -> IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) )
  3036. #define ID3D11DeviceContext3_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  3037. ( (This)->lpVtbl -> GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3038. #define ID3D11DeviceContext3_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) \
  3039. ( (This)->lpVtbl -> GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) )
  3040. #define ID3D11DeviceContext3_IAGetPrimitiveTopology(This,pTopology) \
  3041. ( (This)->lpVtbl -> IAGetPrimitiveTopology(This,pTopology) )
  3042. #define ID3D11DeviceContext3_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  3043. ( (This)->lpVtbl -> VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  3044. #define ID3D11DeviceContext3_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  3045. ( (This)->lpVtbl -> VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  3046. #define ID3D11DeviceContext3_GetPredication(This,ppPredicate,pPredicateValue) \
  3047. ( (This)->lpVtbl -> GetPredication(This,ppPredicate,pPredicateValue) )
  3048. #define ID3D11DeviceContext3_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  3049. ( (This)->lpVtbl -> GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  3050. #define ID3D11DeviceContext3_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  3051. ( (This)->lpVtbl -> GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  3052. #define ID3D11DeviceContext3_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) \
  3053. ( (This)->lpVtbl -> OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) )
  3054. #define ID3D11DeviceContext3_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) \
  3055. ( (This)->lpVtbl -> OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) )
  3056. #define ID3D11DeviceContext3_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) \
  3057. ( (This)->lpVtbl -> OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) )
  3058. #define ID3D11DeviceContext3_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) \
  3059. ( (This)->lpVtbl -> OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) )
  3060. #define ID3D11DeviceContext3_SOGetTargets(This,NumBuffers,ppSOTargets) \
  3061. ( (This)->lpVtbl -> SOGetTargets(This,NumBuffers,ppSOTargets) )
  3062. #define ID3D11DeviceContext3_RSGetState(This,ppRasterizerState) \
  3063. ( (This)->lpVtbl -> RSGetState(This,ppRasterizerState) )
  3064. #define ID3D11DeviceContext3_RSGetViewports(This,pNumViewports,pViewports) \
  3065. ( (This)->lpVtbl -> RSGetViewports(This,pNumViewports,pViewports) )
  3066. #define ID3D11DeviceContext3_RSGetScissorRects(This,pNumRects,pRects) \
  3067. ( (This)->lpVtbl -> RSGetScissorRects(This,pNumRects,pRects) )
  3068. #define ID3D11DeviceContext3_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  3069. ( (This)->lpVtbl -> HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  3070. #define ID3D11DeviceContext3_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) \
  3071. ( (This)->lpVtbl -> HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) )
  3072. #define ID3D11DeviceContext3_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  3073. ( (This)->lpVtbl -> HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  3074. #define ID3D11DeviceContext3_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  3075. ( (This)->lpVtbl -> HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3076. #define ID3D11DeviceContext3_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  3077. ( (This)->lpVtbl -> DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  3078. #define ID3D11DeviceContext3_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) \
  3079. ( (This)->lpVtbl -> DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) )
  3080. #define ID3D11DeviceContext3_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  3081. ( (This)->lpVtbl -> DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  3082. #define ID3D11DeviceContext3_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  3083. ( (This)->lpVtbl -> DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3084. #define ID3D11DeviceContext3_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  3085. ( (This)->lpVtbl -> CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  3086. #define ID3D11DeviceContext3_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) \
  3087. ( (This)->lpVtbl -> CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) )
  3088. #define ID3D11DeviceContext3_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) \
  3089. ( (This)->lpVtbl -> CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) )
  3090. #define ID3D11DeviceContext3_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  3091. ( (This)->lpVtbl -> CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  3092. #define ID3D11DeviceContext3_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  3093. ( (This)->lpVtbl -> CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  3094. #define ID3D11DeviceContext3_ClearState(This) \
  3095. ( (This)->lpVtbl -> ClearState(This) )
  3096. #define ID3D11DeviceContext3_Flush(This) \
  3097. ( (This)->lpVtbl -> Flush(This) )
  3098. #define ID3D11DeviceContext3_GetType(This) \
  3099. ( (This)->lpVtbl -> GetType(This) )
  3100. #define ID3D11DeviceContext3_GetContextFlags(This) \
  3101. ( (This)->lpVtbl -> GetContextFlags(This) )
  3102. #define ID3D11DeviceContext3_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) \
  3103. ( (This)->lpVtbl -> FinishCommandList(This,RestoreDeferredContextState,ppCommandList) )
  3104. #define ID3D11DeviceContext3_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) \
  3105. ( (This)->lpVtbl -> CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) )
  3106. #define ID3D11DeviceContext3_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) \
  3107. ( (This)->lpVtbl -> UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) )
  3108. #define ID3D11DeviceContext3_DiscardResource(This,pResource) \
  3109. ( (This)->lpVtbl -> DiscardResource(This,pResource) )
  3110. #define ID3D11DeviceContext3_DiscardView(This,pResourceView) \
  3111. ( (This)->lpVtbl -> DiscardView(This,pResourceView) )
  3112. #define ID3D11DeviceContext3_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3113. ( (This)->lpVtbl -> VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3114. #define ID3D11DeviceContext3_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3115. ( (This)->lpVtbl -> HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3116. #define ID3D11DeviceContext3_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3117. ( (This)->lpVtbl -> DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3118. #define ID3D11DeviceContext3_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3119. ( (This)->lpVtbl -> GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3120. #define ID3D11DeviceContext3_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3121. ( (This)->lpVtbl -> PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3122. #define ID3D11DeviceContext3_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3123. ( (This)->lpVtbl -> CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3124. #define ID3D11DeviceContext3_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3125. ( (This)->lpVtbl -> VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3126. #define ID3D11DeviceContext3_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3127. ( (This)->lpVtbl -> HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3128. #define ID3D11DeviceContext3_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3129. ( (This)->lpVtbl -> DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3130. #define ID3D11DeviceContext3_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3131. ( (This)->lpVtbl -> GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3132. #define ID3D11DeviceContext3_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3133. ( (This)->lpVtbl -> PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3134. #define ID3D11DeviceContext3_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  3135. ( (This)->lpVtbl -> CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  3136. #define ID3D11DeviceContext3_SwapDeviceContextState(This,pState,ppPreviousState) \
  3137. ( (This)->lpVtbl -> SwapDeviceContextState(This,pState,ppPreviousState) )
  3138. #define ID3D11DeviceContext3_ClearView(This,pView,Color,pRect,NumRects) \
  3139. ( (This)->lpVtbl -> ClearView(This,pView,Color,pRect,NumRects) )
  3140. #define ID3D11DeviceContext3_DiscardView1(This,pResourceView,pRects,NumRects) \
  3141. ( (This)->lpVtbl -> DiscardView1(This,pResourceView,pRects,NumRects) )
  3142. #define ID3D11DeviceContext3_UpdateTileMappings(This,pTiledResource,NumTiledResourceRegions,pTiledResourceRegionStartCoordinates,pTiledResourceRegionSizes,pTilePool,NumRanges,pRangeFlags,pTilePoolStartOffsets,pRangeTileCounts,Flags) \
  3143. ( (This)->lpVtbl -> UpdateTileMappings(This,pTiledResource,NumTiledResourceRegions,pTiledResourceRegionStartCoordinates,pTiledResourceRegionSizes,pTilePool,NumRanges,pRangeFlags,pTilePoolStartOffsets,pRangeTileCounts,Flags) )
  3144. #define ID3D11DeviceContext3_CopyTileMappings(This,pDestTiledResource,pDestRegionStartCoordinate,pSourceTiledResource,pSourceRegionStartCoordinate,pTileRegionSize,Flags) \
  3145. ( (This)->lpVtbl -> CopyTileMappings(This,pDestTiledResource,pDestRegionStartCoordinate,pSourceTiledResource,pSourceRegionStartCoordinate,pTileRegionSize,Flags) )
  3146. #define ID3D11DeviceContext3_CopyTiles(This,pTiledResource,pTileRegionStartCoordinate,pTileRegionSize,pBuffer,BufferStartOffsetInBytes,Flags) \
  3147. ( (This)->lpVtbl -> CopyTiles(This,pTiledResource,pTileRegionStartCoordinate,pTileRegionSize,pBuffer,BufferStartOffsetInBytes,Flags) )
  3148. #define ID3D11DeviceContext3_UpdateTiles(This,pDestTiledResource,pDestTileRegionStartCoordinate,pDestTileRegionSize,pSourceTileData,Flags) \
  3149. ( (This)->lpVtbl -> UpdateTiles(This,pDestTiledResource,pDestTileRegionStartCoordinate,pDestTileRegionSize,pSourceTileData,Flags) )
  3150. #define ID3D11DeviceContext3_ResizeTilePool(This,pTilePool,NewSizeInBytes) \
  3151. ( (This)->lpVtbl -> ResizeTilePool(This,pTilePool,NewSizeInBytes) )
  3152. #define ID3D11DeviceContext3_TiledResourceBarrier(This,pTiledResourceOrViewAccessBeforeBarrier,pTiledResourceOrViewAccessAfterBarrier) \
  3153. ( (This)->lpVtbl -> TiledResourceBarrier(This,pTiledResourceOrViewAccessBeforeBarrier,pTiledResourceOrViewAccessAfterBarrier) )
  3154. #define ID3D11DeviceContext3_IsAnnotationEnabled(This) \
  3155. ( (This)->lpVtbl -> IsAnnotationEnabled(This) )
  3156. #define ID3D11DeviceContext3_SetMarkerInt(This,pLabel,Data) \
  3157. ( (This)->lpVtbl -> SetMarkerInt(This,pLabel,Data) )
  3158. #define ID3D11DeviceContext3_BeginEventInt(This,pLabel,Data) \
  3159. ( (This)->lpVtbl -> BeginEventInt(This,pLabel,Data) )
  3160. #define ID3D11DeviceContext3_EndEvent(This) \
  3161. ( (This)->lpVtbl -> EndEvent(This) )
  3162. #define ID3D11DeviceContext3_Flush1(This,ContextType,hEvent) \
  3163. ( (This)->lpVtbl -> Flush1(This,ContextType,hEvent) )
  3164. #define ID3D11DeviceContext3_SetHardwareProtectionState(This,HwProtectionEnable) \
  3165. ( (This)->lpVtbl -> SetHardwareProtectionState(This,HwProtectionEnable) )
  3166. #define ID3D11DeviceContext3_GetHardwareProtectionState(This,pHwProtectionEnable) \
  3167. ( (This)->lpVtbl -> GetHardwareProtectionState(This,pHwProtectionEnable) )
  3168. #endif /* COBJMACROS */
  3169. #endif /* C style interface */
  3170. #endif /* __ID3D11DeviceContext3_INTERFACE_DEFINED__ */
  3171. #ifndef __ID3D11Fence_INTERFACE_DEFINED__
  3172. #define __ID3D11Fence_INTERFACE_DEFINED__
  3173. /* interface ID3D11Fence */
  3174. /* [unique][local][object][uuid] */
  3175. EXTERN_C const IID IID_ID3D11Fence;
  3176. #if defined(__cplusplus) && !defined(CINTERFACE)
  3177. MIDL_INTERFACE("affde9d1-1df7-4bb7-8a34-0f46251dab80")
  3178. ID3D11Fence : public ID3D11DeviceChild
  3179. {
  3180. public:
  3181. virtual HRESULT STDMETHODCALLTYPE CreateSharedHandle(
  3182. /* [annotation] */
  3183. _In_opt_ const SECURITY_ATTRIBUTES *pAttributes,
  3184. /* [annotation] */
  3185. _In_ DWORD dwAccess,
  3186. /* [annotation] */
  3187. _In_opt_ LPCWSTR lpName,
  3188. /* [annotation] */
  3189. _Out_ HANDLE *pHandle) = 0;
  3190. virtual UINT64 STDMETHODCALLTYPE GetCompletedValue( void) = 0;
  3191. virtual HRESULT STDMETHODCALLTYPE SetEventOnCompletion(
  3192. /* [annotation] */
  3193. _In_ UINT64 Value,
  3194. /* [annotation] */
  3195. _In_ HANDLE hEvent) = 0;
  3196. };
  3197. #else /* C style interface */
  3198. typedef struct ID3D11FenceVtbl
  3199. {
  3200. BEGIN_INTERFACE
  3201. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3202. ID3D11Fence * This,
  3203. /* [in] */ REFIID riid,
  3204. /* [annotation][iid_is][out] */
  3205. _COM_Outptr_ void **ppvObject);
  3206. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3207. ID3D11Fence * This);
  3208. ULONG ( STDMETHODCALLTYPE *Release )(
  3209. ID3D11Fence * This);
  3210. void ( STDMETHODCALLTYPE *GetDevice )(
  3211. ID3D11Fence * This,
  3212. /* [annotation] */
  3213. _Outptr_ ID3D11Device **ppDevice);
  3214. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  3215. ID3D11Fence * This,
  3216. /* [annotation] */
  3217. _In_ REFGUID guid,
  3218. /* [annotation] */
  3219. _Inout_ UINT *pDataSize,
  3220. /* [annotation] */
  3221. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  3222. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  3223. ID3D11Fence * This,
  3224. /* [annotation] */
  3225. _In_ REFGUID guid,
  3226. /* [annotation] */
  3227. _In_ UINT DataSize,
  3228. /* [annotation] */
  3229. _In_reads_bytes_opt_( DataSize ) const void *pData);
  3230. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  3231. ID3D11Fence * This,
  3232. /* [annotation] */
  3233. _In_ REFGUID guid,
  3234. /* [annotation] */
  3235. _In_opt_ const IUnknown *pData);
  3236. HRESULT ( STDMETHODCALLTYPE *CreateSharedHandle )(
  3237. ID3D11Fence * This,
  3238. /* [annotation] */
  3239. _In_opt_ const SECURITY_ATTRIBUTES *pAttributes,
  3240. /* [annotation] */
  3241. _In_ DWORD dwAccess,
  3242. /* [annotation] */
  3243. _In_opt_ LPCWSTR lpName,
  3244. /* [annotation] */
  3245. _Out_ HANDLE *pHandle);
  3246. UINT64 ( STDMETHODCALLTYPE *GetCompletedValue )(
  3247. ID3D11Fence * This);
  3248. HRESULT ( STDMETHODCALLTYPE *SetEventOnCompletion )(
  3249. ID3D11Fence * This,
  3250. /* [annotation] */
  3251. _In_ UINT64 Value,
  3252. /* [annotation] */
  3253. _In_ HANDLE hEvent);
  3254. END_INTERFACE
  3255. } ID3D11FenceVtbl;
  3256. interface ID3D11Fence
  3257. {
  3258. CONST_VTBL struct ID3D11FenceVtbl *lpVtbl;
  3259. };
  3260. #ifdef COBJMACROS
  3261. #define ID3D11Fence_QueryInterface(This,riid,ppvObject) \
  3262. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  3263. #define ID3D11Fence_AddRef(This) \
  3264. ( (This)->lpVtbl -> AddRef(This) )
  3265. #define ID3D11Fence_Release(This) \
  3266. ( (This)->lpVtbl -> Release(This) )
  3267. #define ID3D11Fence_GetDevice(This,ppDevice) \
  3268. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  3269. #define ID3D11Fence_GetPrivateData(This,guid,pDataSize,pData) \
  3270. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  3271. #define ID3D11Fence_SetPrivateData(This,guid,DataSize,pData) \
  3272. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  3273. #define ID3D11Fence_SetPrivateDataInterface(This,guid,pData) \
  3274. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  3275. #define ID3D11Fence_CreateSharedHandle(This,pAttributes,dwAccess,lpName,pHandle) \
  3276. ( (This)->lpVtbl -> CreateSharedHandle(This,pAttributes,dwAccess,lpName,pHandle) )
  3277. #define ID3D11Fence_GetCompletedValue(This) \
  3278. ( (This)->lpVtbl -> GetCompletedValue(This) )
  3279. #define ID3D11Fence_SetEventOnCompletion(This,Value,hEvent) \
  3280. ( (This)->lpVtbl -> SetEventOnCompletion(This,Value,hEvent) )
  3281. #endif /* COBJMACROS */
  3282. #endif /* C style interface */
  3283. #endif /* __ID3D11Fence_INTERFACE_DEFINED__ */
  3284. #ifndef __ID3D11DeviceContext4_INTERFACE_DEFINED__
  3285. #define __ID3D11DeviceContext4_INTERFACE_DEFINED__
  3286. /* interface ID3D11DeviceContext4 */
  3287. /* [unique][local][object][uuid] */
  3288. EXTERN_C const IID IID_ID3D11DeviceContext4;
  3289. #if defined(__cplusplus) && !defined(CINTERFACE)
  3290. MIDL_INTERFACE("917600da-f58c-4c33-98d8-3e15b390fa24")
  3291. ID3D11DeviceContext4 : public ID3D11DeviceContext3
  3292. {
  3293. public:
  3294. virtual HRESULT STDMETHODCALLTYPE Signal(
  3295. /* [annotation] */
  3296. _In_ ID3D11Fence *pFence,
  3297. /* [annotation] */
  3298. _In_ UINT64 Value) = 0;
  3299. virtual HRESULT STDMETHODCALLTYPE Wait(
  3300. /* [annotation] */
  3301. _In_ ID3D11Fence *pFence,
  3302. /* [annotation] */
  3303. _In_ UINT64 Value) = 0;
  3304. };
  3305. #else /* C style interface */
  3306. typedef struct ID3D11DeviceContext4Vtbl
  3307. {
  3308. BEGIN_INTERFACE
  3309. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3310. ID3D11DeviceContext4 * This,
  3311. /* [in] */ REFIID riid,
  3312. /* [annotation][iid_is][out] */
  3313. _COM_Outptr_ void **ppvObject);
  3314. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3315. ID3D11DeviceContext4 * This);
  3316. ULONG ( STDMETHODCALLTYPE *Release )(
  3317. ID3D11DeviceContext4 * This);
  3318. void ( STDMETHODCALLTYPE *GetDevice )(
  3319. ID3D11DeviceContext4 * This,
  3320. /* [annotation] */
  3321. _Outptr_ ID3D11Device **ppDevice);
  3322. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  3323. ID3D11DeviceContext4 * This,
  3324. /* [annotation] */
  3325. _In_ REFGUID guid,
  3326. /* [annotation] */
  3327. _Inout_ UINT *pDataSize,
  3328. /* [annotation] */
  3329. _Out_writes_bytes_opt_( *pDataSize ) void *pData);
  3330. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  3331. ID3D11DeviceContext4 * This,
  3332. /* [annotation] */
  3333. _In_ REFGUID guid,
  3334. /* [annotation] */
  3335. _In_ UINT DataSize,
  3336. /* [annotation] */
  3337. _In_reads_bytes_opt_( DataSize ) const void *pData);
  3338. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  3339. ID3D11DeviceContext4 * This,
  3340. /* [annotation] */
  3341. _In_ REFGUID guid,
  3342. /* [annotation] */
  3343. _In_opt_ const IUnknown *pData);
  3344. void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
  3345. ID3D11DeviceContext4 * This,
  3346. /* [annotation] */
  3347. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3348. /* [annotation] */
  3349. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3350. /* [annotation] */
  3351. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  3352. void ( STDMETHODCALLTYPE *PSSetShaderResources )(
  3353. ID3D11DeviceContext4 * This,
  3354. /* [annotation] */
  3355. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3356. /* [annotation] */
  3357. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3358. /* [annotation] */
  3359. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  3360. void ( STDMETHODCALLTYPE *PSSetShader )(
  3361. ID3D11DeviceContext4 * This,
  3362. /* [annotation] */
  3363. _In_opt_ ID3D11PixelShader *pPixelShader,
  3364. /* [annotation] */
  3365. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  3366. UINT NumClassInstances);
  3367. void ( STDMETHODCALLTYPE *PSSetSamplers )(
  3368. ID3D11DeviceContext4 * This,
  3369. /* [annotation] */
  3370. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3371. /* [annotation] */
  3372. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3373. /* [annotation] */
  3374. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  3375. void ( STDMETHODCALLTYPE *VSSetShader )(
  3376. ID3D11DeviceContext4 * This,
  3377. /* [annotation] */
  3378. _In_opt_ ID3D11VertexShader *pVertexShader,
  3379. /* [annotation] */
  3380. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  3381. UINT NumClassInstances);
  3382. void ( STDMETHODCALLTYPE *DrawIndexed )(
  3383. ID3D11DeviceContext4 * This,
  3384. /* [annotation] */
  3385. _In_ UINT IndexCount,
  3386. /* [annotation] */
  3387. _In_ UINT StartIndexLocation,
  3388. /* [annotation] */
  3389. _In_ INT BaseVertexLocation);
  3390. void ( STDMETHODCALLTYPE *Draw )(
  3391. ID3D11DeviceContext4 * This,
  3392. /* [annotation] */
  3393. _In_ UINT VertexCount,
  3394. /* [annotation] */
  3395. _In_ UINT StartVertexLocation);
  3396. HRESULT ( STDMETHODCALLTYPE *Map )(
  3397. ID3D11DeviceContext4 * This,
  3398. /* [annotation] */
  3399. _In_ ID3D11Resource *pResource,
  3400. /* [annotation] */
  3401. _In_ UINT Subresource,
  3402. /* [annotation] */
  3403. _In_ D3D11_MAP MapType,
  3404. /* [annotation] */
  3405. _In_ UINT MapFlags,
  3406. /* [annotation] */
  3407. _Out_opt_ D3D11_MAPPED_SUBRESOURCE *pMappedResource);
  3408. void ( STDMETHODCALLTYPE *Unmap )(
  3409. ID3D11DeviceContext4 * This,
  3410. /* [annotation] */
  3411. _In_ ID3D11Resource *pResource,
  3412. /* [annotation] */
  3413. _In_ UINT Subresource);
  3414. void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
  3415. ID3D11DeviceContext4 * This,
  3416. /* [annotation] */
  3417. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3418. /* [annotation] */
  3419. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3420. /* [annotation] */
  3421. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  3422. void ( STDMETHODCALLTYPE *IASetInputLayout )(
  3423. ID3D11DeviceContext4 * This,
  3424. /* [annotation] */
  3425. _In_opt_ ID3D11InputLayout *pInputLayout);
  3426. void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
  3427. ID3D11DeviceContext4 * This,
  3428. /* [annotation] */
  3429. _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3430. /* [annotation] */
  3431. _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3432. /* [annotation] */
  3433. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppVertexBuffers,
  3434. /* [annotation] */
  3435. _In_reads_opt_(NumBuffers) const UINT *pStrides,
  3436. /* [annotation] */
  3437. _In_reads_opt_(NumBuffers) const UINT *pOffsets);
  3438. void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
  3439. ID3D11DeviceContext4 * This,
  3440. /* [annotation] */
  3441. _In_opt_ ID3D11Buffer *pIndexBuffer,
  3442. /* [annotation] */
  3443. _In_ DXGI_FORMAT Format,
  3444. /* [annotation] */
  3445. _In_ UINT Offset);
  3446. void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
  3447. ID3D11DeviceContext4 * This,
  3448. /* [annotation] */
  3449. _In_ UINT IndexCountPerInstance,
  3450. /* [annotation] */
  3451. _In_ UINT InstanceCount,
  3452. /* [annotation] */
  3453. _In_ UINT StartIndexLocation,
  3454. /* [annotation] */
  3455. _In_ INT BaseVertexLocation,
  3456. /* [annotation] */
  3457. _In_ UINT StartInstanceLocation);
  3458. void ( STDMETHODCALLTYPE *DrawInstanced )(
  3459. ID3D11DeviceContext4 * This,
  3460. /* [annotation] */
  3461. _In_ UINT VertexCountPerInstance,
  3462. /* [annotation] */
  3463. _In_ UINT InstanceCount,
  3464. /* [annotation] */
  3465. _In_ UINT StartVertexLocation,
  3466. /* [annotation] */
  3467. _In_ UINT StartInstanceLocation);
  3468. void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
  3469. ID3D11DeviceContext4 * This,
  3470. /* [annotation] */
  3471. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3472. /* [annotation] */
  3473. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3474. /* [annotation] */
  3475. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  3476. void ( STDMETHODCALLTYPE *GSSetShader )(
  3477. ID3D11DeviceContext4 * This,
  3478. /* [annotation] */
  3479. _In_opt_ ID3D11GeometryShader *pShader,
  3480. /* [annotation] */
  3481. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  3482. UINT NumClassInstances);
  3483. void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
  3484. ID3D11DeviceContext4 * This,
  3485. /* [annotation] */
  3486. _In_ D3D11_PRIMITIVE_TOPOLOGY Topology);
  3487. void ( STDMETHODCALLTYPE *VSSetShaderResources )(
  3488. ID3D11DeviceContext4 * This,
  3489. /* [annotation] */
  3490. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3491. /* [annotation] */
  3492. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3493. /* [annotation] */
  3494. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  3495. void ( STDMETHODCALLTYPE *VSSetSamplers )(
  3496. ID3D11DeviceContext4 * This,
  3497. /* [annotation] */
  3498. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3499. /* [annotation] */
  3500. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3501. /* [annotation] */
  3502. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  3503. void ( STDMETHODCALLTYPE *Begin )(
  3504. ID3D11DeviceContext4 * This,
  3505. /* [annotation] */
  3506. _In_ ID3D11Asynchronous *pAsync);
  3507. void ( STDMETHODCALLTYPE *End )(
  3508. ID3D11DeviceContext4 * This,
  3509. /* [annotation] */
  3510. _In_ ID3D11Asynchronous *pAsync);
  3511. HRESULT ( STDMETHODCALLTYPE *GetData )(
  3512. ID3D11DeviceContext4 * This,
  3513. /* [annotation] */
  3514. _In_ ID3D11Asynchronous *pAsync,
  3515. /* [annotation] */
  3516. _Out_writes_bytes_opt_( DataSize ) void *pData,
  3517. /* [annotation] */
  3518. _In_ UINT DataSize,
  3519. /* [annotation] */
  3520. _In_ UINT GetDataFlags);
  3521. void ( STDMETHODCALLTYPE *SetPredication )(
  3522. ID3D11DeviceContext4 * This,
  3523. /* [annotation] */
  3524. _In_opt_ ID3D11Predicate *pPredicate,
  3525. /* [annotation] */
  3526. _In_ BOOL PredicateValue);
  3527. void ( STDMETHODCALLTYPE *GSSetShaderResources )(
  3528. ID3D11DeviceContext4 * This,
  3529. /* [annotation] */
  3530. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3531. /* [annotation] */
  3532. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3533. /* [annotation] */
  3534. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  3535. void ( STDMETHODCALLTYPE *GSSetSamplers )(
  3536. ID3D11DeviceContext4 * This,
  3537. /* [annotation] */
  3538. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3539. /* [annotation] */
  3540. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3541. /* [annotation] */
  3542. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  3543. void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
  3544. ID3D11DeviceContext4 * This,
  3545. /* [annotation] */
  3546. _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
  3547. /* [annotation] */
  3548. _In_reads_opt_(NumViews) ID3D11RenderTargetView *const *ppRenderTargetViews,
  3549. /* [annotation] */
  3550. _In_opt_ ID3D11DepthStencilView *pDepthStencilView);
  3551. void ( STDMETHODCALLTYPE *OMSetRenderTargetsAndUnorderedAccessViews )(
  3552. ID3D11DeviceContext4 * This,
  3553. /* [annotation] */
  3554. _In_ UINT NumRTVs,
  3555. /* [annotation] */
  3556. _In_reads_opt_(NumRTVs) ID3D11RenderTargetView *const *ppRenderTargetViews,
  3557. /* [annotation] */
  3558. _In_opt_ ID3D11DepthStencilView *pDepthStencilView,
  3559. /* [annotation] */
  3560. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT UAVStartSlot,
  3561. /* [annotation] */
  3562. _In_ UINT NumUAVs,
  3563. /* [annotation] */
  3564. _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
  3565. /* [annotation] */
  3566. _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
  3567. void ( STDMETHODCALLTYPE *OMSetBlendState )(
  3568. ID3D11DeviceContext4 * This,
  3569. /* [annotation] */
  3570. _In_opt_ ID3D11BlendState *pBlendState,
  3571. /* [annotation] */
  3572. _In_opt_ const FLOAT BlendFactor[ 4 ],
  3573. /* [annotation] */
  3574. _In_ UINT SampleMask);
  3575. void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
  3576. ID3D11DeviceContext4 * This,
  3577. /* [annotation] */
  3578. _In_opt_ ID3D11DepthStencilState *pDepthStencilState,
  3579. /* [annotation] */
  3580. _In_ UINT StencilRef);
  3581. void ( STDMETHODCALLTYPE *SOSetTargets )(
  3582. ID3D11DeviceContext4 * This,
  3583. /* [annotation] */
  3584. _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
  3585. /* [annotation] */
  3586. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppSOTargets,
  3587. /* [annotation] */
  3588. _In_reads_opt_(NumBuffers) const UINT *pOffsets);
  3589. void ( STDMETHODCALLTYPE *DrawAuto )(
  3590. ID3D11DeviceContext4 * This);
  3591. void ( STDMETHODCALLTYPE *DrawIndexedInstancedIndirect )(
  3592. ID3D11DeviceContext4 * This,
  3593. /* [annotation] */
  3594. _In_ ID3D11Buffer *pBufferForArgs,
  3595. /* [annotation] */
  3596. _In_ UINT AlignedByteOffsetForArgs);
  3597. void ( STDMETHODCALLTYPE *DrawInstancedIndirect )(
  3598. ID3D11DeviceContext4 * This,
  3599. /* [annotation] */
  3600. _In_ ID3D11Buffer *pBufferForArgs,
  3601. /* [annotation] */
  3602. _In_ UINT AlignedByteOffsetForArgs);
  3603. void ( STDMETHODCALLTYPE *Dispatch )(
  3604. ID3D11DeviceContext4 * This,
  3605. /* [annotation] */
  3606. _In_ UINT ThreadGroupCountX,
  3607. /* [annotation] */
  3608. _In_ UINT ThreadGroupCountY,
  3609. /* [annotation] */
  3610. _In_ UINT ThreadGroupCountZ);
  3611. void ( STDMETHODCALLTYPE *DispatchIndirect )(
  3612. ID3D11DeviceContext4 * This,
  3613. /* [annotation] */
  3614. _In_ ID3D11Buffer *pBufferForArgs,
  3615. /* [annotation] */
  3616. _In_ UINT AlignedByteOffsetForArgs);
  3617. void ( STDMETHODCALLTYPE *RSSetState )(
  3618. ID3D11DeviceContext4 * This,
  3619. /* [annotation] */
  3620. _In_opt_ ID3D11RasterizerState *pRasterizerState);
  3621. void ( STDMETHODCALLTYPE *RSSetViewports )(
  3622. ID3D11DeviceContext4 * This,
  3623. /* [annotation] */
  3624. _In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
  3625. /* [annotation] */
  3626. _In_reads_opt_(NumViewports) const D3D11_VIEWPORT *pViewports);
  3627. void ( STDMETHODCALLTYPE *RSSetScissorRects )(
  3628. ID3D11DeviceContext4 * This,
  3629. /* [annotation] */
  3630. _In_range_(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
  3631. /* [annotation] */
  3632. _In_reads_opt_(NumRects) const D3D11_RECT *pRects);
  3633. void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
  3634. ID3D11DeviceContext4 * This,
  3635. /* [annotation] */
  3636. _In_ ID3D11Resource *pDstResource,
  3637. /* [annotation] */
  3638. _In_ UINT DstSubresource,
  3639. /* [annotation] */
  3640. _In_ UINT DstX,
  3641. /* [annotation] */
  3642. _In_ UINT DstY,
  3643. /* [annotation] */
  3644. _In_ UINT DstZ,
  3645. /* [annotation] */
  3646. _In_ ID3D11Resource *pSrcResource,
  3647. /* [annotation] */
  3648. _In_ UINT SrcSubresource,
  3649. /* [annotation] */
  3650. _In_opt_ const D3D11_BOX *pSrcBox);
  3651. void ( STDMETHODCALLTYPE *CopyResource )(
  3652. ID3D11DeviceContext4 * This,
  3653. /* [annotation] */
  3654. _In_ ID3D11Resource *pDstResource,
  3655. /* [annotation] */
  3656. _In_ ID3D11Resource *pSrcResource);
  3657. void ( STDMETHODCALLTYPE *UpdateSubresource )(
  3658. ID3D11DeviceContext4 * This,
  3659. /* [annotation] */
  3660. _In_ ID3D11Resource *pDstResource,
  3661. /* [annotation] */
  3662. _In_ UINT DstSubresource,
  3663. /* [annotation] */
  3664. _In_opt_ const D3D11_BOX *pDstBox,
  3665. /* [annotation] */
  3666. _In_ const void *pSrcData,
  3667. /* [annotation] */
  3668. _In_ UINT SrcRowPitch,
  3669. /* [annotation] */
  3670. _In_ UINT SrcDepthPitch);
  3671. void ( STDMETHODCALLTYPE *CopyStructureCount )(
  3672. ID3D11DeviceContext4 * This,
  3673. /* [annotation] */
  3674. _In_ ID3D11Buffer *pDstBuffer,
  3675. /* [annotation] */
  3676. _In_ UINT DstAlignedByteOffset,
  3677. /* [annotation] */
  3678. _In_ ID3D11UnorderedAccessView *pSrcView);
  3679. void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
  3680. ID3D11DeviceContext4 * This,
  3681. /* [annotation] */
  3682. _In_ ID3D11RenderTargetView *pRenderTargetView,
  3683. /* [annotation] */
  3684. _In_ const FLOAT ColorRGBA[ 4 ]);
  3685. void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewUint )(
  3686. ID3D11DeviceContext4 * This,
  3687. /* [annotation] */
  3688. _In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
  3689. /* [annotation] */
  3690. _In_ const UINT Values[ 4 ]);
  3691. void ( STDMETHODCALLTYPE *ClearUnorderedAccessViewFloat )(
  3692. ID3D11DeviceContext4 * This,
  3693. /* [annotation] */
  3694. _In_ ID3D11UnorderedAccessView *pUnorderedAccessView,
  3695. /* [annotation] */
  3696. _In_ const FLOAT Values[ 4 ]);
  3697. void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
  3698. ID3D11DeviceContext4 * This,
  3699. /* [annotation] */
  3700. _In_ ID3D11DepthStencilView *pDepthStencilView,
  3701. /* [annotation] */
  3702. _In_ UINT ClearFlags,
  3703. /* [annotation] */
  3704. _In_ FLOAT Depth,
  3705. /* [annotation] */
  3706. _In_ UINT8 Stencil);
  3707. void ( STDMETHODCALLTYPE *GenerateMips )(
  3708. ID3D11DeviceContext4 * This,
  3709. /* [annotation] */
  3710. _In_ ID3D11ShaderResourceView *pShaderResourceView);
  3711. void ( STDMETHODCALLTYPE *SetResourceMinLOD )(
  3712. ID3D11DeviceContext4 * This,
  3713. /* [annotation] */
  3714. _In_ ID3D11Resource *pResource,
  3715. FLOAT MinLOD);
  3716. FLOAT ( STDMETHODCALLTYPE *GetResourceMinLOD )(
  3717. ID3D11DeviceContext4 * This,
  3718. /* [annotation] */
  3719. _In_ ID3D11Resource *pResource);
  3720. void ( STDMETHODCALLTYPE *ResolveSubresource )(
  3721. ID3D11DeviceContext4 * This,
  3722. /* [annotation] */
  3723. _In_ ID3D11Resource *pDstResource,
  3724. /* [annotation] */
  3725. _In_ UINT DstSubresource,
  3726. /* [annotation] */
  3727. _In_ ID3D11Resource *pSrcResource,
  3728. /* [annotation] */
  3729. _In_ UINT SrcSubresource,
  3730. /* [annotation] */
  3731. _In_ DXGI_FORMAT Format);
  3732. void ( STDMETHODCALLTYPE *ExecuteCommandList )(
  3733. ID3D11DeviceContext4 * This,
  3734. /* [annotation] */
  3735. _In_ ID3D11CommandList *pCommandList,
  3736. BOOL RestoreContextState);
  3737. void ( STDMETHODCALLTYPE *HSSetShaderResources )(
  3738. ID3D11DeviceContext4 * This,
  3739. /* [annotation] */
  3740. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3741. /* [annotation] */
  3742. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3743. /* [annotation] */
  3744. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  3745. void ( STDMETHODCALLTYPE *HSSetShader )(
  3746. ID3D11DeviceContext4 * This,
  3747. /* [annotation] */
  3748. _In_opt_ ID3D11HullShader *pHullShader,
  3749. /* [annotation] */
  3750. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  3751. UINT NumClassInstances);
  3752. void ( STDMETHODCALLTYPE *HSSetSamplers )(
  3753. ID3D11DeviceContext4 * This,
  3754. /* [annotation] */
  3755. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3756. /* [annotation] */
  3757. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3758. /* [annotation] */
  3759. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  3760. void ( STDMETHODCALLTYPE *HSSetConstantBuffers )(
  3761. ID3D11DeviceContext4 * This,
  3762. /* [annotation] */
  3763. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3764. /* [annotation] */
  3765. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3766. /* [annotation] */
  3767. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  3768. void ( STDMETHODCALLTYPE *DSSetShaderResources )(
  3769. ID3D11DeviceContext4 * This,
  3770. /* [annotation] */
  3771. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3772. /* [annotation] */
  3773. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3774. /* [annotation] */
  3775. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  3776. void ( STDMETHODCALLTYPE *DSSetShader )(
  3777. ID3D11DeviceContext4 * This,
  3778. /* [annotation] */
  3779. _In_opt_ ID3D11DomainShader *pDomainShader,
  3780. /* [annotation] */
  3781. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  3782. UINT NumClassInstances);
  3783. void ( STDMETHODCALLTYPE *DSSetSamplers )(
  3784. ID3D11DeviceContext4 * This,
  3785. /* [annotation] */
  3786. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3787. /* [annotation] */
  3788. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3789. /* [annotation] */
  3790. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  3791. void ( STDMETHODCALLTYPE *DSSetConstantBuffers )(
  3792. ID3D11DeviceContext4 * This,
  3793. /* [annotation] */
  3794. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3795. /* [annotation] */
  3796. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3797. /* [annotation] */
  3798. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  3799. void ( STDMETHODCALLTYPE *CSSetShaderResources )(
  3800. ID3D11DeviceContext4 * This,
  3801. /* [annotation] */
  3802. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3803. /* [annotation] */
  3804. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3805. /* [annotation] */
  3806. _In_reads_opt_(NumViews) ID3D11ShaderResourceView *const *ppShaderResourceViews);
  3807. void ( STDMETHODCALLTYPE *CSSetUnorderedAccessViews )(
  3808. ID3D11DeviceContext4 * This,
  3809. /* [annotation] */
  3810. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
  3811. /* [annotation] */
  3812. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
  3813. /* [annotation] */
  3814. _In_reads_opt_(NumUAVs) ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
  3815. /* [annotation] */
  3816. _In_reads_opt_(NumUAVs) const UINT *pUAVInitialCounts);
  3817. void ( STDMETHODCALLTYPE *CSSetShader )(
  3818. ID3D11DeviceContext4 * This,
  3819. /* [annotation] */
  3820. _In_opt_ ID3D11ComputeShader *pComputeShader,
  3821. /* [annotation] */
  3822. _In_reads_opt_(NumClassInstances) ID3D11ClassInstance *const *ppClassInstances,
  3823. UINT NumClassInstances);
  3824. void ( STDMETHODCALLTYPE *CSSetSamplers )(
  3825. ID3D11DeviceContext4 * This,
  3826. /* [annotation] */
  3827. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3828. /* [annotation] */
  3829. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3830. /* [annotation] */
  3831. _In_reads_opt_(NumSamplers) ID3D11SamplerState *const *ppSamplers);
  3832. void ( STDMETHODCALLTYPE *CSSetConstantBuffers )(
  3833. ID3D11DeviceContext4 * This,
  3834. /* [annotation] */
  3835. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3836. /* [annotation] */
  3837. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3838. /* [annotation] */
  3839. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers);
  3840. void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
  3841. ID3D11DeviceContext4 * This,
  3842. /* [annotation] */
  3843. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3844. /* [annotation] */
  3845. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3846. /* [annotation] */
  3847. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  3848. void ( STDMETHODCALLTYPE *PSGetShaderResources )(
  3849. ID3D11DeviceContext4 * This,
  3850. /* [annotation] */
  3851. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3852. /* [annotation] */
  3853. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3854. /* [annotation] */
  3855. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  3856. void ( STDMETHODCALLTYPE *PSGetShader )(
  3857. ID3D11DeviceContext4 * This,
  3858. /* [annotation] */
  3859. _Outptr_result_maybenull_ ID3D11PixelShader **ppPixelShader,
  3860. /* [annotation] */
  3861. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  3862. /* [annotation] */
  3863. _Inout_opt_ UINT *pNumClassInstances);
  3864. void ( STDMETHODCALLTYPE *PSGetSamplers )(
  3865. ID3D11DeviceContext4 * This,
  3866. /* [annotation] */
  3867. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3868. /* [annotation] */
  3869. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3870. /* [annotation] */
  3871. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  3872. void ( STDMETHODCALLTYPE *VSGetShader )(
  3873. ID3D11DeviceContext4 * This,
  3874. /* [annotation] */
  3875. _Outptr_result_maybenull_ ID3D11VertexShader **ppVertexShader,
  3876. /* [annotation] */
  3877. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  3878. /* [annotation] */
  3879. _Inout_opt_ UINT *pNumClassInstances);
  3880. void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
  3881. ID3D11DeviceContext4 * This,
  3882. /* [annotation] */
  3883. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3884. /* [annotation] */
  3885. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3886. /* [annotation] */
  3887. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  3888. void ( STDMETHODCALLTYPE *IAGetInputLayout )(
  3889. ID3D11DeviceContext4 * This,
  3890. /* [annotation] */
  3891. _Outptr_result_maybenull_ ID3D11InputLayout **ppInputLayout);
  3892. void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
  3893. ID3D11DeviceContext4 * This,
  3894. /* [annotation] */
  3895. _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3896. /* [annotation] */
  3897. _In_range_( 0, D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3898. /* [annotation] */
  3899. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppVertexBuffers,
  3900. /* [annotation] */
  3901. _Out_writes_opt_(NumBuffers) UINT *pStrides,
  3902. /* [annotation] */
  3903. _Out_writes_opt_(NumBuffers) UINT *pOffsets);
  3904. void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
  3905. ID3D11DeviceContext4 * This,
  3906. /* [annotation] */
  3907. _Outptr_opt_result_maybenull_ ID3D11Buffer **pIndexBuffer,
  3908. /* [annotation] */
  3909. _Out_opt_ DXGI_FORMAT *Format,
  3910. /* [annotation] */
  3911. _Out_opt_ UINT *Offset);
  3912. void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
  3913. ID3D11DeviceContext4 * This,
  3914. /* [annotation] */
  3915. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  3916. /* [annotation] */
  3917. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  3918. /* [annotation] */
  3919. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  3920. void ( STDMETHODCALLTYPE *GSGetShader )(
  3921. ID3D11DeviceContext4 * This,
  3922. /* [annotation] */
  3923. _Outptr_result_maybenull_ ID3D11GeometryShader **ppGeometryShader,
  3924. /* [annotation] */
  3925. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  3926. /* [annotation] */
  3927. _Inout_opt_ UINT *pNumClassInstances);
  3928. void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
  3929. ID3D11DeviceContext4 * This,
  3930. /* [annotation] */
  3931. _Out_ D3D11_PRIMITIVE_TOPOLOGY *pTopology);
  3932. void ( STDMETHODCALLTYPE *VSGetShaderResources )(
  3933. ID3D11DeviceContext4 * This,
  3934. /* [annotation] */
  3935. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3936. /* [annotation] */
  3937. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3938. /* [annotation] */
  3939. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  3940. void ( STDMETHODCALLTYPE *VSGetSamplers )(
  3941. ID3D11DeviceContext4 * This,
  3942. /* [annotation] */
  3943. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3944. /* [annotation] */
  3945. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3946. /* [annotation] */
  3947. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  3948. void ( STDMETHODCALLTYPE *GetPredication )(
  3949. ID3D11DeviceContext4 * This,
  3950. /* [annotation] */
  3951. _Outptr_opt_result_maybenull_ ID3D11Predicate **ppPredicate,
  3952. /* [annotation] */
  3953. _Out_opt_ BOOL *pPredicateValue);
  3954. void ( STDMETHODCALLTYPE *GSGetShaderResources )(
  3955. ID3D11DeviceContext4 * This,
  3956. /* [annotation] */
  3957. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  3958. /* [annotation] */
  3959. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  3960. /* [annotation] */
  3961. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  3962. void ( STDMETHODCALLTYPE *GSGetSamplers )(
  3963. ID3D11DeviceContext4 * This,
  3964. /* [annotation] */
  3965. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  3966. /* [annotation] */
  3967. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  3968. /* [annotation] */
  3969. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  3970. void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
  3971. ID3D11DeviceContext4 * This,
  3972. /* [annotation] */
  3973. _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
  3974. /* [annotation] */
  3975. _Out_writes_opt_(NumViews) ID3D11RenderTargetView **ppRenderTargetViews,
  3976. /* [annotation] */
  3977. _Outptr_opt_result_maybenull_ ID3D11DepthStencilView **ppDepthStencilView);
  3978. void ( STDMETHODCALLTYPE *OMGetRenderTargetsAndUnorderedAccessViews )(
  3979. ID3D11DeviceContext4 * This,
  3980. /* [annotation] */
  3981. _In_range_( 0, D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumRTVs,
  3982. /* [annotation] */
  3983. _Out_writes_opt_(NumRTVs) ID3D11RenderTargetView **ppRenderTargetViews,
  3984. /* [annotation] */
  3985. _Outptr_opt_result_maybenull_ ID3D11DepthStencilView **ppDepthStencilView,
  3986. /* [annotation] */
  3987. _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - 1 ) UINT UAVStartSlot,
  3988. /* [annotation] */
  3989. _In_range_( 0, D3D11_PS_CS_UAV_REGISTER_COUNT - UAVStartSlot ) UINT NumUAVs,
  3990. /* [annotation] */
  3991. _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
  3992. void ( STDMETHODCALLTYPE *OMGetBlendState )(
  3993. ID3D11DeviceContext4 * This,
  3994. /* [annotation] */
  3995. _Outptr_opt_result_maybenull_ ID3D11BlendState **ppBlendState,
  3996. /* [annotation] */
  3997. _Out_opt_ FLOAT BlendFactor[ 4 ],
  3998. /* [annotation] */
  3999. _Out_opt_ UINT *pSampleMask);
  4000. void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
  4001. ID3D11DeviceContext4 * This,
  4002. /* [annotation] */
  4003. _Outptr_opt_result_maybenull_ ID3D11DepthStencilState **ppDepthStencilState,
  4004. /* [annotation] */
  4005. _Out_opt_ UINT *pStencilRef);
  4006. void ( STDMETHODCALLTYPE *SOGetTargets )(
  4007. ID3D11DeviceContext4 * This,
  4008. /* [annotation] */
  4009. _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
  4010. /* [annotation] */
  4011. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppSOTargets);
  4012. void ( STDMETHODCALLTYPE *RSGetState )(
  4013. ID3D11DeviceContext4 * This,
  4014. /* [annotation] */
  4015. _Outptr_result_maybenull_ ID3D11RasterizerState **ppRasterizerState);
  4016. void ( STDMETHODCALLTYPE *RSGetViewports )(
  4017. ID3D11DeviceContext4 * This,
  4018. /* [annotation] */
  4019. _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumViewports,
  4020. /* [annotation] */
  4021. _Out_writes_opt_(*pNumViewports) D3D11_VIEWPORT *pViewports);
  4022. void ( STDMETHODCALLTYPE *RSGetScissorRects )(
  4023. ID3D11DeviceContext4 * This,
  4024. /* [annotation] */
  4025. _Inout_ /*_range(0, D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *pNumRects,
  4026. /* [annotation] */
  4027. _Out_writes_opt_(*pNumRects) D3D11_RECT *pRects);
  4028. void ( STDMETHODCALLTYPE *HSGetShaderResources )(
  4029. ID3D11DeviceContext4 * This,
  4030. /* [annotation] */
  4031. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  4032. /* [annotation] */
  4033. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  4034. /* [annotation] */
  4035. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  4036. void ( STDMETHODCALLTYPE *HSGetShader )(
  4037. ID3D11DeviceContext4 * This,
  4038. /* [annotation] */
  4039. _Outptr_result_maybenull_ ID3D11HullShader **ppHullShader,
  4040. /* [annotation] */
  4041. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  4042. /* [annotation] */
  4043. _Inout_opt_ UINT *pNumClassInstances);
  4044. void ( STDMETHODCALLTYPE *HSGetSamplers )(
  4045. ID3D11DeviceContext4 * This,
  4046. /* [annotation] */
  4047. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  4048. /* [annotation] */
  4049. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  4050. /* [annotation] */
  4051. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  4052. void ( STDMETHODCALLTYPE *HSGetConstantBuffers )(
  4053. ID3D11DeviceContext4 * This,
  4054. /* [annotation] */
  4055. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4056. /* [annotation] */
  4057. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4058. /* [annotation] */
  4059. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  4060. void ( STDMETHODCALLTYPE *DSGetShaderResources )(
  4061. ID3D11DeviceContext4 * This,
  4062. /* [annotation] */
  4063. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  4064. /* [annotation] */
  4065. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  4066. /* [annotation] */
  4067. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  4068. void ( STDMETHODCALLTYPE *DSGetShader )(
  4069. ID3D11DeviceContext4 * This,
  4070. /* [annotation] */
  4071. _Outptr_result_maybenull_ ID3D11DomainShader **ppDomainShader,
  4072. /* [annotation] */
  4073. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  4074. /* [annotation] */
  4075. _Inout_opt_ UINT *pNumClassInstances);
  4076. void ( STDMETHODCALLTYPE *DSGetSamplers )(
  4077. ID3D11DeviceContext4 * This,
  4078. /* [annotation] */
  4079. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  4080. /* [annotation] */
  4081. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  4082. /* [annotation] */
  4083. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  4084. void ( STDMETHODCALLTYPE *DSGetConstantBuffers )(
  4085. ID3D11DeviceContext4 * This,
  4086. /* [annotation] */
  4087. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4088. /* [annotation] */
  4089. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4090. /* [annotation] */
  4091. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  4092. void ( STDMETHODCALLTYPE *CSGetShaderResources )(
  4093. ID3D11DeviceContext4 * This,
  4094. /* [annotation] */
  4095. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
  4096. /* [annotation] */
  4097. _In_range_( 0, D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
  4098. /* [annotation] */
  4099. _Out_writes_opt_(NumViews) ID3D11ShaderResourceView **ppShaderResourceViews);
  4100. void ( STDMETHODCALLTYPE *CSGetUnorderedAccessViews )(
  4101. ID3D11DeviceContext4 * This,
  4102. /* [annotation] */
  4103. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - 1 ) UINT StartSlot,
  4104. /* [annotation] */
  4105. _In_range_( 0, D3D11_1_UAV_SLOT_COUNT - StartSlot ) UINT NumUAVs,
  4106. /* [annotation] */
  4107. _Out_writes_opt_(NumUAVs) ID3D11UnorderedAccessView **ppUnorderedAccessViews);
  4108. void ( STDMETHODCALLTYPE *CSGetShader )(
  4109. ID3D11DeviceContext4 * This,
  4110. /* [annotation] */
  4111. _Outptr_result_maybenull_ ID3D11ComputeShader **ppComputeShader,
  4112. /* [annotation] */
  4113. _Out_writes_opt_(*pNumClassInstances) ID3D11ClassInstance **ppClassInstances,
  4114. /* [annotation] */
  4115. _Inout_opt_ UINT *pNumClassInstances);
  4116. void ( STDMETHODCALLTYPE *CSGetSamplers )(
  4117. ID3D11DeviceContext4 * This,
  4118. /* [annotation] */
  4119. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
  4120. /* [annotation] */
  4121. _In_range_( 0, D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
  4122. /* [annotation] */
  4123. _Out_writes_opt_(NumSamplers) ID3D11SamplerState **ppSamplers);
  4124. void ( STDMETHODCALLTYPE *CSGetConstantBuffers )(
  4125. ID3D11DeviceContext4 * This,
  4126. /* [annotation] */
  4127. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4128. /* [annotation] */
  4129. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4130. /* [annotation] */
  4131. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers);
  4132. void ( STDMETHODCALLTYPE *ClearState )(
  4133. ID3D11DeviceContext4 * This);
  4134. void ( STDMETHODCALLTYPE *Flush )(
  4135. ID3D11DeviceContext4 * This);
  4136. D3D11_DEVICE_CONTEXT_TYPE ( STDMETHODCALLTYPE *GetType )(
  4137. ID3D11DeviceContext4 * This);
  4138. UINT ( STDMETHODCALLTYPE *GetContextFlags )(
  4139. ID3D11DeviceContext4 * This);
  4140. HRESULT ( STDMETHODCALLTYPE *FinishCommandList )(
  4141. ID3D11DeviceContext4 * This,
  4142. BOOL RestoreDeferredContextState,
  4143. /* [annotation] */
  4144. _COM_Outptr_opt_ ID3D11CommandList **ppCommandList);
  4145. void ( STDMETHODCALLTYPE *CopySubresourceRegion1 )(
  4146. ID3D11DeviceContext4 * This,
  4147. /* [annotation] */
  4148. _In_ ID3D11Resource *pDstResource,
  4149. /* [annotation] */
  4150. _In_ UINT DstSubresource,
  4151. /* [annotation] */
  4152. _In_ UINT DstX,
  4153. /* [annotation] */
  4154. _In_ UINT DstY,
  4155. /* [annotation] */
  4156. _In_ UINT DstZ,
  4157. /* [annotation] */
  4158. _In_ ID3D11Resource *pSrcResource,
  4159. /* [annotation] */
  4160. _In_ UINT SrcSubresource,
  4161. /* [annotation] */
  4162. _In_opt_ const D3D11_BOX *pSrcBox,
  4163. /* [annotation] */
  4164. _In_ UINT CopyFlags);
  4165. void ( STDMETHODCALLTYPE *UpdateSubresource1 )(
  4166. ID3D11DeviceContext4 * This,
  4167. /* [annotation] */
  4168. _In_ ID3D11Resource *pDstResource,
  4169. /* [annotation] */
  4170. _In_ UINT DstSubresource,
  4171. /* [annotation] */
  4172. _In_opt_ const D3D11_BOX *pDstBox,
  4173. /* [annotation] */
  4174. _In_ const void *pSrcData,
  4175. /* [annotation] */
  4176. _In_ UINT SrcRowPitch,
  4177. /* [annotation] */
  4178. _In_ UINT SrcDepthPitch,
  4179. /* [annotation] */
  4180. _In_ UINT CopyFlags);
  4181. void ( STDMETHODCALLTYPE *DiscardResource )(
  4182. ID3D11DeviceContext4 * This,
  4183. /* [annotation] */
  4184. _In_ ID3D11Resource *pResource);
  4185. void ( STDMETHODCALLTYPE *DiscardView )(
  4186. ID3D11DeviceContext4 * This,
  4187. /* [annotation] */
  4188. _In_ ID3D11View *pResourceView);
  4189. void ( STDMETHODCALLTYPE *VSSetConstantBuffers1 )(
  4190. ID3D11DeviceContext4 * This,
  4191. /* [annotation] */
  4192. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4193. /* [annotation] */
  4194. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4195. /* [annotation] */
  4196. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  4197. /* [annotation] */
  4198. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  4199. /* [annotation] */
  4200. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  4201. void ( STDMETHODCALLTYPE *HSSetConstantBuffers1 )(
  4202. ID3D11DeviceContext4 * This,
  4203. /* [annotation] */
  4204. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4205. /* [annotation] */
  4206. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4207. /* [annotation] */
  4208. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  4209. /* [annotation] */
  4210. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  4211. /* [annotation] */
  4212. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  4213. void ( STDMETHODCALLTYPE *DSSetConstantBuffers1 )(
  4214. ID3D11DeviceContext4 * This,
  4215. /* [annotation] */
  4216. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4217. /* [annotation] */
  4218. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4219. /* [annotation] */
  4220. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  4221. /* [annotation] */
  4222. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  4223. /* [annotation] */
  4224. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  4225. void ( STDMETHODCALLTYPE *GSSetConstantBuffers1 )(
  4226. ID3D11DeviceContext4 * This,
  4227. /* [annotation] */
  4228. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4229. /* [annotation] */
  4230. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4231. /* [annotation] */
  4232. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  4233. /* [annotation] */
  4234. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  4235. /* [annotation] */
  4236. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  4237. void ( STDMETHODCALLTYPE *PSSetConstantBuffers1 )(
  4238. ID3D11DeviceContext4 * This,
  4239. /* [annotation] */
  4240. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4241. /* [annotation] */
  4242. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4243. /* [annotation] */
  4244. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  4245. /* [annotation] */
  4246. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  4247. /* [annotation] */
  4248. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  4249. void ( STDMETHODCALLTYPE *CSSetConstantBuffers1 )(
  4250. ID3D11DeviceContext4 * This,
  4251. /* [annotation] */
  4252. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4253. /* [annotation] */
  4254. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4255. /* [annotation] */
  4256. _In_reads_opt_(NumBuffers) ID3D11Buffer *const *ppConstantBuffers,
  4257. /* [annotation] */
  4258. _In_reads_opt_(NumBuffers) const UINT *pFirstConstant,
  4259. /* [annotation] */
  4260. _In_reads_opt_(NumBuffers) const UINT *pNumConstants);
  4261. void ( STDMETHODCALLTYPE *VSGetConstantBuffers1 )(
  4262. ID3D11DeviceContext4 * This,
  4263. /* [annotation] */
  4264. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4265. /* [annotation] */
  4266. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4267. /* [annotation] */
  4268. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  4269. /* [annotation] */
  4270. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  4271. /* [annotation] */
  4272. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  4273. void ( STDMETHODCALLTYPE *HSGetConstantBuffers1 )(
  4274. ID3D11DeviceContext4 * This,
  4275. /* [annotation] */
  4276. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4277. /* [annotation] */
  4278. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4279. /* [annotation] */
  4280. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  4281. /* [annotation] */
  4282. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  4283. /* [annotation] */
  4284. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  4285. void ( STDMETHODCALLTYPE *DSGetConstantBuffers1 )(
  4286. ID3D11DeviceContext4 * This,
  4287. /* [annotation] */
  4288. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4289. /* [annotation] */
  4290. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4291. /* [annotation] */
  4292. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  4293. /* [annotation] */
  4294. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  4295. /* [annotation] */
  4296. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  4297. void ( STDMETHODCALLTYPE *GSGetConstantBuffers1 )(
  4298. ID3D11DeviceContext4 * This,
  4299. /* [annotation] */
  4300. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4301. /* [annotation] */
  4302. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4303. /* [annotation] */
  4304. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  4305. /* [annotation] */
  4306. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  4307. /* [annotation] */
  4308. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  4309. void ( STDMETHODCALLTYPE *PSGetConstantBuffers1 )(
  4310. ID3D11DeviceContext4 * This,
  4311. /* [annotation] */
  4312. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4313. /* [annotation] */
  4314. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4315. /* [annotation] */
  4316. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  4317. /* [annotation] */
  4318. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  4319. /* [annotation] */
  4320. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  4321. void ( STDMETHODCALLTYPE *CSGetConstantBuffers1 )(
  4322. ID3D11DeviceContext4 * This,
  4323. /* [annotation] */
  4324. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
  4325. /* [annotation] */
  4326. _In_range_( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
  4327. /* [annotation] */
  4328. _Out_writes_opt_(NumBuffers) ID3D11Buffer **ppConstantBuffers,
  4329. /* [annotation] */
  4330. _Out_writes_opt_(NumBuffers) UINT *pFirstConstant,
  4331. /* [annotation] */
  4332. _Out_writes_opt_(NumBuffers) UINT *pNumConstants);
  4333. void ( STDMETHODCALLTYPE *SwapDeviceContextState )(
  4334. ID3D11DeviceContext4 * This,
  4335. /* [annotation] */
  4336. _In_ ID3DDeviceContextState *pState,
  4337. /* [annotation] */
  4338. _Outptr_opt_ ID3DDeviceContextState **ppPreviousState);
  4339. void ( STDMETHODCALLTYPE *ClearView )(
  4340. ID3D11DeviceContext4 * This,
  4341. /* [annotation] */
  4342. _In_ ID3D11View *pView,
  4343. /* [annotation] */
  4344. _In_ const FLOAT Color[ 4 ],
  4345. /* [annotation] */
  4346. _In_reads_opt_(NumRects) const D3D11_RECT *pRect,
  4347. UINT NumRects);
  4348. void ( STDMETHODCALLTYPE *DiscardView1 )(
  4349. ID3D11DeviceContext4 * This,
  4350. /* [annotation] */
  4351. _In_ ID3D11View *pResourceView,
  4352. /* [annotation] */
  4353. _In_reads_opt_(NumRects) const D3D11_RECT *pRects,
  4354. UINT NumRects);
  4355. HRESULT ( STDMETHODCALLTYPE *UpdateTileMappings )(
  4356. ID3D11DeviceContext4 * This,
  4357. /* [annotation] */
  4358. _In_ ID3D11Resource *pTiledResource,
  4359. /* [annotation] */
  4360. _In_ UINT NumTiledResourceRegions,
  4361. /* [annotation] */
  4362. _In_reads_opt_(NumTiledResourceRegions) const D3D11_TILED_RESOURCE_COORDINATE *pTiledResourceRegionStartCoordinates,
  4363. /* [annotation] */
  4364. _In_reads_opt_(NumTiledResourceRegions) const D3D11_TILE_REGION_SIZE *pTiledResourceRegionSizes,
  4365. /* [annotation] */
  4366. _In_opt_ ID3D11Buffer *pTilePool,
  4367. /* [annotation] */
  4368. _In_ UINT NumRanges,
  4369. /* [annotation] */
  4370. _In_reads_opt_(NumRanges) const UINT *pRangeFlags,
  4371. /* [annotation] */
  4372. _In_reads_opt_(NumRanges) const UINT *pTilePoolStartOffsets,
  4373. /* [annotation] */
  4374. _In_reads_opt_(NumRanges) const UINT *pRangeTileCounts,
  4375. /* [annotation] */
  4376. _In_ UINT Flags);
  4377. HRESULT ( STDMETHODCALLTYPE *CopyTileMappings )(
  4378. ID3D11DeviceContext4 * This,
  4379. /* [annotation] */
  4380. _In_ ID3D11Resource *pDestTiledResource,
  4381. /* [annotation] */
  4382. _In_ const D3D11_TILED_RESOURCE_COORDINATE *pDestRegionStartCoordinate,
  4383. /* [annotation] */
  4384. _In_ ID3D11Resource *pSourceTiledResource,
  4385. /* [annotation] */
  4386. _In_ const D3D11_TILED_RESOURCE_COORDINATE *pSourceRegionStartCoordinate,
  4387. /* [annotation] */
  4388. _In_ const D3D11_TILE_REGION_SIZE *pTileRegionSize,
  4389. /* [annotation] */
  4390. _In_ UINT Flags);
  4391. void ( STDMETHODCALLTYPE *CopyTiles )(
  4392. ID3D11DeviceContext4 * This,
  4393. /* [annotation] */
  4394. _In_ ID3D11Resource *pTiledResource,
  4395. /* [annotation] */
  4396. _In_ const D3D11_TILED_RESOURCE_COORDINATE *pTileRegionStartCoordinate,
  4397. /* [annotation] */
  4398. _In_ const D3D11_TILE_REGION_SIZE *pTileRegionSize,
  4399. /* [annotation] */
  4400. _In_ ID3D11Buffer *pBuffer,
  4401. /* [annotation] */
  4402. _In_ UINT64 BufferStartOffsetInBytes,
  4403. /* [annotation] */
  4404. _In_ UINT Flags);
  4405. void ( STDMETHODCALLTYPE *UpdateTiles )(
  4406. ID3D11DeviceContext4 * This,
  4407. /* [annotation] */
  4408. _In_ ID3D11Resource *pDestTiledResource,
  4409. /* [annotation] */
  4410. _In_ const D3D11_TILED_RESOURCE_COORDINATE *pDestTileRegionStartCoordinate,
  4411. /* [annotation] */
  4412. _In_ const D3D11_TILE_REGION_SIZE *pDestTileRegionSize,
  4413. /* [annotation] */
  4414. _In_ const void *pSourceTileData,
  4415. /* [annotation] */
  4416. _In_ UINT Flags);
  4417. HRESULT ( STDMETHODCALLTYPE *ResizeTilePool )(
  4418. ID3D11DeviceContext4 * This,
  4419. /* [annotation] */
  4420. _In_ ID3D11Buffer *pTilePool,
  4421. /* [annotation] */
  4422. _In_ UINT64 NewSizeInBytes);
  4423. void ( STDMETHODCALLTYPE *TiledResourceBarrier )(
  4424. ID3D11DeviceContext4 * This,
  4425. /* [annotation] */
  4426. _In_opt_ ID3D11DeviceChild *pTiledResourceOrViewAccessBeforeBarrier,
  4427. /* [annotation] */
  4428. _In_opt_ ID3D11DeviceChild *pTiledResourceOrViewAccessAfterBarrier);
  4429. BOOL ( STDMETHODCALLTYPE *IsAnnotationEnabled )(
  4430. ID3D11DeviceContext4 * This);
  4431. void ( STDMETHODCALLTYPE *SetMarkerInt )(
  4432. ID3D11DeviceContext4 * This,
  4433. /* [annotation] */
  4434. _In_ LPCWSTR pLabel,
  4435. INT Data);
  4436. void ( STDMETHODCALLTYPE *BeginEventInt )(
  4437. ID3D11DeviceContext4 * This,
  4438. /* [annotation] */
  4439. _In_ LPCWSTR pLabel,
  4440. INT Data);
  4441. void ( STDMETHODCALLTYPE *EndEvent )(
  4442. ID3D11DeviceContext4 * This);
  4443. void ( STDMETHODCALLTYPE *Flush1 )(
  4444. ID3D11DeviceContext4 * This,
  4445. D3D11_CONTEXT_TYPE ContextType,
  4446. /* [annotation] */
  4447. _In_opt_ HANDLE hEvent);
  4448. void ( STDMETHODCALLTYPE *SetHardwareProtectionState )(
  4449. ID3D11DeviceContext4 * This,
  4450. /* [annotation] */
  4451. _In_ BOOL HwProtectionEnable);
  4452. void ( STDMETHODCALLTYPE *GetHardwareProtectionState )(
  4453. ID3D11DeviceContext4 * This,
  4454. /* [annotation] */
  4455. _Out_ BOOL *pHwProtectionEnable);
  4456. HRESULT ( STDMETHODCALLTYPE *Signal )(
  4457. ID3D11DeviceContext4 * This,
  4458. /* [annotation] */
  4459. _In_ ID3D11Fence *pFence,
  4460. /* [annotation] */
  4461. _In_ UINT64 Value);
  4462. HRESULT ( STDMETHODCALLTYPE *Wait )(
  4463. ID3D11DeviceContext4 * This,
  4464. /* [annotation] */
  4465. _In_ ID3D11Fence *pFence,
  4466. /* [annotation] */
  4467. _In_ UINT64 Value);
  4468. END_INTERFACE
  4469. } ID3D11DeviceContext4Vtbl;
  4470. interface ID3D11DeviceContext4
  4471. {
  4472. CONST_VTBL struct ID3D11DeviceContext4Vtbl *lpVtbl;
  4473. };
  4474. #ifdef COBJMACROS
  4475. #define ID3D11DeviceContext4_QueryInterface(This,riid,ppvObject) \
  4476. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  4477. #define ID3D11DeviceContext4_AddRef(This) \
  4478. ( (This)->lpVtbl -> AddRef(This) )
  4479. #define ID3D11DeviceContext4_Release(This) \
  4480. ( (This)->lpVtbl -> Release(This) )
  4481. #define ID3D11DeviceContext4_GetDevice(This,ppDevice) \
  4482. ( (This)->lpVtbl -> GetDevice(This,ppDevice) )
  4483. #define ID3D11DeviceContext4_GetPrivateData(This,guid,pDataSize,pData) \
  4484. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  4485. #define ID3D11DeviceContext4_SetPrivateData(This,guid,DataSize,pData) \
  4486. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  4487. #define ID3D11DeviceContext4_SetPrivateDataInterface(This,guid,pData) \
  4488. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  4489. #define ID3D11DeviceContext4_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4490. ( (This)->lpVtbl -> VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4491. #define ID3D11DeviceContext4_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4492. ( (This)->lpVtbl -> PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4493. #define ID3D11DeviceContext4_PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) \
  4494. ( (This)->lpVtbl -> PSSetShader(This,pPixelShader,ppClassInstances,NumClassInstances) )
  4495. #define ID3D11DeviceContext4_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4496. ( (This)->lpVtbl -> PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4497. #define ID3D11DeviceContext4_VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) \
  4498. ( (This)->lpVtbl -> VSSetShader(This,pVertexShader,ppClassInstances,NumClassInstances) )
  4499. #define ID3D11DeviceContext4_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) \
  4500. ( (This)->lpVtbl -> DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) )
  4501. #define ID3D11DeviceContext4_Draw(This,VertexCount,StartVertexLocation) \
  4502. ( (This)->lpVtbl -> Draw(This,VertexCount,StartVertexLocation) )
  4503. #define ID3D11DeviceContext4_Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) \
  4504. ( (This)->lpVtbl -> Map(This,pResource,Subresource,MapType,MapFlags,pMappedResource) )
  4505. #define ID3D11DeviceContext4_Unmap(This,pResource,Subresource) \
  4506. ( (This)->lpVtbl -> Unmap(This,pResource,Subresource) )
  4507. #define ID3D11DeviceContext4_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4508. ( (This)->lpVtbl -> PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4509. #define ID3D11DeviceContext4_IASetInputLayout(This,pInputLayout) \
  4510. ( (This)->lpVtbl -> IASetInputLayout(This,pInputLayout) )
  4511. #define ID3D11DeviceContext4_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
  4512. ( (This)->lpVtbl -> IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
  4513. #define ID3D11DeviceContext4_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) \
  4514. ( (This)->lpVtbl -> IASetIndexBuffer(This,pIndexBuffer,Format,Offset) )
  4515. #define ID3D11DeviceContext4_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) \
  4516. ( (This)->lpVtbl -> DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) )
  4517. #define ID3D11DeviceContext4_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) \
  4518. ( (This)->lpVtbl -> DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) )
  4519. #define ID3D11DeviceContext4_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4520. ( (This)->lpVtbl -> GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4521. #define ID3D11DeviceContext4_GSSetShader(This,pShader,ppClassInstances,NumClassInstances) \
  4522. ( (This)->lpVtbl -> GSSetShader(This,pShader,ppClassInstances,NumClassInstances) )
  4523. #define ID3D11DeviceContext4_IASetPrimitiveTopology(This,Topology) \
  4524. ( (This)->lpVtbl -> IASetPrimitiveTopology(This,Topology) )
  4525. #define ID3D11DeviceContext4_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4526. ( (This)->lpVtbl -> VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4527. #define ID3D11DeviceContext4_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4528. ( (This)->lpVtbl -> VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4529. #define ID3D11DeviceContext4_Begin(This,pAsync) \
  4530. ( (This)->lpVtbl -> Begin(This,pAsync) )
  4531. #define ID3D11DeviceContext4_End(This,pAsync) \
  4532. ( (This)->lpVtbl -> End(This,pAsync) )
  4533. #define ID3D11DeviceContext4_GetData(This,pAsync,pData,DataSize,GetDataFlags) \
  4534. ( (This)->lpVtbl -> GetData(This,pAsync,pData,DataSize,GetDataFlags) )
  4535. #define ID3D11DeviceContext4_SetPredication(This,pPredicate,PredicateValue) \
  4536. ( (This)->lpVtbl -> SetPredication(This,pPredicate,PredicateValue) )
  4537. #define ID3D11DeviceContext4_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4538. ( (This)->lpVtbl -> GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4539. #define ID3D11DeviceContext4_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4540. ( (This)->lpVtbl -> GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4541. #define ID3D11DeviceContext4_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) \
  4542. ( (This)->lpVtbl -> OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) )
  4543. #define ID3D11DeviceContext4_OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
  4544. ( (This)->lpVtbl -> OMSetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,pDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
  4545. #define ID3D11DeviceContext4_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) \
  4546. ( (This)->lpVtbl -> OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) )
  4547. #define ID3D11DeviceContext4_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) \
  4548. ( (This)->lpVtbl -> OMSetDepthStencilState(This,pDepthStencilState,StencilRef) )
  4549. #define ID3D11DeviceContext4_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
  4550. ( (This)->lpVtbl -> SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
  4551. #define ID3D11DeviceContext4_DrawAuto(This) \
  4552. ( (This)->lpVtbl -> DrawAuto(This) )
  4553. #define ID3D11DeviceContext4_DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
  4554. ( (This)->lpVtbl -> DrawIndexedInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
  4555. #define ID3D11DeviceContext4_DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
  4556. ( (This)->lpVtbl -> DrawInstancedIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
  4557. #define ID3D11DeviceContext4_Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) \
  4558. ( (This)->lpVtbl -> Dispatch(This,ThreadGroupCountX,ThreadGroupCountY,ThreadGroupCountZ) )
  4559. #define ID3D11DeviceContext4_DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) \
  4560. ( (This)->lpVtbl -> DispatchIndirect(This,pBufferForArgs,AlignedByteOffsetForArgs) )
  4561. #define ID3D11DeviceContext4_RSSetState(This,pRasterizerState) \
  4562. ( (This)->lpVtbl -> RSSetState(This,pRasterizerState) )
  4563. #define ID3D11DeviceContext4_RSSetViewports(This,NumViewports,pViewports) \
  4564. ( (This)->lpVtbl -> RSSetViewports(This,NumViewports,pViewports) )
  4565. #define ID3D11DeviceContext4_RSSetScissorRects(This,NumRects,pRects) \
  4566. ( (This)->lpVtbl -> RSSetScissorRects(This,NumRects,pRects) )
  4567. #define ID3D11DeviceContext4_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) \
  4568. ( (This)->lpVtbl -> CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) )
  4569. #define ID3D11DeviceContext4_CopyResource(This,pDstResource,pSrcResource) \
  4570. ( (This)->lpVtbl -> CopyResource(This,pDstResource,pSrcResource) )
  4571. #define ID3D11DeviceContext4_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
  4572. ( (This)->lpVtbl -> UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
  4573. #define ID3D11DeviceContext4_CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) \
  4574. ( (This)->lpVtbl -> CopyStructureCount(This,pDstBuffer,DstAlignedByteOffset,pSrcView) )
  4575. #define ID3D11DeviceContext4_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) \
  4576. ( (This)->lpVtbl -> ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) )
  4577. #define ID3D11DeviceContext4_ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) \
  4578. ( (This)->lpVtbl -> ClearUnorderedAccessViewUint(This,pUnorderedAccessView,Values) )
  4579. #define ID3D11DeviceContext4_ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) \
  4580. ( (This)->lpVtbl -> ClearUnorderedAccessViewFloat(This,pUnorderedAccessView,Values) )
  4581. #define ID3D11DeviceContext4_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) \
  4582. ( (This)->lpVtbl -> ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) )
  4583. #define ID3D11DeviceContext4_GenerateMips(This,pShaderResourceView) \
  4584. ( (This)->lpVtbl -> GenerateMips(This,pShaderResourceView) )
  4585. #define ID3D11DeviceContext4_SetResourceMinLOD(This,pResource,MinLOD) \
  4586. ( (This)->lpVtbl -> SetResourceMinLOD(This,pResource,MinLOD) )
  4587. #define ID3D11DeviceContext4_GetResourceMinLOD(This,pResource) \
  4588. ( (This)->lpVtbl -> GetResourceMinLOD(This,pResource) )
  4589. #define ID3D11DeviceContext4_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) \
  4590. ( (This)->lpVtbl -> ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) )
  4591. #define ID3D11DeviceContext4_ExecuteCommandList(This,pCommandList,RestoreContextState) \
  4592. ( (This)->lpVtbl -> ExecuteCommandList(This,pCommandList,RestoreContextState) )
  4593. #define ID3D11DeviceContext4_HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4594. ( (This)->lpVtbl -> HSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4595. #define ID3D11DeviceContext4_HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) \
  4596. ( (This)->lpVtbl -> HSSetShader(This,pHullShader,ppClassInstances,NumClassInstances) )
  4597. #define ID3D11DeviceContext4_HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4598. ( (This)->lpVtbl -> HSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4599. #define ID3D11DeviceContext4_HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4600. ( (This)->lpVtbl -> HSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4601. #define ID3D11DeviceContext4_DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4602. ( (This)->lpVtbl -> DSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4603. #define ID3D11DeviceContext4_DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) \
  4604. ( (This)->lpVtbl -> DSSetShader(This,pDomainShader,ppClassInstances,NumClassInstances) )
  4605. #define ID3D11DeviceContext4_DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4606. ( (This)->lpVtbl -> DSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4607. #define ID3D11DeviceContext4_DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4608. ( (This)->lpVtbl -> DSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4609. #define ID3D11DeviceContext4_CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4610. ( (This)->lpVtbl -> CSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4611. #define ID3D11DeviceContext4_CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) \
  4612. ( (This)->lpVtbl -> CSSetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews,pUAVInitialCounts) )
  4613. #define ID3D11DeviceContext4_CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) \
  4614. ( (This)->lpVtbl -> CSSetShader(This,pComputeShader,ppClassInstances,NumClassInstances) )
  4615. #define ID3D11DeviceContext4_CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4616. ( (This)->lpVtbl -> CSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4617. #define ID3D11DeviceContext4_CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4618. ( (This)->lpVtbl -> CSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4619. #define ID3D11DeviceContext4_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4620. ( (This)->lpVtbl -> VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4621. #define ID3D11DeviceContext4_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4622. ( (This)->lpVtbl -> PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4623. #define ID3D11DeviceContext4_PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) \
  4624. ( (This)->lpVtbl -> PSGetShader(This,ppPixelShader,ppClassInstances,pNumClassInstances) )
  4625. #define ID3D11DeviceContext4_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4626. ( (This)->lpVtbl -> PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4627. #define ID3D11DeviceContext4_VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) \
  4628. ( (This)->lpVtbl -> VSGetShader(This,ppVertexShader,ppClassInstances,pNumClassInstances) )
  4629. #define ID3D11DeviceContext4_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4630. ( (This)->lpVtbl -> PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4631. #define ID3D11DeviceContext4_IAGetInputLayout(This,ppInputLayout) \
  4632. ( (This)->lpVtbl -> IAGetInputLayout(This,ppInputLayout) )
  4633. #define ID3D11DeviceContext4_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
  4634. ( (This)->lpVtbl -> IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
  4635. #define ID3D11DeviceContext4_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) \
  4636. ( (This)->lpVtbl -> IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) )
  4637. #define ID3D11DeviceContext4_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4638. ( (This)->lpVtbl -> GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4639. #define ID3D11DeviceContext4_GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) \
  4640. ( (This)->lpVtbl -> GSGetShader(This,ppGeometryShader,ppClassInstances,pNumClassInstances) )
  4641. #define ID3D11DeviceContext4_IAGetPrimitiveTopology(This,pTopology) \
  4642. ( (This)->lpVtbl -> IAGetPrimitiveTopology(This,pTopology) )
  4643. #define ID3D11DeviceContext4_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4644. ( (This)->lpVtbl -> VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4645. #define ID3D11DeviceContext4_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4646. ( (This)->lpVtbl -> VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4647. #define ID3D11DeviceContext4_GetPredication(This,ppPredicate,pPredicateValue) \
  4648. ( (This)->lpVtbl -> GetPredication(This,ppPredicate,pPredicateValue) )
  4649. #define ID3D11DeviceContext4_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4650. ( (This)->lpVtbl -> GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4651. #define ID3D11DeviceContext4_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4652. ( (This)->lpVtbl -> GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4653. #define ID3D11DeviceContext4_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) \
  4654. ( (This)->lpVtbl -> OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) )
  4655. #define ID3D11DeviceContext4_OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) \
  4656. ( (This)->lpVtbl -> OMGetRenderTargetsAndUnorderedAccessViews(This,NumRTVs,ppRenderTargetViews,ppDepthStencilView,UAVStartSlot,NumUAVs,ppUnorderedAccessViews) )
  4657. #define ID3D11DeviceContext4_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) \
  4658. ( (This)->lpVtbl -> OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) )
  4659. #define ID3D11DeviceContext4_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) \
  4660. ( (This)->lpVtbl -> OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) )
  4661. #define ID3D11DeviceContext4_SOGetTargets(This,NumBuffers,ppSOTargets) \
  4662. ( (This)->lpVtbl -> SOGetTargets(This,NumBuffers,ppSOTargets) )
  4663. #define ID3D11DeviceContext4_RSGetState(This,ppRasterizerState) \
  4664. ( (This)->lpVtbl -> RSGetState(This,ppRasterizerState) )
  4665. #define ID3D11DeviceContext4_RSGetViewports(This,pNumViewports,pViewports) \
  4666. ( (This)->lpVtbl -> RSGetViewports(This,pNumViewports,pViewports) )
  4667. #define ID3D11DeviceContext4_RSGetScissorRects(This,pNumRects,pRects) \
  4668. ( (This)->lpVtbl -> RSGetScissorRects(This,pNumRects,pRects) )
  4669. #define ID3D11DeviceContext4_HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4670. ( (This)->lpVtbl -> HSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4671. #define ID3D11DeviceContext4_HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) \
  4672. ( (This)->lpVtbl -> HSGetShader(This,ppHullShader,ppClassInstances,pNumClassInstances) )
  4673. #define ID3D11DeviceContext4_HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4674. ( (This)->lpVtbl -> HSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4675. #define ID3D11DeviceContext4_HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4676. ( (This)->lpVtbl -> HSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4677. #define ID3D11DeviceContext4_DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4678. ( (This)->lpVtbl -> DSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4679. #define ID3D11DeviceContext4_DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) \
  4680. ( (This)->lpVtbl -> DSGetShader(This,ppDomainShader,ppClassInstances,pNumClassInstances) )
  4681. #define ID3D11DeviceContext4_DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4682. ( (This)->lpVtbl -> DSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4683. #define ID3D11DeviceContext4_DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4684. ( (This)->lpVtbl -> DSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4685. #define ID3D11DeviceContext4_CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
  4686. ( (This)->lpVtbl -> CSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
  4687. #define ID3D11DeviceContext4_CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) \
  4688. ( (This)->lpVtbl -> CSGetUnorderedAccessViews(This,StartSlot,NumUAVs,ppUnorderedAccessViews) )
  4689. #define ID3D11DeviceContext4_CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) \
  4690. ( (This)->lpVtbl -> CSGetShader(This,ppComputeShader,ppClassInstances,pNumClassInstances) )
  4691. #define ID3D11DeviceContext4_CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
  4692. ( (This)->lpVtbl -> CSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
  4693. #define ID3D11DeviceContext4_CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
  4694. ( (This)->lpVtbl -> CSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
  4695. #define ID3D11DeviceContext4_ClearState(This) \
  4696. ( (This)->lpVtbl -> ClearState(This) )
  4697. #define ID3D11DeviceContext4_Flush(This) \
  4698. ( (This)->lpVtbl -> Flush(This) )
  4699. #define ID3D11DeviceContext4_GetType(This) \
  4700. ( (This)->lpVtbl -> GetType(This) )
  4701. #define ID3D11DeviceContext4_GetContextFlags(This) \
  4702. ( (This)->lpVtbl -> GetContextFlags(This) )
  4703. #define ID3D11DeviceContext4_FinishCommandList(This,RestoreDeferredContextState,ppCommandList) \
  4704. ( (This)->lpVtbl -> FinishCommandList(This,RestoreDeferredContextState,ppCommandList) )
  4705. #define ID3D11DeviceContext4_CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) \
  4706. ( (This)->lpVtbl -> CopySubresourceRegion1(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox,CopyFlags) )
  4707. #define ID3D11DeviceContext4_UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) \
  4708. ( (This)->lpVtbl -> UpdateSubresource1(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch,CopyFlags) )
  4709. #define ID3D11DeviceContext4_DiscardResource(This,pResource) \
  4710. ( (This)->lpVtbl -> DiscardResource(This,pResource) )
  4711. #define ID3D11DeviceContext4_DiscardView(This,pResourceView) \
  4712. ( (This)->lpVtbl -> DiscardView(This,pResourceView) )
  4713. #define ID3D11DeviceContext4_VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4714. ( (This)->lpVtbl -> VSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4715. #define ID3D11DeviceContext4_HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4716. ( (This)->lpVtbl -> HSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4717. #define ID3D11DeviceContext4_DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4718. ( (This)->lpVtbl -> DSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4719. #define ID3D11DeviceContext4_GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4720. ( (This)->lpVtbl -> GSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4721. #define ID3D11DeviceContext4_PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4722. ( (This)->lpVtbl -> PSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4723. #define ID3D11DeviceContext4_CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4724. ( (This)->lpVtbl -> CSSetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4725. #define ID3D11DeviceContext4_VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4726. ( (This)->lpVtbl -> VSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4727. #define ID3D11DeviceContext4_HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4728. ( (This)->lpVtbl -> HSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4729. #define ID3D11DeviceContext4_DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4730. ( (This)->lpVtbl -> DSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4731. #define ID3D11DeviceContext4_GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4732. ( (This)->lpVtbl -> GSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4733. #define ID3D11DeviceContext4_PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4734. ( (This)->lpVtbl -> PSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4735. #define ID3D11DeviceContext4_CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) \
  4736. ( (This)->lpVtbl -> CSGetConstantBuffers1(This,StartSlot,NumBuffers,ppConstantBuffers,pFirstConstant,pNumConstants) )
  4737. #define ID3D11DeviceContext4_SwapDeviceContextState(This,pState,ppPreviousState) \
  4738. ( (This)->lpVtbl -> SwapDeviceContextState(This,pState,ppPreviousState) )
  4739. #define ID3D11DeviceContext4_ClearView(This,pView,Color,pRect,NumRects) \
  4740. ( (This)->lpVtbl -> ClearView(This,pView,Color,pRect,NumRects) )
  4741. #define ID3D11DeviceContext4_DiscardView1(This,pResourceView,pRects,NumRects) \
  4742. ( (This)->lpVtbl -> DiscardView1(This,pResourceView,pRects,NumRects) )
  4743. #define ID3D11DeviceContext4_UpdateTileMappings(This,pTiledResource,NumTiledResourceRegions,pTiledResourceRegionStartCoordinates,pTiledResourceRegionSizes,pTilePool,NumRanges,pRangeFlags,pTilePoolStartOffsets,pRangeTileCounts,Flags) \
  4744. ( (This)->lpVtbl -> UpdateTileMappings(This,pTiledResource,NumTiledResourceRegions,pTiledResourceRegionStartCoordinates,pTiledResourceRegionSizes,pTilePool,NumRanges,pRangeFlags,pTilePoolStartOffsets,pRangeTileCounts,Flags) )
  4745. #define ID3D11DeviceContext4_CopyTileMappings(This,pDestTiledResource,pDestRegionStartCoordinate,pSourceTiledResource,pSourceRegionStartCoordinate,pTileRegionSize,Flags) \
  4746. ( (This)->lpVtbl -> CopyTileMappings(This,pDestTiledResource,pDestRegionStartCoordinate,pSourceTiledResource,pSourceRegionStartCoordinate,pTileRegionSize,Flags) )
  4747. #define ID3D11DeviceContext4_CopyTiles(This,pTiledResource,pTileRegionStartCoordinate,pTileRegionSize,pBuffer,BufferStartOffsetInBytes,Flags) \
  4748. ( (This)->lpVtbl -> CopyTiles(This,pTiledResource,pTileRegionStartCoordinate,pTileRegionSize,pBuffer,BufferStartOffsetInBytes,Flags) )
  4749. #define ID3D11DeviceContext4_UpdateTiles(This,pDestTiledResource,pDestTileRegionStartCoordinate,pDestTileRegionSize,pSourceTileData,Flags) \
  4750. ( (This)->lpVtbl -> UpdateTiles(This,pDestTiledResource,pDestTileRegionStartCoordinate,pDestTileRegionSize,pSourceTileData,Flags) )
  4751. #define ID3D11DeviceContext4_ResizeTilePool(This,pTilePool,NewSizeInBytes) \
  4752. ( (This)->lpVtbl -> ResizeTilePool(This,pTilePool,NewSizeInBytes) )
  4753. #define ID3D11DeviceContext4_TiledResourceBarrier(This,pTiledResourceOrViewAccessBeforeBarrier,pTiledResourceOrViewAccessAfterBarrier) \
  4754. ( (This)->lpVtbl -> TiledResourceBarrier(This,pTiledResourceOrViewAccessBeforeBarrier,pTiledResourceOrViewAccessAfterBarrier) )
  4755. #define ID3D11DeviceContext4_IsAnnotationEnabled(This) \
  4756. ( (This)->lpVtbl -> IsAnnotationEnabled(This) )
  4757. #define ID3D11DeviceContext4_SetMarkerInt(This,pLabel,Data) \
  4758. ( (This)->lpVtbl -> SetMarkerInt(This,pLabel,Data) )
  4759. #define ID3D11DeviceContext4_BeginEventInt(This,pLabel,Data) \
  4760. ( (This)->lpVtbl -> BeginEventInt(This,pLabel,Data) )
  4761. #define ID3D11DeviceContext4_EndEvent(This) \
  4762. ( (This)->lpVtbl -> EndEvent(This) )
  4763. #define ID3D11DeviceContext4_Flush1(This,ContextType,hEvent) \
  4764. ( (This)->lpVtbl -> Flush1(This,ContextType,hEvent) )
  4765. #define ID3D11DeviceContext4_SetHardwareProtectionState(This,HwProtectionEnable) \
  4766. ( (This)->lpVtbl -> SetHardwareProtectionState(This,HwProtectionEnable) )
  4767. #define ID3D11DeviceContext4_GetHardwareProtectionState(This,pHwProtectionEnable) \
  4768. ( (This)->lpVtbl -> GetHardwareProtectionState(This,pHwProtectionEnable) )
  4769. #define ID3D11DeviceContext4_Signal(This,pFence,Value) \
  4770. ( (This)->lpVtbl -> Signal(This,pFence,Value) )
  4771. #define ID3D11DeviceContext4_Wait(This,pFence,Value) \
  4772. ( (This)->lpVtbl -> Wait(This,pFence,Value) )
  4773. #endif /* COBJMACROS */
  4774. #endif /* C style interface */
  4775. #endif /* __ID3D11DeviceContext4_INTERFACE_DEFINED__ */
  4776. #ifndef __ID3D11Device3_INTERFACE_DEFINED__
  4777. #define __ID3D11Device3_INTERFACE_DEFINED__
  4778. /* interface ID3D11Device3 */
  4779. /* [unique][local][object][uuid] */
  4780. EXTERN_C const IID IID_ID3D11Device3;
  4781. #if defined(__cplusplus) && !defined(CINTERFACE)
  4782. MIDL_INTERFACE("A05C8C37-D2C6-4732-B3A0-9CE0B0DC9AE6")
  4783. ID3D11Device3 : public ID3D11Device2
  4784. {
  4785. public:
  4786. virtual HRESULT STDMETHODCALLTYPE CreateTexture2D1(
  4787. /* [annotation] */
  4788. _In_ const D3D11_TEXTURE2D_DESC1 *pDesc1,
  4789. /* [annotation] */
  4790. _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels * pDesc1->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
  4791. /* [annotation] */
  4792. _COM_Outptr_opt_ ID3D11Texture2D1 **ppTexture2D) = 0;
  4793. virtual HRESULT STDMETHODCALLTYPE CreateTexture3D1(
  4794. /* [annotation] */
  4795. _In_ const D3D11_TEXTURE3D_DESC1 *pDesc1,
  4796. /* [annotation] */
  4797. _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
  4798. /* [annotation] */
  4799. _COM_Outptr_opt_ ID3D11Texture3D1 **ppTexture3D) = 0;
  4800. virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState2(
  4801. /* [annotation] */
  4802. _In_ const D3D11_RASTERIZER_DESC2 *pRasterizerDesc,
  4803. /* [annotation] */
  4804. _COM_Outptr_opt_ ID3D11RasterizerState2 **ppRasterizerState) = 0;
  4805. virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView1(
  4806. /* [annotation] */
  4807. _In_ ID3D11Resource *pResource,
  4808. /* [annotation] */
  4809. _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1,
  4810. /* [annotation] */
  4811. _COM_Outptr_opt_ ID3D11ShaderResourceView1 **ppSRView1) = 0;
  4812. virtual HRESULT STDMETHODCALLTYPE CreateUnorderedAccessView1(
  4813. /* [annotation] */
  4814. _In_ ID3D11Resource *pResource,
  4815. /* [annotation] */
  4816. _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1,
  4817. /* [annotation] */
  4818. _COM_Outptr_opt_ ID3D11UnorderedAccessView1 **ppUAView1) = 0;
  4819. virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView1(
  4820. /* [annotation] */
  4821. _In_ ID3D11Resource *pResource,
  4822. /* [annotation] */
  4823. _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1,
  4824. /* [annotation] */
  4825. _COM_Outptr_opt_ ID3D11RenderTargetView1 **ppRTView1) = 0;
  4826. virtual HRESULT STDMETHODCALLTYPE CreateQuery1(
  4827. /* [annotation] */
  4828. _In_ const D3D11_QUERY_DESC1 *pQueryDesc1,
  4829. /* [annotation] */
  4830. _COM_Outptr_opt_ ID3D11Query1 **ppQuery1) = 0;
  4831. virtual void STDMETHODCALLTYPE GetImmediateContext3(
  4832. /* [annotation] */
  4833. _Outptr_ ID3D11DeviceContext3 **ppImmediateContext) = 0;
  4834. virtual HRESULT STDMETHODCALLTYPE CreateDeferredContext3(
  4835. UINT ContextFlags,
  4836. /* [annotation] */
  4837. _COM_Outptr_opt_ ID3D11DeviceContext3 **ppDeferredContext) = 0;
  4838. virtual void STDMETHODCALLTYPE WriteToSubresource(
  4839. /* [annotation] */
  4840. _In_ ID3D11Resource *pDstResource,
  4841. /* [annotation] */
  4842. _In_ UINT DstSubresource,
  4843. /* [annotation] */
  4844. _In_opt_ const D3D11_BOX *pDstBox,
  4845. /* [annotation] */
  4846. _In_ const void *pSrcData,
  4847. /* [annotation] */
  4848. _In_ UINT SrcRowPitch,
  4849. /* [annotation] */
  4850. _In_ UINT SrcDepthPitch) = 0;
  4851. virtual void STDMETHODCALLTYPE ReadFromSubresource(
  4852. /* [annotation] */
  4853. _Out_ void *pDstData,
  4854. /* [annotation] */
  4855. _In_ UINT DstRowPitch,
  4856. /* [annotation] */
  4857. _In_ UINT DstDepthPitch,
  4858. /* [annotation] */
  4859. _In_ ID3D11Resource *pSrcResource,
  4860. /* [annotation] */
  4861. _In_ UINT SrcSubresource,
  4862. /* [annotation] */
  4863. _In_opt_ const D3D11_BOX *pSrcBox) = 0;
  4864. };
  4865. #else /* C style interface */
  4866. typedef struct ID3D11Device3Vtbl
  4867. {
  4868. BEGIN_INTERFACE
  4869. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4870. ID3D11Device3 * This,
  4871. /* [in] */ REFIID riid,
  4872. /* [annotation][iid_is][out] */
  4873. _COM_Outptr_ void **ppvObject);
  4874. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4875. ID3D11Device3 * This);
  4876. ULONG ( STDMETHODCALLTYPE *Release )(
  4877. ID3D11Device3 * This);
  4878. HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
  4879. ID3D11Device3 * This,
  4880. /* [annotation] */
  4881. _In_ const D3D11_BUFFER_DESC *pDesc,
  4882. /* [annotation] */
  4883. _In_opt_ const D3D11_SUBRESOURCE_DATA *pInitialData,
  4884. /* [annotation] */
  4885. _COM_Outptr_opt_ ID3D11Buffer **ppBuffer);
  4886. HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
  4887. ID3D11Device3 * This,
  4888. /* [annotation] */
  4889. _In_ const D3D11_TEXTURE1D_DESC *pDesc,
  4890. /* [annotation] */
  4891. _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
  4892. /* [annotation] */
  4893. _COM_Outptr_opt_ ID3D11Texture1D **ppTexture1D);
  4894. HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
  4895. ID3D11Device3 * This,
  4896. /* [annotation] */
  4897. _In_ const D3D11_TEXTURE2D_DESC *pDesc,
  4898. /* [annotation] */
  4899. _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
  4900. /* [annotation] */
  4901. _COM_Outptr_opt_ ID3D11Texture2D **ppTexture2D);
  4902. HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
  4903. ID3D11Device3 * This,
  4904. /* [annotation] */
  4905. _In_ const D3D11_TEXTURE3D_DESC *pDesc,
  4906. /* [annotation] */
  4907. _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
  4908. /* [annotation] */
  4909. _COM_Outptr_opt_ ID3D11Texture3D **ppTexture3D);
  4910. HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
  4911. ID3D11Device3 * This,
  4912. /* [annotation] */
  4913. _In_ ID3D11Resource *pResource,
  4914. /* [annotation] */
  4915. _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC *pDesc,
  4916. /* [annotation] */
  4917. _COM_Outptr_opt_ ID3D11ShaderResourceView **ppSRView);
  4918. HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView )(
  4919. ID3D11Device3 * This,
  4920. /* [annotation] */
  4921. _In_ ID3D11Resource *pResource,
  4922. /* [annotation] */
  4923. _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC *pDesc,
  4924. /* [annotation] */
  4925. _COM_Outptr_opt_ ID3D11UnorderedAccessView **ppUAView);
  4926. HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
  4927. ID3D11Device3 * This,
  4928. /* [annotation] */
  4929. _In_ ID3D11Resource *pResource,
  4930. /* [annotation] */
  4931. _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC *pDesc,
  4932. /* [annotation] */
  4933. _COM_Outptr_opt_ ID3D11RenderTargetView **ppRTView);
  4934. HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
  4935. ID3D11Device3 * This,
  4936. /* [annotation] */
  4937. _In_ ID3D11Resource *pResource,
  4938. /* [annotation] */
  4939. _In_opt_ const D3D11_DEPTH_STENCIL_VIEW_DESC *pDesc,
  4940. /* [annotation] */
  4941. _COM_Outptr_opt_ ID3D11DepthStencilView **ppDepthStencilView);
  4942. HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
  4943. ID3D11Device3 * This,
  4944. /* [annotation] */
  4945. _In_reads_(NumElements) const D3D11_INPUT_ELEMENT_DESC *pInputElementDescs,
  4946. /* [annotation] */
  4947. _In_range_( 0, D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
  4948. /* [annotation] */
  4949. _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
  4950. /* [annotation] */
  4951. _In_ SIZE_T BytecodeLength,
  4952. /* [annotation] */
  4953. _COM_Outptr_opt_ ID3D11InputLayout **ppInputLayout);
  4954. HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
  4955. ID3D11Device3 * This,
  4956. /* [annotation] */
  4957. _In_reads_(BytecodeLength) const void *pShaderBytecode,
  4958. /* [annotation] */
  4959. _In_ SIZE_T BytecodeLength,
  4960. /* [annotation] */
  4961. _In_opt_ ID3D11ClassLinkage *pClassLinkage,
  4962. /* [annotation] */
  4963. _COM_Outptr_opt_ ID3D11VertexShader **ppVertexShader);
  4964. HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
  4965. ID3D11Device3 * This,
  4966. /* [annotation] */
  4967. _In_reads_(BytecodeLength) const void *pShaderBytecode,
  4968. /* [annotation] */
  4969. _In_ SIZE_T BytecodeLength,
  4970. /* [annotation] */
  4971. _In_opt_ ID3D11ClassLinkage *pClassLinkage,
  4972. /* [annotation] */
  4973. _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
  4974. HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
  4975. ID3D11Device3 * This,
  4976. /* [annotation] */
  4977. _In_reads_(BytecodeLength) const void *pShaderBytecode,
  4978. /* [annotation] */
  4979. _In_ SIZE_T BytecodeLength,
  4980. /* [annotation] */
  4981. _In_reads_opt_(NumEntries) const D3D11_SO_DECLARATION_ENTRY *pSODeclaration,
  4982. /* [annotation] */
  4983. _In_range_( 0, D3D11_SO_STREAM_COUNT * D3D11_SO_OUTPUT_COMPONENT_COUNT ) UINT NumEntries,
  4984. /* [annotation] */
  4985. _In_reads_opt_(NumStrides) const UINT *pBufferStrides,
  4986. /* [annotation] */
  4987. _In_range_( 0, D3D11_SO_BUFFER_SLOT_COUNT ) UINT NumStrides,
  4988. /* [annotation] */
  4989. _In_ UINT RasterizedStream,
  4990. /* [annotation] */
  4991. _In_opt_ ID3D11ClassLinkage *pClassLinkage,
  4992. /* [annotation] */
  4993. _COM_Outptr_opt_ ID3D11GeometryShader **ppGeometryShader);
  4994. HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
  4995. ID3D11Device3 * This,
  4996. /* [annotation] */
  4997. _In_reads_(BytecodeLength) const void *pShaderBytecode,
  4998. /* [annotation] */
  4999. _In_ SIZE_T BytecodeLength,
  5000. /* [annotation] */
  5001. _In_opt_ ID3D11ClassLinkage *pClassLinkage,
  5002. /* [annotation] */
  5003. _COM_Outptr_opt_ ID3D11PixelShader **ppPixelShader);
  5004. HRESULT ( STDMETHODCALLTYPE *CreateHullShader )(
  5005. ID3D11Device3 * This,
  5006. /* [annotation] */
  5007. _In_reads_(BytecodeLength) const void *pShaderBytecode,
  5008. /* [annotation] */
  5009. _In_ SIZE_T BytecodeLength,
  5010. /* [annotation] */
  5011. _In_opt_ ID3D11ClassLinkage *pClassLinkage,
  5012. /* [annotation] */
  5013. _COM_Outptr_opt_ ID3D11HullShader **ppHullShader);
  5014. HRESULT ( STDMETHODCALLTYPE *CreateDomainShader )(
  5015. ID3D11Device3 * This,
  5016. /* [annotation] */
  5017. _In_reads_(BytecodeLength) const void *pShaderBytecode,
  5018. /* [annotation] */
  5019. _In_ SIZE_T BytecodeLength,
  5020. /* [annotation] */
  5021. _In_opt_ ID3D11ClassLinkage *pClassLinkage,
  5022. /* [annotation] */
  5023. _COM_Outptr_opt_ ID3D11DomainShader **ppDomainShader);
  5024. HRESULT ( STDMETHODCALLTYPE *CreateComputeShader )(
  5025. ID3D11Device3 * This,
  5026. /* [annotation] */
  5027. _In_reads_(BytecodeLength) const void *pShaderBytecode,
  5028. /* [annotation] */
  5029. _In_ SIZE_T BytecodeLength,
  5030. /* [annotation] */
  5031. _In_opt_ ID3D11ClassLinkage *pClassLinkage,
  5032. /* [annotation] */
  5033. _COM_Outptr_opt_ ID3D11ComputeShader **ppComputeShader);
  5034. HRESULT ( STDMETHODCALLTYPE *CreateClassLinkage )(
  5035. ID3D11Device3 * This,
  5036. /* [annotation] */
  5037. _COM_Outptr_ ID3D11ClassLinkage **ppLinkage);
  5038. HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
  5039. ID3D11Device3 * This,
  5040. /* [annotation] */
  5041. _In_ const D3D11_BLEND_DESC *pBlendStateDesc,
  5042. /* [annotation] */
  5043. _COM_Outptr_opt_ ID3D11BlendState **ppBlendState);
  5044. HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
  5045. ID3D11Device3 * This,
  5046. /* [annotation] */
  5047. _In_ const D3D11_DEPTH_STENCIL_DESC *pDepthStencilDesc,
  5048. /* [annotation] */
  5049. _COM_Outptr_opt_ ID3D11DepthStencilState **ppDepthStencilState);
  5050. HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
  5051. ID3D11Device3 * This,
  5052. /* [annotation] */
  5053. _In_ const D3D11_RASTERIZER_DESC *pRasterizerDesc,
  5054. /* [annotation] */
  5055. _COM_Outptr_opt_ ID3D11RasterizerState **ppRasterizerState);
  5056. HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
  5057. ID3D11Device3 * This,
  5058. /* [annotation] */
  5059. _In_ const D3D11_SAMPLER_DESC *pSamplerDesc,
  5060. /* [annotation] */
  5061. _COM_Outptr_opt_ ID3D11SamplerState **ppSamplerState);
  5062. HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
  5063. ID3D11Device3 * This,
  5064. /* [annotation] */
  5065. _In_ const D3D11_QUERY_DESC *pQueryDesc,
  5066. /* [annotation] */
  5067. _COM_Outptr_opt_ ID3D11Query **ppQuery);
  5068. HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
  5069. ID3D11Device3 * This,
  5070. /* [annotation] */
  5071. _In_ const D3D11_QUERY_DESC *pPredicateDesc,
  5072. /* [annotation] */
  5073. _COM_Outptr_opt_ ID3D11Predicate **ppPredicate);
  5074. HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
  5075. ID3D11Device3 * This,
  5076. /* [annotation] */
  5077. _In_ const D3D11_COUNTER_DESC *pCounterDesc,
  5078. /* [annotation] */
  5079. _COM_Outptr_opt_ ID3D11Counter **ppCounter);
  5080. HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext )(
  5081. ID3D11Device3 * This,
  5082. UINT ContextFlags,
  5083. /* [annotation] */
  5084. _COM_Outptr_opt_ ID3D11DeviceContext **ppDeferredContext);
  5085. HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
  5086. ID3D11Device3 * This,
  5087. /* [annotation] */
  5088. _In_ HANDLE hResource,
  5089. /* [annotation] */
  5090. _In_ REFIID ReturnedInterface,
  5091. /* [annotation] */
  5092. _COM_Outptr_opt_ void **ppResource);
  5093. HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
  5094. ID3D11Device3 * This,
  5095. /* [annotation] */
  5096. _In_ DXGI_FORMAT Format,
  5097. /* [annotation] */
  5098. _Out_ UINT *pFormatSupport);
  5099. HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
  5100. ID3D11Device3 * This,
  5101. /* [annotation] */
  5102. _In_ DXGI_FORMAT Format,
  5103. /* [annotation] */
  5104. _In_ UINT SampleCount,
  5105. /* [annotation] */
  5106. _Out_ UINT *pNumQualityLevels);
  5107. void ( STDMETHODCALLTYPE *CheckCounterInfo )(
  5108. ID3D11Device3 * This,
  5109. /* [annotation] */
  5110. _Out_ D3D11_COUNTER_INFO *pCounterInfo);
  5111. HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
  5112. ID3D11Device3 * This,
  5113. /* [annotation] */
  5114. _In_ const D3D11_COUNTER_DESC *pDesc,
  5115. /* [annotation] */
  5116. _Out_ D3D11_COUNTER_TYPE *pType,
  5117. /* [annotation] */
  5118. _Out_ UINT *pActiveCounters,
  5119. /* [annotation] */
  5120. _Out_writes_opt_(*pNameLength) LPSTR szName,
  5121. /* [annotation] */
  5122. _Inout_opt_ UINT *pNameLength,
  5123. /* [annotation] */
  5124. _Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
  5125. /* [annotation] */
  5126. _Inout_opt_ UINT *pUnitsLength,
  5127. /* [annotation] */
  5128. _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
  5129. /* [annotation] */
  5130. _Inout_opt_ UINT *pDescriptionLength);
  5131. HRESULT ( STDMETHODCALLTYPE *CheckFeatureSupport )(
  5132. ID3D11Device3 * This,
  5133. D3D11_FEATURE Feature,
  5134. /* [annotation] */
  5135. _Out_writes_bytes_(FeatureSupportDataSize) void *pFeatureSupportData,
  5136. UINT FeatureSupportDataSize);
  5137. HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
  5138. ID3D11Device3 * This,
  5139. /* [annotation] */
  5140. _In_ REFGUID guid,
  5141. /* [annotation] */
  5142. _Inout_ UINT *pDataSize,
  5143. /* [annotation] */
  5144. _Out_writes_bytes_opt_(*pDataSize) void *pData);
  5145. HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
  5146. ID3D11Device3 * This,
  5147. /* [annotation] */
  5148. _In_ REFGUID guid,
  5149. /* [annotation] */
  5150. _In_ UINT DataSize,
  5151. /* [annotation] */
  5152. _In_reads_bytes_opt_(DataSize) const void *pData);
  5153. HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
  5154. ID3D11Device3 * This,
  5155. /* [annotation] */
  5156. _In_ REFGUID guid,
  5157. /* [annotation] */
  5158. _In_opt_ const IUnknown *pData);
  5159. D3D_FEATURE_LEVEL ( STDMETHODCALLTYPE *GetFeatureLevel )(
  5160. ID3D11Device3 * This);
  5161. UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
  5162. ID3D11Device3 * This);
  5163. HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
  5164. ID3D11Device3 * This);
  5165. void ( STDMETHODCALLTYPE *GetImmediateContext )(
  5166. ID3D11Device3 * This,
  5167. /* [annotation] */
  5168. _Outptr_ ID3D11DeviceContext **ppImmediateContext);
  5169. HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
  5170. ID3D11Device3 * This,
  5171. UINT RaiseFlags);
  5172. UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
  5173. ID3D11Device3 * This);
  5174. void ( STDMETHODCALLTYPE *GetImmediateContext1 )(
  5175. ID3D11Device3 * This,
  5176. /* [annotation] */
  5177. _Outptr_ ID3D11DeviceContext1 **ppImmediateContext);
  5178. HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext1 )(
  5179. ID3D11Device3 * This,
  5180. UINT ContextFlags,
  5181. /* [annotation] */
  5182. _COM_Outptr_opt_ ID3D11DeviceContext1 **ppDeferredContext);
  5183. HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )(
  5184. ID3D11Device3 * This,
  5185. /* [annotation] */
  5186. _In_ const D3D11_BLEND_DESC1 *pBlendStateDesc,
  5187. /* [annotation] */
  5188. _COM_Outptr_opt_ ID3D11BlendState1 **ppBlendState);
  5189. HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState1 )(
  5190. ID3D11Device3 * This,
  5191. /* [annotation] */
  5192. _In_ const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
  5193. /* [annotation] */
  5194. _COM_Outptr_opt_ ID3D11RasterizerState1 **ppRasterizerState);
  5195. HRESULT ( STDMETHODCALLTYPE *CreateDeviceContextState )(
  5196. ID3D11Device3 * This,
  5197. UINT Flags,
  5198. /* [annotation] */
  5199. _In_reads_( FeatureLevels ) const D3D_FEATURE_LEVEL *pFeatureLevels,
  5200. UINT FeatureLevels,
  5201. UINT SDKVersion,
  5202. REFIID EmulatedInterface,
  5203. /* [annotation] */
  5204. _Out_opt_ D3D_FEATURE_LEVEL *pChosenFeatureLevel,
  5205. /* [annotation] */
  5206. _Out_opt_ ID3DDeviceContextState **ppContextState);
  5207. HRESULT ( STDMETHODCALLTYPE *OpenSharedResource1 )(
  5208. ID3D11Device3 * This,
  5209. /* [annotation] */
  5210. _In_ HANDLE hResource,
  5211. /* [annotation] */
  5212. _In_ REFIID returnedInterface,
  5213. /* [annotation] */
  5214. _COM_Outptr_ void **ppResource);
  5215. HRESULT ( STDMETHODCALLTYPE *OpenSharedResourceByName )(
  5216. ID3D11Device3 * This,
  5217. /* [annotation] */
  5218. _In_ LPCWSTR lpName,
  5219. /* [annotation] */
  5220. _In_ DWORD dwDesiredAccess,
  5221. /* [annotation] */
  5222. _In_ REFIID returnedInterface,
  5223. /* [annotation] */
  5224. _COM_Outptr_ void **ppResource);
  5225. void ( STDMETHODCALLTYPE *GetImmediateContext2 )(
  5226. ID3D11Device3 * This,
  5227. /* [annotation] */
  5228. _Outptr_ ID3D11DeviceContext2 **ppImmediateContext);
  5229. HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext2 )(
  5230. ID3D11Device3 * This,
  5231. UINT ContextFlags,
  5232. /* [annotation] */
  5233. _COM_Outptr_opt_ ID3D11DeviceContext2 **ppDeferredContext);
  5234. void ( STDMETHODCALLTYPE *GetResourceTiling )(
  5235. ID3D11Device3 * This,
  5236. /* [annotation] */
  5237. _In_ ID3D11Resource *pTiledResource,
  5238. /* [annotation] */
  5239. _Out_opt_ UINT *pNumTilesForEntireResource,
  5240. /* [annotation] */
  5241. _Out_opt_ D3D11_PACKED_MIP_DESC *pPackedMipDesc,
  5242. /* [annotation] */
  5243. _Out_opt_ D3D11_TILE_SHAPE *pStandardTileShapeForNonPackedMips,
  5244. /* [annotation] */
  5245. _Inout_opt_ UINT *pNumSubresourceTilings,
  5246. /* [annotation] */
  5247. _In_ UINT FirstSubresourceTilingToGet,
  5248. /* [annotation] */
  5249. _Out_writes_(*pNumSubresourceTilings) D3D11_SUBRESOURCE_TILING *pSubresourceTilingsForNonPackedMips);
  5250. HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels1 )(
  5251. ID3D11Device3 * This,
  5252. /* [annotation] */
  5253. _In_ DXGI_FORMAT Format,
  5254. /* [annotation] */
  5255. _In_ UINT SampleCount,
  5256. /* [annotation] */
  5257. _In_ UINT Flags,
  5258. /* [annotation] */
  5259. _Out_ UINT *pNumQualityLevels);
  5260. HRESULT ( STDMETHODCALLTYPE *CreateTexture2D1 )(
  5261. ID3D11Device3 * This,
  5262. /* [annotation] */
  5263. _In_ const D3D11_TEXTURE2D_DESC1 *pDesc1,
  5264. /* [annotation] */
  5265. _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels * pDesc1->ArraySize)) const D3D11_SUBRESOURCE_DATA *pInitialData,
  5266. /* [annotation] */
  5267. _COM_Outptr_opt_ ID3D11Texture2D1 **ppTexture2D);
  5268. HRESULT ( STDMETHODCALLTYPE *CreateTexture3D1 )(
  5269. ID3D11Device3 * This,
  5270. /* [annotation] */
  5271. _In_ const D3D11_TEXTURE3D_DESC1 *pDesc1,
  5272. /* [annotation] */
  5273. _In_reads_opt_(_Inexpressible_(pDesc1->MipLevels)) const D3D11_SUBRESOURCE_DATA *pInitialData,
  5274. /* [annotation] */
  5275. _COM_Outptr_opt_ ID3D11Texture3D1 **ppTexture3D);
  5276. HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState2 )(
  5277. ID3D11Device3 * This,
  5278. /* [annotation] */
  5279. _In_ const D3D11_RASTERIZER_DESC2 *pRasterizerDesc,
  5280. /* [annotation] */
  5281. _COM_Outptr_opt_ ID3D11RasterizerState2 **ppRasterizerState);
  5282. HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView1 )(
  5283. ID3D11Device3 * This,
  5284. /* [annotation] */
  5285. _In_ ID3D11Resource *pResource,
  5286. /* [annotation] */
  5287. _In_opt_ const D3D11_SHADER_RESOURCE_VIEW_DESC1 *pDesc1,
  5288. /* [annotation] */
  5289. _COM_Outptr_opt_ ID3D11ShaderResourceView1 **ppSRView1);
  5290. HRESULT ( STDMETHODCALLTYPE *CreateUnorderedAccessView1 )(
  5291. ID3D11Device3 * This,
  5292. /* [annotation] */
  5293. _In_ ID3D11Resource *pResource,
  5294. /* [annotation] */
  5295. _In_opt_ const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *pDesc1,
  5296. /* [annotation] */
  5297. _COM_Outptr_opt_ ID3D11UnorderedAccessView1 **ppUAView1);
  5298. HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView1 )(
  5299. ID3D11Device3 * This,
  5300. /* [annotation] */
  5301. _In_ ID3D11Resource *pResource,
  5302. /* [annotation] */
  5303. _In_opt_ const D3D11_RENDER_TARGET_VIEW_DESC1 *pDesc1,
  5304. /* [annotation] */
  5305. _COM_Outptr_opt_ ID3D11RenderTargetView1 **ppRTView1);
  5306. HRESULT ( STDMETHODCALLTYPE *CreateQuery1 )(
  5307. ID3D11Device3 * This,
  5308. /* [annotation] */
  5309. _In_ const D3D11_QUERY_DESC1 *pQueryDesc1,
  5310. /* [annotation] */
  5311. _COM_Outptr_opt_ ID3D11Query1 **ppQuery1);
  5312. void ( STDMETHODCALLTYPE *GetImmediateContext3 )(
  5313. ID3D11Device3 * This,
  5314. /* [annotation] */
  5315. _Outptr_ ID3D11DeviceContext3 **ppImmediateContext);
  5316. HRESULT ( STDMETHODCALLTYPE *CreateDeferredContext3 )(
  5317. ID3D11Device3 * This,
  5318. UINT ContextFlags,
  5319. /* [annotation] */
  5320. _COM_Outptr_opt_ ID3D11DeviceContext3 **ppDeferredContext);
  5321. void ( STDMETHODCALLTYPE *WriteToSubresource )(
  5322. ID3D11Device3 * This,
  5323. /* [annotation] */
  5324. _In_ ID3D11Resource *pDstResource,
  5325. /* [annotation] */
  5326. _In_ UINT DstSubresource,
  5327. /* [annotation] */
  5328. _In_opt_ const D3D11_BOX *pDstBox,
  5329. /* [annotation] */
  5330. _In_ const void *pSrcData,
  5331. /* [annotation] */
  5332. _In_ UINT SrcRowPitch,
  5333. /* [annotation] */
  5334. _In_ UINT SrcDepthPitch);
  5335. void ( STDMETHODCALLTYPE *ReadFromSubresource )(
  5336. ID3D11Device3 * This,
  5337. /* [annotation] */
  5338. _Out_ void *pDstData,
  5339. /* [annotation] */
  5340. _In_ UINT DstRowPitch,
  5341. /* [annotation] */
  5342. _In_ UINT DstDepthPitch,
  5343. /* [annotation] */
  5344. _In_ ID3D11Resource *pSrcResource,
  5345. /* [annotation] */
  5346. _In_ UINT SrcSubresource,
  5347. /* [annotation] */
  5348. _In_opt_ const D3D11_BOX *pSrcBox);
  5349. END_INTERFACE
  5350. } ID3D11Device3Vtbl;
  5351. interface ID3D11Device3
  5352. {
  5353. CONST_VTBL struct ID3D11Device3Vtbl *lpVtbl;
  5354. };
  5355. #ifdef COBJMACROS
  5356. #define ID3D11Device3_QueryInterface(This,riid,ppvObject) \
  5357. ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
  5358. #define ID3D11Device3_AddRef(This) \
  5359. ( (This)->lpVtbl -> AddRef(This) )
  5360. #define ID3D11Device3_Release(This) \
  5361. ( (This)->lpVtbl -> Release(This) )
  5362. #define ID3D11Device3_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
  5363. ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
  5364. #define ID3D11Device3_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
  5365. ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
  5366. #define ID3D11Device3_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
  5367. ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
  5368. #define ID3D11Device3_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
  5369. ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
  5370. #define ID3D11Device3_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
  5371. ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
  5372. #define ID3D11Device3_CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) \
  5373. ( (This)->lpVtbl -> CreateUnorderedAccessView(This,pResource,pDesc,ppUAView) )
  5374. #define ID3D11Device3_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
  5375. ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
  5376. #define ID3D11Device3_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
  5377. ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
  5378. #define ID3D11Device3_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
  5379. ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
  5380. #define ID3D11Device3_CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) \
  5381. ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppVertexShader) )
  5382. #define ID3D11Device3_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) \
  5383. ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppGeometryShader) )
  5384. #define ID3D11Device3_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) \
  5385. ( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,pBufferStrides,NumStrides,RasterizedStream,pClassLinkage,ppGeometryShader) )
  5386. #define ID3D11Device3_CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) \
  5387. ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppPixelShader) )
  5388. #define ID3D11Device3_CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) \
  5389. ( (This)->lpVtbl -> CreateHullShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppHullShader) )
  5390. #define ID3D11Device3_CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) \
  5391. ( (This)->lpVtbl -> CreateDomainShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppDomainShader) )
  5392. #define ID3D11Device3_CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) \
  5393. ( (This)->lpVtbl -> CreateComputeShader(This,pShaderBytecode,BytecodeLength,pClassLinkage,ppComputeShader) )
  5394. #define ID3D11Device3_CreateClassLinkage(This,ppLinkage) \
  5395. ( (This)->lpVtbl -> CreateClassLinkage(This,ppLinkage) )
  5396. #define ID3D11Device3_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
  5397. ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
  5398. #define ID3D11Device3_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
  5399. ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
  5400. #define ID3D11Device3_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
  5401. ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
  5402. #define ID3D11Device3_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
  5403. ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
  5404. #define ID3D11Device3_CreateQuery(This,pQueryDesc,ppQuery) \
  5405. ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
  5406. #define ID3D11Device3_CreatePredicate(This,pPredicateDesc,ppPredicate) \
  5407. ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
  5408. #define ID3D11Device3_CreateCounter(This,pCounterDesc,ppCounter) \
  5409. ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
  5410. #define ID3D11Device3_CreateDeferredContext(This,ContextFlags,ppDeferredContext) \
  5411. ( (This)->lpVtbl -> CreateDeferredContext(This,ContextFlags,ppDeferredContext) )
  5412. #define ID3D11Device3_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
  5413. ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
  5414. #define ID3D11Device3_CheckFormatSupport(This,Format,pFormatSupport) \
  5415. ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
  5416. #define ID3D11Device3_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
  5417. ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
  5418. #define ID3D11Device3_CheckCounterInfo(This,pCounterInfo) \
  5419. ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
  5420. #define ID3D11Device3_CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) \
  5421. ( (This)->lpVtbl -> CheckCounter(This,pDesc,pType,pActiveCounters,szName,pNameLength,szUnits,pUnitsLength,szDescription,pDescriptionLength) )
  5422. #define ID3D11Device3_CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) \
  5423. ( (This)->lpVtbl -> CheckFeatureSupport(This,Feature,pFeatureSupportData,FeatureSupportDataSize) )
  5424. #define ID3D11Device3_GetPrivateData(This,guid,pDataSize,pData) \
  5425. ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
  5426. #define ID3D11Device3_SetPrivateData(This,guid,DataSize,pData) \
  5427. ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
  5428. #define ID3D11Device3_SetPrivateDataInterface(This,guid,pData) \
  5429. ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
  5430. #define ID3D11Device3_GetFeatureLevel(This) \
  5431. ( (This)->lpVtbl -> GetFeatureLevel(This) )
  5432. #define ID3D11Device3_GetCreationFlags(This) \
  5433. ( (This)->lpVtbl -> GetCreationFlags(This) )
  5434. #define ID3D11Device3_GetDeviceRemovedReason(This) \
  5435. ( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
  5436. #define ID3D11Device3_GetImmediateContext(This,ppImmediateContext) \
  5437. ( (This)->lpVtbl -> GetImmediateContext(This,ppImmediateContext) )
  5438. #define ID3D11Device3_SetExceptionMode(This,RaiseFlags) \
  5439. ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
  5440. #define ID3D11Device3_GetExceptionMode(This) \
  5441. ( (This)->lpVtbl -> GetExceptionMode(This) )
  5442. #define ID3D11Device3_GetImmediateContext1(This,ppImmediateContext) \
  5443. ( (This)->lpVtbl -> GetImmediateContext1(This,ppImmediateContext) )
  5444. #define ID3D11Device3_CreateDeferredContext1(This,ContextFlags,ppDeferredContext) \
  5445. ( (This)->lpVtbl -> CreateDeferredContext1(This,ContextFlags,ppDeferredContext) )
  5446. #define ID3D11Device3_CreateBlendState1(This,pBlendStateDesc,ppBlendState) \
  5447. ( (This)->lpVtbl -> CreateBlendState1(This,pBlendStateDesc,ppBlendState) )
  5448. #define ID3D11Device3_CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) \
  5449. ( (This)->lpVtbl -> CreateRasterizerState1(This,pRasterizerDesc,ppRasterizerState) )
  5450. #define ID3D11Device3_CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) \
  5451. ( (This)->lpVtbl -> CreateDeviceContextState(This,Flags,pFeatureLevels,FeatureLevels,SDKVersion,EmulatedInterface,pChosenFeatureLevel,ppContextState) )
  5452. #define ID3D11Device3_OpenSharedResource1(This,hResource,returnedInterface,ppResource) \
  5453. ( (This)->lpVtbl -> OpenSharedResource1(This,hResource,returnedInterface,ppResource) )
  5454. #define ID3D11Device3_OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) \
  5455. ( (This)->lpVtbl -> OpenSharedResourceByName(This,lpName,dwDesiredAccess,returnedInterface,ppResource) )
  5456. #define ID3D11Device3_GetImmediateContext2(This,ppImmediateContext) \
  5457. ( (This)->lpVtbl -> GetImmediateContext2(This,ppImmediateContext) )
  5458. #define ID3D11Device3_CreateDeferredContext2(This,ContextFlags,ppDeferredContext) \
  5459. ( (This)->lpVtbl -> CreateDeferredContext2(This,ContextFlags,ppDeferredContext) )
  5460. #define ID3D11Device3_GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) \
  5461. ( (This)->lpVtbl -> GetResourceTiling(This,pTiledResource,pNumTilesForEntireResource,pPackedMipDesc,pStandardTileShapeForNonPackedMips,pNumSubresourceTilings,FirstSubresourceTilingToGet,pSubresourceTilingsForNonPackedMips) )
  5462. #define ID3D11Device3_CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) \
  5463. ( (This)->lpVtbl -> CheckMultisampleQualityLevels1(This,Format,SampleCount,Flags,pNumQualityLevels) )
  5464. #define ID3D11Device3_CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) \
  5465. ( (This)->lpVtbl -> CreateTexture2D1(This,pDesc1,pInitialData,ppTexture2D) )
  5466. #define ID3D11Device3_CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) \
  5467. ( (This)->lpVtbl -> CreateTexture3D1(This,pDesc1,pInitialData,ppTexture3D) )
  5468. #define ID3D11Device3_CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) \
  5469. ( (This)->lpVtbl -> CreateRasterizerState2(This,pRasterizerDesc,ppRasterizerState) )
  5470. #define ID3D11Device3_CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) \
  5471. ( (This)->lpVtbl -> CreateShaderResourceView1(This,pResource,pDesc1,ppSRView1) )
  5472. #define ID3D11Device3_CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) \
  5473. ( (This)->lpVtbl -> CreateUnorderedAccessView1(This,pResource,pDesc1,ppUAView1) )
  5474. #define ID3D11Device3_CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) \
  5475. ( (This)->lpVtbl -> CreateRenderTargetView1(This,pResource,pDesc1,ppRTView1) )
  5476. #define ID3D11Device3_CreateQuery1(This,pQueryDesc1,ppQuery1) \
  5477. ( (This)->lpVtbl -> CreateQuery1(This,pQueryDesc1,ppQuery1) )
  5478. #define ID3D11Device3_GetImmediateContext3(This,ppImmediateContext) \
  5479. ( (This)->lpVtbl -> GetImmediateContext3(This,ppImmediateContext) )
  5480. #define ID3D11Device3_CreateDeferredContext3(This,ContextFlags,ppDeferredContext) \
  5481. ( (This)->lpVtbl -> CreateDeferredContext3(This,ContextFlags,ppDeferredContext) )
  5482. #define ID3D11Device3_WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
  5483. ( (This)->lpVtbl -> WriteToSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
  5484. #define ID3D11Device3_ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) \
  5485. ( (This)->lpVtbl -> ReadFromSubresource(This,pDstData,DstRowPitch,DstDepthPitch,pSrcResource,SrcSubresource,pSrcBox) )
  5486. #endif /* COBJMACROS */
  5487. #endif /* C style interface */
  5488. #endif /* __ID3D11Device3_INTERFACE_DEFINED__ */
  5489. /* interface __MIDL_itf_d3d11_3_0000_0011 */
  5490. /* [local] */
  5491. DEFINE_GUID(IID_ID3D11Texture2D1,0x51218251,0x1E33,0x4617,0x9C,0xCB,0x4D,0x3A,0x43,0x67,0xE7,0xBB);
  5492. DEFINE_GUID(IID_ID3D11Texture3D1,0x0C711683,0x2853,0x4846,0x9B,0xB0,0xF3,0xE6,0x06,0x39,0xE4,0x6A);
  5493. DEFINE_GUID(IID_ID3D11RasterizerState2,0x6fbd02fb,0x209f,0x46c4,0xb0,0x59,0x2e,0xd1,0x55,0x86,0xa6,0xac);
  5494. DEFINE_GUID(IID_ID3D11ShaderResourceView1,0x91308b87,0x9040,0x411d,0x8c,0x67,0xc3,0x92,0x53,0xce,0x38,0x02);
  5495. DEFINE_GUID(IID_ID3D11RenderTargetView1,0xffbe2e23,0xf011,0x418a,0xac,0x56,0x5c,0xee,0xd7,0xc5,0xb9,0x4b);
  5496. DEFINE_GUID(IID_ID3D11UnorderedAccessView1,0x7b3b6153,0xa886,0x4544,0xab,0x37,0x65,0x37,0xc8,0x50,0x04,0x03);
  5497. DEFINE_GUID(IID_ID3D11Query1,0x631b4766,0x36dc,0x461d,0x8d,0xb6,0xc4,0x7e,0x13,0xe6,0x09,0x16);
  5498. DEFINE_GUID(IID_ID3D11DeviceContext3,0xb4e3c01d,0xe79e,0x4637,0x91,0xb2,0x51,0x0e,0x9f,0x4c,0x9b,0x8f);
  5499. DEFINE_GUID(IID_ID3D11Fence,0xaffde9d1,0x1df7,0x4bb7,0x8a,0x34,0x0f,0x46,0x25,0x1d,0xab,0x80);
  5500. DEFINE_GUID(IID_ID3D11DeviceContext4,0x917600da,0xf58c,0x4c33,0x98,0xd8,0x3e,0x15,0xb3,0x90,0xfa,0x24);
  5501. DEFINE_GUID(IID_ID3D11Device3,0xA05C8C37,0xD2C6,0x4732,0xB3,0xA0,0x9C,0xE0,0xB0,0xDC,0x9A,0xE6);
  5502. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0011_v0_0_c_ifspec;
  5503. extern RPC_IF_HANDLE __MIDL_itf_d3d11_3_0000_0011_v0_0_s_ifspec;
  5504. /* Additional Prototypes for ALL interfaces */
  5505. /* end of Additional Prototypes */
  5506. #ifdef __cplusplus
  5507. }
  5508. #endif
  5509. #endif