[{"data":1,"prerenderedAt":349},["ShallowReactive",2],{"kyMROlhNpy":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":348,"_id":4},"VkFilter","Specify filters used for texture lookups","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":346},"root",[12,46,289,327,340],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,44],{"type":18,"value":19},"text","Possible values of the ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkSamplerCreateInfo",[25],{"type":18,"value":26},"VkSamplerCreateInfo",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"magFilter",{"type":18,"value":37}," and\n",{"type":13,"tag":30,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":43},"minFilter",{"type":18,"value":45}," parameters, specifying filters used for texture lookups,\nare:",{"type":13,"tag":47,"props":48,"children":49},"code-group",{},[50,141],{"type":13,"tag":51,"props":52,"children":58},"pre",{"className":53,"code":54,"filename":55,"language":56,"meta":57,"style":57},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkFilter {\n VK_FILTER_NEAREST = 0,\n VK_FILTER_LINEAR = 1,\n} VkFilter;\n","C","c","",[59],{"type":13,"tag":30,"props":60,"children":61},{"__ignoreMap":57},[62,85,110,132],{"type":13,"tag":63,"props":64,"children":67},"span",{"class":65,"line":66},"line",1,[68,74,79],{"type":13,"tag":63,"props":69,"children":71},{"style":70},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[72],{"type":18,"value":73},"typedef",{"type":13,"tag":63,"props":75,"children":76},{"style":70},[77],{"type":18,"value":78}," enum",{"type":13,"tag":63,"props":80,"children":82},{"style":81},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[83],{"type":18,"value":84}," VkFilter {\n",{"type":13,"tag":63,"props":86,"children":88},{"class":65,"line":87},2,[89,94,99,105],{"type":13,"tag":63,"props":90,"children":91},{"style":81},[92],{"type":18,"value":93}," VK_FILTER_NEAREST ",{"type":13,"tag":63,"props":95,"children":96},{"style":70},[97],{"type":18,"value":98},"=",{"type":13,"tag":63,"props":100,"children":102},{"style":101},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[103],{"type":18,"value":104}," 0",{"type":13,"tag":63,"props":106,"children":107},{"style":81},[108],{"type":18,"value":109},",\n",{"type":13,"tag":63,"props":111,"children":113},{"class":65,"line":112},3,[114,119,123,128],{"type":13,"tag":63,"props":115,"children":116},{"style":81},[117],{"type":18,"value":118}," VK_FILTER_LINEAR ",{"type":13,"tag":63,"props":120,"children":121},{"style":70},[122],{"type":18,"value":98},{"type":13,"tag":63,"props":124,"children":125},{"style":101},[126],{"type":18,"value":127}," 1",{"type":13,"tag":63,"props":129,"children":130},{"style":81},[131],{"type":18,"value":109},{"type":13,"tag":63,"props":133,"children":135},{"class":65,"line":134},4,[136],{"type":13,"tag":63,"props":137,"children":138},{"style":81},[139],{"type":18,"value":140},"} VkFilter;\n",{"type":13,"tag":51,"props":142,"children":147},{"className":143,"code":144,"filename":145,"language":146,"meta":57,"style":57},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct Filter(u32);\nimpl Filter {\n pub const NEAREST: Self = 0;\n pub const LINEAR: Self = 1;\n}\n","Rust","rs",[148],{"type":13,"tag":30,"props":149,"children":150},{"__ignoreMap":57},[151,185,202,244,280],{"type":13,"tag":63,"props":152,"children":153},{"class":65,"line":66},[154,159,164,170,175,180],{"type":13,"tag":63,"props":155,"children":156},{"style":70},[157],{"type":18,"value":158},"pub",{"type":13,"tag":63,"props":160,"children":161},{"style":70},[162],{"type":18,"value":163}," struct",{"type":13,"tag":63,"props":165,"children":167},{"style":166},"--shiki-default:#953800;--shiki-dark:#FFA657",[168],{"type":18,"value":169}," Filter",{"type":13,"tag":63,"props":171,"children":172},{"style":81},[173],{"type":18,"value":174},"(",{"type":13,"tag":63,"props":176,"children":177},{"style":166},[178],{"type":18,"value":179},"u32",{"type":13,"tag":63,"props":181,"children":182},{"style":81},[183],{"type":18,"value":184},");\n",{"type":13,"tag":63,"props":186,"children":187},{"class":65,"line":87},[188,193,197],{"type":13,"tag":63,"props":189,"children":190},{"style":70},[191],{"type":18,"value":192},"impl",{"type":13,"tag":63,"props":194,"children":195},{"style":166},[196],{"type":18,"value":169},{"type":13,"tag":63,"props":198,"children":199},{"style":81},[200],{"type":18,"value":201}," {\n",{"type":13,"tag":63,"props":203,"children":204},{"class":65,"line":112},[205,210,215,220,225,230,235,239],{"type":13,"tag":63,"props":206,"children":207},{"style":70},[208],{"type":18,"value":209}," pub",{"type":13,"tag":63,"props":211,"children":212},{"style":70},[213],{"type":18,"value":214}," const",{"type":13,"tag":63,"props":216,"children":217},{"style":101},[218],{"type":18,"value":219}," NEAREST",{"type":13,"tag":63,"props":221,"children":222},{"style":70},[223],{"type":18,"value":224},":",{"type":13,"tag":63,"props":226,"children":227},{"style":101},[228],{"type":18,"value":229}," Self",{"type":13,"tag":63,"props":231,"children":232},{"style":70},[233],{"type":18,"value":234}," =",{"type":13,"tag":63,"props":236,"children":237},{"style":101},[238],{"type":18,"value":104},{"type":13,"tag":63,"props":240,"children":241},{"style":81},[242],{"type":18,"value":243},";\n",{"type":13,"tag":63,"props":245,"children":246},{"class":65,"line":134},[247,251,255,260,264,268,272,276],{"type":13,"tag":63,"props":248,"children":249},{"style":70},[250],{"type":18,"value":209},{"type":13,"tag":63,"props":252,"children":253},{"style":70},[254],{"type":18,"value":214},{"type":13,"tag":63,"props":256,"children":257},{"style":101},[258],{"type":18,"value":259}," LINEAR",{"type":13,"tag":63,"props":261,"children":262},{"style":70},[263],{"type":18,"value":224},{"type":13,"tag":63,"props":265,"children":266},{"style":101},[267],{"type":18,"value":229},{"type":13,"tag":63,"props":269,"children":270},{"style":70},[271],{"type":18,"value":234},{"type":13,"tag":63,"props":273,"children":274},{"style":101},[275],{"type":18,"value":127},{"type":13,"tag":63,"props":277,"children":278},{"style":81},[279],{"type":18,"value":243},{"type":13,"tag":63,"props":281,"children":283},{"class":65,"line":282},5,[284],{"type":13,"tag":63,"props":285,"children":286},{"style":81},[287],{"type":18,"value":288},"}\n",{"type":13,"tag":290,"props":291,"children":292},"ul",{},[293,305,316],{"type":13,"tag":294,"props":295,"children":296},"li",{},[297,303],{"type":13,"tag":30,"props":298,"children":300},{"className":299},[],[301],{"type":18,"value":302},"VK_FILTER_NEAREST",{"type":18,"value":304}," specifies nearest filtering.",{"type":13,"tag":294,"props":306,"children":307},{},[308,314],{"type":13,"tag":30,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":313},"VK_FILTER_LINEAR",{"type":18,"value":315}," specifies linear filtering.",{"type":13,"tag":294,"props":317,"children":318},{},[319,325],{"type":13,"tag":30,"props":320,"children":322},{"className":321},[],[323],{"type":18,"value":324},"VK_FILTER_CUBIC_EXT",{"type":18,"value":326}," specifies cubic filtering.",{"type":13,"tag":14,"props":328,"children":329},{},[330,332,338],{"type":18,"value":331},"These filters are described in detail in ",{"type":13,"tag":21,"props":333,"children":335},{"href":334},"/chapters/textures#textures-texel-filtering",[336],{"type":18,"value":337},"Texel\nFiltering",{"type":18,"value":339},".",{"type":13,"tag":341,"props":342,"children":343},"style",{},[344],{"type":18,"value":345},"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":57,"searchDepth":87,"depth":87,"links":347},[],"markdown",1725732553566]