[{"data":1,"prerenderedAt":521},["ShallowReactive",2],{"nvqCBdDGsW":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":520,"_id":4},"VkRayTracingShaderGroupTypeKHR","Shader group types","VK_KHR_ray_tracing_pipeline","enums",[],{"type":10,"children":11,"toc":518},"root",[12,37,338,343,424,503,512],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35],{"type":18,"value":19},"text","Possible values of ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"type",{"type":18,"value":28}," in ",{"type":13,"tag":21,"props":30,"children":32},{"className":31},[],[33],{"type":18,"value":34},"VkRayTracingShaderGroupCreateInfoKHR",{"type":18,"value":36},"\nare:",{"type":13,"tag":38,"props":39,"children":40},"code-group",{},[41,154],{"type":13,"tag":42,"props":43,"children":49},"pre",{"className":44,"code":45,"filename":46,"language":47,"meta":48,"style":48},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkRayTracingShaderGroupTypeKHR {\n VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR = 0,\n VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR = 1,\n VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR = 2,\n} VkRayTracingShaderGroupTypeKHR;\n","C","c","",[50],{"type":13,"tag":21,"props":51,"children":52},{"__ignoreMap":48},[53,76,101,123,145],{"type":13,"tag":54,"props":55,"children":58},"span",{"class":56,"line":57},"line",1,[59,65,70],{"type":13,"tag":54,"props":60,"children":62},{"style":61},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[63],{"type":18,"value":64},"typedef",{"type":13,"tag":54,"props":66,"children":67},{"style":61},[68],{"type":18,"value":69}," enum",{"type":13,"tag":54,"props":71,"children":73},{"style":72},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[74],{"type":18,"value":75}," VkRayTracingShaderGroupTypeKHR {\n",{"type":13,"tag":54,"props":77,"children":79},{"class":56,"line":78},2,[80,85,90,96],{"type":13,"tag":54,"props":81,"children":82},{"style":72},[83],{"type":18,"value":84}," VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR ",{"type":13,"tag":54,"props":86,"children":87},{"style":61},[88],{"type":18,"value":89},"=",{"type":13,"tag":54,"props":91,"children":93},{"style":92},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[94],{"type":18,"value":95}," 0",{"type":13,"tag":54,"props":97,"children":98},{"style":72},[99],{"type":18,"value":100},",\n",{"type":13,"tag":54,"props":102,"children":104},{"class":56,"line":103},3,[105,110,114,119],{"type":13,"tag":54,"props":106,"children":107},{"style":72},[108],{"type":18,"value":109}," VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR ",{"type":13,"tag":54,"props":111,"children":112},{"style":61},[113],{"type":18,"value":89},{"type":13,"tag":54,"props":115,"children":116},{"style":92},[117],{"type":18,"value":118}," 1",{"type":13,"tag":54,"props":120,"children":121},{"style":72},[122],{"type":18,"value":100},{"type":13,"tag":54,"props":124,"children":126},{"class":56,"line":125},4,[127,132,136,141],{"type":13,"tag":54,"props":128,"children":129},{"style":72},[130],{"type":18,"value":131}," VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR ",{"type":13,"tag":54,"props":133,"children":134},{"style":61},[135],{"type":18,"value":89},{"type":13,"tag":54,"props":137,"children":138},{"style":92},[139],{"type":18,"value":140}," 2",{"type":13,"tag":54,"props":142,"children":143},{"style":72},[144],{"type":18,"value":100},{"type":13,"tag":54,"props":146,"children":148},{"class":56,"line":147},5,[149],{"type":13,"tag":54,"props":150,"children":151},{"style":72},[152],{"type":18,"value":153},"} VkRayTracingShaderGroupTypeKHR;\n",{"type":13,"tag":42,"props":155,"children":160},{"className":156,"code":157,"filename":158,"language":159,"meta":48,"style":48},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct RayTracingShaderGroupTypeKHR(u32);\nimpl RayTracingShaderGroupTypeKHR {\n pub const GENERAL: Self = 0;\n pub const TRIANGLES_HIT_GROUP: Self = 1;\n pub const PROCEDURAL_HIT_GROUP: Self = 2;\n}\n","Rust","rs",[161],{"type":13,"tag":21,"props":162,"children":163},{"__ignoreMap":48},[164,198,215,257,293,329],{"type":13,"tag":54,"props":165,"children":166},{"class":56,"line":57},[167,172,177,183,188,193],{"type":13,"tag":54,"props":168,"children":169},{"style":61},[170],{"type":18,"value":171},"pub",{"type":13,"tag":54,"props":173,"children":174},{"style":61},[175],{"type":18,"value":176}," struct",{"type":13,"tag":54,"props":178,"children":180},{"style":179},"--shiki-default:#953800;--shiki-dark:#FFA657",[181],{"type":18,"value":182}," RayTracingShaderGroupTypeKHR",{"type":13,"tag":54,"props":184,"children":185},{"style":72},[186],{"type":18,"value":187},"(",{"type":13,"tag":54,"props":189,"children":190},{"style":179},[191],{"type":18,"value":192},"u32",{"type":13,"tag":54,"props":194,"children":195},{"style":72},[196],{"type":18,"value":197},");\n",{"type":13,"tag":54,"props":199,"children":200},{"class":56,"line":78},[201,206,210],{"type":13,"tag":54,"props":202,"children":203},{"style":61},[204],{"type":18,"value":205},"impl",{"type":13,"tag":54,"props":207,"children":208},{"style":179},[209],{"type":18,"value":182},{"type":13,"tag":54,"props":211,"children":212},{"style":72},[213],{"type":18,"value":214}," {\n",{"type":13,"tag":54,"props":216,"children":217},{"class":56,"line":103},[218,223,228,233,238,243,248,252],{"type":13,"tag":54,"props":219,"children":220},{"style":61},[221],{"type":18,"value":222}," pub",{"type":13,"tag":54,"props":224,"children":225},{"style":61},[226],{"type":18,"value":227}," const",{"type":13,"tag":54,"props":229,"children":230},{"style":92},[231],{"type":18,"value":232}," GENERAL",{"type":13,"tag":54,"props":234,"children":235},{"style":61},[236],{"type":18,"value":237},":",{"type":13,"tag":54,"props":239,"children":240},{"style":92},[241],{"type":18,"value":242}," Self",{"type":13,"tag":54,"props":244,"children":245},{"style":61},[246],{"type":18,"value":247}," =",{"type":13,"tag":54,"props":249,"children":250},{"style":92},[251],{"type":18,"value":95},{"type":13,"tag":54,"props":253,"children":254},{"style":72},[255],{"type":18,"value":256},";\n",{"type":13,"tag":54,"props":258,"children":259},{"class":56,"line":125},[260,264,268,273,277,281,285,289],{"type":13,"tag":54,"props":261,"children":262},{"style":61},[263],{"type":18,"value":222},{"type":13,"tag":54,"props":265,"children":266},{"style":61},[267],{"type":18,"value":227},{"type":13,"tag":54,"props":269,"children":270},{"style":92},[271],{"type":18,"value":272}," TRIANGLES_HIT_GROUP",{"type":13,"tag":54,"props":274,"children":275},{"style":61},[276],{"type":18,"value":237},{"type":13,"tag":54,"props":278,"children":279},{"style":92},[280],{"type":18,"value":242},{"type":13,"tag":54,"props":282,"children":283},{"style":61},[284],{"type":18,"value":247},{"type":13,"tag":54,"props":286,"children":287},{"style":92},[288],{"type":18,"value":118},{"type":13,"tag":54,"props":290,"children":291},{"style":72},[292],{"type":18,"value":256},{"type":13,"tag":54,"props":294,"children":295},{"class":56,"line":147},[296,300,304,309,313,317,321,325],{"type":13,"tag":54,"props":297,"children":298},{"style":61},[299],{"type":18,"value":222},{"type":13,"tag":54,"props":301,"children":302},{"style":61},[303],{"type":18,"value":227},{"type":13,"tag":54,"props":305,"children":306},{"style":92},[307],{"type":18,"value":308}," PROCEDURAL_HIT_GROUP",{"type":13,"tag":54,"props":310,"children":311},{"style":61},[312],{"type":18,"value":237},{"type":13,"tag":54,"props":314,"children":315},{"style":92},[316],{"type":18,"value":242},{"type":13,"tag":54,"props":318,"children":319},{"style":61},[320],{"type":18,"value":247},{"type":13,"tag":54,"props":322,"children":323},{"style":92},[324],{"type":18,"value":140},{"type":13,"tag":54,"props":326,"children":327},{"style":72},[328],{"type":18,"value":256},{"type":13,"tag":54,"props":330,"children":332},{"class":56,"line":331},6,[333],{"type":13,"tag":54,"props":334,"children":335},{"style":72},[336],{"type":18,"value":337},"}\n",{"type":13,"tag":14,"props":339,"children":340},{},[341],{"type":18,"value":342},"or the equivalent",{"type":13,"tag":38,"props":344,"children":345},{},[346,372],{"type":13,"tag":42,"props":347,"children":349},{"className":44,"code":348,"filename":46,"language":47,"meta":48,"style":48},"#define VkRayTracingShaderGroupTypeNV VkRayTracingShaderGroupTypeKHR\n",[350],{"type":13,"tag":21,"props":351,"children":352},{"__ignoreMap":48},[353],{"type":13,"tag":54,"props":354,"children":355},{"class":56,"line":57},[356,361,367],{"type":13,"tag":54,"props":357,"children":358},{"style":61},[359],{"type":18,"value":360},"#define",{"type":13,"tag":54,"props":362,"children":364},{"style":363},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[365],{"type":18,"value":366}," VkRayTracingShaderGroupTypeNV",{"type":13,"tag":54,"props":368,"children":369},{"style":72},[370],{"type":18,"value":371}," VkRayTracingShaderGroupTypeKHR\n",{"type":13,"tag":42,"props":373,"children":375},{"className":156,"code":374,"filename":158,"language":159,"meta":48,"style":48},"const RayTracingShaderGroupTypeNV: _ = vk::RayTracingShaderGroupTypeKHR;\n",[376],{"type":13,"tag":21,"props":377,"children":378},{"__ignoreMap":48},[379],{"type":13,"tag":54,"props":380,"children":381},{"class":56,"line":57},[382,387,392,396,401,405,410,415,420],{"type":13,"tag":54,"props":383,"children":384},{"style":61},[385],{"type":18,"value":386},"const",{"type":13,"tag":54,"props":388,"children":389},{"style":92},[390],{"type":18,"value":391}," RayTracingShaderGroupTypeNV",{"type":13,"tag":54,"props":393,"children":394},{"style":61},[395],{"type":18,"value":237},{"type":13,"tag":54,"props":397,"children":398},{"style":72},[399],{"type":18,"value":400}," _ ",{"type":13,"tag":54,"props":402,"children":403},{"style":61},[404],{"type":18,"value":89},{"type":13,"tag":54,"props":406,"children":407},{"style":179},[408],{"type":18,"value":409}," vk",{"type":13,"tag":54,"props":411,"children":412},{"style":61},[413],{"type":18,"value":414},"::",{"type":13,"tag":54,"props":416,"children":417},{"style":179},[418],{"type":18,"value":419},"RayTracingShaderGroupTypeKHR",{"type":13,"tag":54,"props":421,"children":422},{"style":72},[423],{"type":18,"value":256},{"type":13,"tag":425,"props":426,"children":427},"ul",{},[428,463,481],{"type":13,"tag":429,"props":430,"children":431},"li",{},[432,438,440,446,447,453,455,461],{"type":13,"tag":21,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_KHR",{"type":18,"value":439}," indicates a shader\ngroup with a single ",{"type":13,"tag":21,"props":441,"children":443},{"className":442},[],[444],{"type":18,"value":445},"VK_SHADER_STAGE_RAYGEN_BIT_KHR",{"type":18,"value":100},{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":452},"VK_SHADER_STAGE_MISS_BIT_KHR",{"type":18,"value":454},", or\n",{"type":13,"tag":21,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"VK_SHADER_STAGE_CALLABLE_BIT_KHR",{"type":18,"value":462}," shader in it.",{"type":13,"tag":429,"props":464,"children":465},{},[466,472,474,479],{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":471},"VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_KHR",{"type":18,"value":473}," specifies\na shader group that only hits triangles and ",{"type":13,"tag":475,"props":476,"children":478},"normative",{"type":477},"must",[],{"type":18,"value":480}," not contain an\nintersection shader, only closest hit and any-hit shaders.",{"type":13,"tag":429,"props":482,"children":483},{},[484,490,492,495,497,501],{"type":13,"tag":21,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_KHR",{"type":18,"value":491},"\nspecifies a shader group that only intersects with custom geometry and\n",{"type":13,"tag":475,"props":493,"children":494},{"type":477},[],{"type":18,"value":496}," contain an intersection shader and ",{"type":13,"tag":475,"props":498,"children":500},{"type":499},"may",[],{"type":18,"value":502}," contain closest hit and\nany-hit shaders.",{"type":13,"tag":504,"props":505,"children":506},"note",{},[507],{"type":13,"tag":14,"props":508,"children":509},{},[510],{"type":18,"value":511},"For current group types, the hit group type could be inferred from the\npresence or absence of the intersection shader, but we provide the type\nexplicitly for future hit groups that do not have that property.",{"type":13,"tag":513,"props":514,"children":515},"style",{},[516],{"type":18,"value":517},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":48,"searchDepth":78,"depth":78,"links":519},[],"markdown",1725732582408]