<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.

#pragma once

#ifndef VSNRAY_COMMON_PTEX_H
#define VSNRAY_COMMON_PTEX_H 1

#include <common/config.h>

#include <memory>
#include <string>

#if VSNRAY_COMMON_HAVE_PTEX
#include <Ptexture.h>
#endif

#include <visionaray/math/simd/type_traits.h>

namespace visionaray
{
namespace ptex
{

struct texture
{
    std::string filename;<commit_msg>Don't check twice if ptex is there<commit_after>// This file is distributed under the MIT license.
// See the LICENSE file for details.

#pragma once

#ifndef VSNRAY_COMMON_PTEX_H
#define VSNRAY_COMMON_PTEX_H 1

#include <memory>
#include <string>

#include <Ptexture.h>

#include <visionaray/math/simd/type_traits.h>

namespace visionaray
{
namespace ptex
{

struct texture
{
    std::string filename;
{'fraction_non_alphanumeric': 0.09219858156028368, 'fraction_numerical': 0.002364066193853428, 'mean_word_length': 5.00709219858156, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2082755', 'n_tokens_mistral': 307, 'n_tokens_neox': 299, 'n_words': 86}