<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>baba_s</author_name>
  <author_url>https://blog.hatena.ne.jp/baba_s/</author_url>
  <blog_title>コガネブログ</blog_title>
  <blog_url>https://baba-s.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
  </categories>
  <description>概要 for ( var x = 0; x &lt; m_size.x; x++ ) { for ( var y = 0; y &lt; m_size.y; y++ ) { m_texture.SetPixel( x, y, Color.clear ); } } m_texture.Apply(); 上記のコードだと 0.5 秒かかるところが var pixels = m_texture.GetPixels32(); for ( var i = 0; i &lt; pixels.Length; i++ ) { pixels[ i ] = Color.clear; } m_texture.SetPixels32(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2022%2F08%2F29%2F103639&quot; title=&quot;【Unity】Texture の塗りつぶし（SetPixel）を高速化する方法 - コガネブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-08-29 10:36:39</published>
  <title>【Unity】Texture の塗りつぶし（SetPixel）を高速化する方法</title>
  <type>rich</type>
  <url>https://baba-s.hatenablog.com/entry/2022/08/29/103639</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
