<commit_before>#ifndef BABYLON_MATERIALS_TEXTURES_IRENDER_TARGET_OPTIONS_H
#define BABYLON_MATERIALS_TEXTURES_IRENDER_TARGET_OPTIONS_H

#include <optional>

#include <babylon/babylon_api.h>
#include <babylon/materials/textures/texture_constants.h>

namespace BABYLON {

struct BABYLON_SHARED_EXPORT IRenderTargetOptions {
  std::optional<bool> createMipMaps         = std::nullopt;
  std::optional<bool> generateMipMaps       = std::nullopt;
  std::optional<bool> generateDepthBuffer   = std::nullopt;
  std::optional<bool> generateStencilBuffer = std::nullopt;
  std::optional<unsigned int> type          = std::nullopt;
  std::optional<unsigned int> format        = std::nullopt;
  std::optional<unsigned int> samplingMode  = std::nullopt;
}; // end of struct RenderTargetOptions

} // end of namespace BABYLON

#endif // end of BABYLON_MATERIALS_TEXTURES_IRENDER_TARGET_OPTIONS_H
<commit_msg>Added optional samples option<commit_after>#ifndef BABYLON_MATERIALS_TEXTURES_IRENDER_TARGET_OPTIONS_H
#define BABYLON_MATERIALS_TEXTURES_IRENDER_TARGET_OPTIONS_H

#include <optional>

#include <babylon/babylon_api.h>
#include <babylon/materials/textures/texture_constants.h>

namespace BABYLON {

struct BABYLON_SHARED_EXPORT IRenderTargetOptions {
  std::optional<bool> createMipMaps         = std::nullopt;
  std::optional<bool> generateMipMaps       = std::nullopt;
  std::optional<bool> generateDepthBuffer   = std::nullopt;
  std::optional<bool> generateStencilBuffer = std::nullopt;
  std::optional<unsigned int> type          = std::nullopt;
  std::optional<unsigned int> format        = std::nullopt;
  std::optional<unsigned int> samplingMode  = std::nullopt;
  std::optional<unsigned int> samples       = std::nullopt;
}; // end of struct RenderTargetOptions

} // end of namespace BABYLON

#endif // end of BABYLON_MATERIALS_TEXTURES_IRENDER_TARGET_OPTIONS_H

{'fraction_non_alphanumeric': 0.09860664523043944, 'fraction_numerical': 0.0, 'mean_word_length': 5.740072202166065, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 24, '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': '6021898', 'n_tokens_mistral': 663, 'n_tokens_neox': 626, 'n_words': 109}