{"id":701,"date":"2011-09-08T12:33:35","date_gmt":"2011-09-08T11:33:35","guid":{"rendered":"http:\/\/www.ozone3d.net\/blogs\/lab\/?p=701"},"modified":"2015-05-05T20:48:20","modified_gmt":"2015-05-05T19:48:20","slug":"tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture","status":"publish","type":"post","link":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/","title":{"rendered":"Les Sampler States OpenGL 3.3: Configurer les Unit\u00e9s de Texture"},"content":{"rendered":"<p><center><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.ozone3d.net\/public\/jegx\/201109\/msi_kombustor_tessy_sphere.jpg\" alt=\"MSI Kombustor, tessellated sphere, DoF and soft shadows\" \/><\/p>\n<p><\/center><\/p>\n<p><!--more--><\/p>\n<p>Je viens de tester les sampler states disponibles avec <b>OpenGL 3.3<\/b> dans Kombustor 2.2.x. Les samplers states servent tout simplement \u00e0 d\u00e9finir l&#8217;\u00e9tat d&#8217;une unit\u00e9 de texture, ind\u00e9pendamment de l&#8217;objet texture qui y est appliqu\u00e9. Les sampler states sont d\u00e9crits dans cette spec OpenGL: <a href=\"http:\/\/www.opengl.org\/registry\/specs\/ARB\/sampler_objects.txt\">GL_ARB_sampler_objects<\/a>.<\/p>\n<p>Chose int\u00e9ressante, les sampler states OpenGL 3.3 permettent de coller \u00e0 la logique de <b>Direct3D 11<\/b> qui d\u00e9finit aussi cette abstraction hardware avec la structure <b>D3D11_SAMPLER_DESC<\/b> et les fonctions CreateSamplerState (device D3D11) et PSSetSamplers (contexte immediat). Avant OpenGL 3.3, l&#8217;\u00e9tat d&#8217;une unit\u00e9 de texture \u00e9tait li\u00e9 \u00e0 un objet texture (cr\u00e9\u00e9 avec glGenTextures). Maintenant avec les sampler states, on s&#8217;approche du niveau hardware \/ GPU. <\/p>\n<p>Voyons rapidement comment utiliser les sampler states. <\/p>\n<p><b>1 &#8211; Cr\u00e9ation et initialisation du sampler:<\/b><\/p>\n<pre lang=\"c\" line=\"1\">\r\nGLuint sampler_state = 0;\r\nglGenSamplers(1, &sampler_state);\r\nglSamplerParameteri(sampler_state, GL_TEXTURE_WRAP_S, GL_REPEAT);\r\nglSamplerParameteri(sampler_state, GL_TEXTURE_WRAP_T, GL_REPEAT);\r\nglSamplerParameteri(sampler_state, GL_TEXTURE_MAG_FILTER, GL_LINEAR);\r\nglSamplerParameteri(sampler_state, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);\r\nglSamplerParameterf(sampler_state, GL_TEXTURE_MAX_ANISOTROPY_EXT, 16.0f);\r\n<\/pre>\n<p>Je viens de cr\u00e9er un sampler state de filtrage lin\u00e9aire avec X16 de filtrage anisotropique. Les param\u00e8tres sont les m\u00eames que ceux utilis\u00e9s lors de la cr\u00e9ation d&#8217;une texture.<\/p>\n<p><b>2 &#8211; Utilisation du sampler<\/b><\/p>\n<pre lang=\"c\" line=\"1\">\r\nGLuint texture_unit = 0;\r\nglBindSampler(texture_unit, sampler_state);\r\n...\r\n<\/pre>\n<p>Rien de plus simple: il suffit de dire sur quelle unit\u00e9 de texture doit on appliquer notre sampler. Une fois appliqu\u00e9 sur une unit\u00e9 de texture, les r\u00e9glages du sampler sont prioritaires \u00e0 ceux d&#8217;un objet de texture. Donc c&#8217;est super simple d&#8217;ajouter les sampler states dans votre code OpenGL. Pas besoin de modifier le code existant de cr\u00e9ation des textures.<\/p>\n<p>Quand on ne veut plus utiliser un sampler sur une unit\u00e9 de texture, il suffit d&#8217;appeller le code suivant:<\/p>\n<pre lang=\"c\" line=\"1\">\r\nglBindSampler(texture_unit, 0);\r\n<\/pre>\n<p><b>3 &#8211; Destruction du sampler:<\/b><\/p>\n<pre lang=\"c\" line=\"1\">\r\nglDeleteSamplers(1, &sampler_state);\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,8],"tags":[477,638,365,476,204,214],"class_list":["post-701","post","type-post","status-publish","format-standard","hentry","category-opengl","category-programming","tag-gl_arb_sampler_objects","tag-opengl","tag-programmation","tag-sampler","tag-texture","tag-tutorial"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"JeGX\"\/>\n\t<meta name=\"keywords\" content=\"programmation,tutorial,opengl,sampler,texture,gl_arb_sampler_objects\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"JeGX&#039;s Lab | News en vrac \/ WP sandbox\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture | JeGX&#039;s Lab\" \/>\n\t\t<meta property=\"og:description\" content=\"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-09-08T11:33:35+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-05-05T19:48:20+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture | JeGX&#039;s Lab\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#article\",\"name\":\"Les Sampler States OpenGL: Configurer les Unit\\u00e9s de Texture | JeGX's Lab\",\"headline\":\"Les Sampler States OpenGL 3.3: Configurer les Unit\\u00e9s de Texture\",\"author\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/author\\\/jegx\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.ozone3d.net\\\/public\\\/jegx\\\/201109\\\/msi_kombustor_tessy_sphere.jpg\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#articleImage\"},\"datePublished\":\"2011-09-08T12:33:35+01:00\",\"dateModified\":\"2015-05-05T20:48:20+01:00\",\"inLanguage\":\"en-US\",\"commentCount\":3,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#webpage\"},\"articleSection\":\"OpenGL, Programming, GL_ARB_sampler_objects, OpenGL, programmation, sampler, texture, tutorial\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/category\\\/programming\\\/#listItem\",\"name\":\"Programming\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/category\\\/programming\\\/#listItem\",\"position\":2,\"name\":\"Programming\",\"item\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/category\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#listItem\",\"name\":\"Les Sampler States OpenGL 3.3: Configurer les Unit\\u00e9s de Texture\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#listItem\",\"position\":3,\"name\":\"Les Sampler States OpenGL 3.3: Configurer les Unit\\u00e9s de Texture\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/category\\\/programming\\\/#listItem\",\"name\":\"Programming\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/#person\",\"name\":\"JeGX\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/author\\\/jegx\\\/#author\",\"url\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/author\\\/jegx\\\/\",\"name\":\"JeGX\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/84ced5670773799817f2f791816e1124fc739962b2fd55c366a685887c8287cd?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"JeGX\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/\",\"name\":\"Les Sampler States OpenGL: Configurer les Unit\\u00e9s de Texture | JeGX's Lab\",\"description\":\"Les Sampler States OpenGL: Configurer les Unit\\u00e9s de Texture\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/20110908\\\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/author\\\/jegx\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/author\\\/jegx\\\/#author\"},\"datePublished\":\"2011-09-08T12:33:35+01:00\",\"dateModified\":\"2015-05-05T20:48:20+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/#website\",\"url\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/\",\"name\":\"JeGX's Lab\",\"alternateName\":\"The Infamous Lab\",\"description\":\"News en vrac \\\/ WP sandbox\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ozone3d.net\\\/blogs\\\/lab\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture | JeGX's Lab","description":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture","canonical_url":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/","robots":"max-image-preview:large","keywords":"programmation,tutorial,opengl,sampler,texture,gl_arb_sampler_objects","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#article","name":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture | JeGX's Lab","headline":"Les Sampler States OpenGL 3.3: Configurer les Unit\u00e9s de Texture","author":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/author\/jegx\/#author"},"publisher":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/#person"},"image":{"@type":"ImageObject","url":"http:\/\/www.ozone3d.net\/public\/jegx\/201109\/msi_kombustor_tessy_sphere.jpg","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#articleImage"},"datePublished":"2011-09-08T12:33:35+01:00","dateModified":"2015-05-05T20:48:20+01:00","inLanguage":"en-US","commentCount":3,"mainEntityOfPage":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#webpage"},"articleSection":"OpenGL, Programming, GL_ARB_sampler_objects, OpenGL, programmation, sampler, texture, tutorial"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ozone3d.net\/blogs\/lab#listItem","position":1,"name":"Home","item":"https:\/\/www.ozone3d.net\/blogs\/lab","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/category\/programming\/#listItem","name":"Programming"}},{"@type":"ListItem","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/category\/programming\/#listItem","position":2,"name":"Programming","item":"https:\/\/www.ozone3d.net\/blogs\/lab\/category\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#listItem","name":"Les Sampler States OpenGL 3.3: Configurer les Unit\u00e9s de Texture"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ozone3d.net\/blogs\/lab#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#listItem","position":3,"name":"Les Sampler States OpenGL 3.3: Configurer les Unit\u00e9s de Texture","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/category\/programming\/#listItem","name":"Programming"}}]},{"@type":"Person","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/#person","name":"JeGX"},{"@type":"Person","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/author\/jegx\/#author","url":"https:\/\/www.ozone3d.net\/blogs\/lab\/author\/jegx\/","name":"JeGX","image":{"@type":"ImageObject","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/84ced5670773799817f2f791816e1124fc739962b2fd55c366a685887c8287cd?s=96&d=mm&r=g","width":96,"height":96,"caption":"JeGX"}},{"@type":"WebPage","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#webpage","url":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/","name":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture | JeGX's Lab","description":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/#website"},"breadcrumb":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/author\/jegx\/#author"},"creator":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/author\/jegx\/#author"},"datePublished":"2011-09-08T12:33:35+01:00","dateModified":"2015-05-05T20:48:20+01:00"},{"@type":"WebSite","@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/#website","url":"https:\/\/www.ozone3d.net\/blogs\/lab\/","name":"JeGX's Lab","alternateName":"The Infamous Lab","description":"News en vrac \/ WP sandbox","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ozone3d.net\/blogs\/lab\/#person"}}]},"og:locale":"en_US","og:site_name":"JeGX's Lab | News en vrac \/ WP sandbox","og:type":"article","og:title":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture | JeGX's Lab","og:description":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture","og:url":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/","article:published_time":"2011-09-08T11:33:35+00:00","article:modified_time":"2015-05-05T19:48:20+00:00","twitter:card":"summary","twitter:title":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture | JeGX's Lab","twitter:description":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture"},"aioseo_meta_data":{"post_id":"701","title":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture | #site_title","description":"Les Sampler States OpenGL: Configurer les Unit\u00e9s de Texture","keywords":[{"label":"programmation","value":"programmation"},{"label":"tutorial","value":"tutorial"},{"label":"opengl","value":"opengl"},{"label":"sampler","value":"sampler"},{"label":"texture","value":"texture"},{"label":"GL_ARB_sampler_objects","value":"GL_ARB_sampler_objects"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-08 08:09:21","updated":"2025-11-24 12:23:05","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ozone3d.net\/blogs\/lab\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ozone3d.net\/blogs\/lab\/category\/programming\/\" title=\"Programming\">Programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tLes Sampler States OpenGL 3.3: Configurer les Unit\u00e9s de Texture\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ozone3d.net\/blogs\/lab"},{"label":"Programming","link":"https:\/\/www.ozone3d.net\/blogs\/lab\/category\/programming\/"},{"label":"Les Sampler States OpenGL 3.3: Configurer les Unit\u00e9s de Texture","link":"https:\/\/www.ozone3d.net\/blogs\/lab\/20110908\/tutorial-opengl-3-3-sampler-states-configurer-unites-de-texture\/"}],"views":2060,"_links":{"self":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts\/701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/comments?post=701"}],"version-history":[{"count":0,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts\/701\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/media?parent=701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/categories?post=701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/tags?post=701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}