Esempio n. 1
0
      void convert_params::print()
      {
         console::debug(L"\nTexture conversion parameters:");
         console::debug(L"   Resolution: %ux%u, Faces: %u, Levels: %u, Format: %s",
            m_pInput_texture->get_width(),
            m_pInput_texture->get_height(),
            m_pInput_texture->get_num_faces(),
            m_pInput_texture->get_num_levels(),
            pixel_format_helpers::get_pixel_format_string(m_pInput_texture->get_format()));

         console::debug(L" texture_type: %s", get_texture_type_desc(m_texture_type));
         console::debug(L" dst_filename: %s", m_dst_filename.get_ptr());
         console::debug(L"dst_file_type: %s", texture_file_types::get_extension(m_dst_file_type));
         console::debug(L"   dst_format: %s", pixel_format_helpers::get_pixel_format_string(m_dst_format));
         console::debug(L"        quick: %u", m_quick);
      }
void convert_params::print() {
  console::debug("\nTexture conversion parameters:");
  console::debug("   Resolution: %ux%u, Faces: %u, Levels: %u, Format: %s, X Flipped: %u, Y Flipped: %u",
                 m_pInput_texture->get_width(),
                 m_pInput_texture->get_height(),
                 m_pInput_texture->get_num_faces(),
                 m_pInput_texture->get_num_levels(),
                 pixel_format_helpers::get_pixel_format_string(m_pInput_texture->get_format()),
                 m_pInput_texture->is_x_flipped(),
                 m_pInput_texture->is_y_flipped());

  console::debug("      texture_type: %s", get_texture_type_desc(m_texture_type));
  console::debug("      dst_filename: %s", m_dst_filename.get_ptr());
  console::debug("     dst_file_type: %s", texture_file_types::get_extension(m_dst_file_type));
  console::debug("        dst_format: %s", pixel_format_helpers::get_pixel_format_string(m_dst_format));
  console::debug("             quick: %u", m_quick);
  console::debug(" use_source_format: %u", m_always_use_source_pixel_format);
  console::debug("            Y Flip: %u", m_y_flip);
  console::debug("            Unflip: %u", m_unflip);
}