﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AAnsimionescu%2FNotes%2F2</id>
	<title>利用者:Ansimionescu/Notes/2 - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AAnsimionescu%2FNotes%2F2"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Ansimionescu/Notes/2&amp;action=history"/>
	<updated>2026-07-03T23:16:48Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Ansimionescu/Notes/2&amp;diff=137045&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Ansimionescu/Notes/2&amp;diff=137045&amp;oldid=prev"/>
		<updated>2018-06-28T20:49:42Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 20:49時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Ansimionescu/Notes/2&amp;diff=137044&amp;oldid=prev</id>
		<title>wiki&gt;Ansimionescu: /* Pointers */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Ansimionescu/Notes/2&amp;diff=137044&amp;oldid=prev"/>
		<updated>2012-06-14T16:05:42Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Pointers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Data API: RNA==&lt;br /&gt;
The data API is a layer over the DNA structs, abstracting how the data is actually stored, and providing information about structs and their properties.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Where to find the important files:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;blender-svn/blender/source/blender/makesrna/&lt;br /&gt;
RNA_types.h: The important RNA data structures are defined here.&lt;br /&gt;
RNA_access.h: API for accessing structs and properties at runtime.&lt;br /&gt;
RNA_define.h: API for defining structs and properties.&amp;lt;/source&amp;gt;&lt;br /&gt;
All Blender data is presented as structs, each being a collection of properties. These properties are all of one of these types:&lt;br /&gt;
* boolean&lt;br /&gt;
* string&lt;br /&gt;
* integer&lt;br /&gt;
* float&lt;br /&gt;
* enum&lt;br /&gt;
* pointer to a struct&lt;br /&gt;
* collection of pointers to structs&lt;br /&gt;
* fixed-length array of booleans/integers/floats&lt;br /&gt;
&lt;br /&gt;
[[Image:RNADataTypes.png|align=center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next to a type a subtype is also defined (e.g. file path, color, etc.).&lt;br /&gt;
&lt;br /&gt;
Some less obvious Blender data structures:&lt;br /&gt;
* C chars and shorts representing numbers map to ints, they simply have different min/max.&lt;br /&gt;
* The vertices of a mesh are represented as a collection.&lt;br /&gt;
* Nested structs may be represented as pointers to structs that are not editable.&lt;br /&gt;
* Tristate values as used for texture mapping are represented as enum with 3 choices (disabled, enabled, enabled inverted).&lt;br /&gt;
* Colors are represented as float arrays with length 3 or 4 and subtype color, and matrices are represented as float arrays with length 9 (3x3) or 16 (4x4) and subtype matrix.&lt;br /&gt;
&lt;br /&gt;
===Pointers===&lt;br /&gt;
There are three types of pointers.&lt;br /&gt;
&lt;br /&gt;
[[Image:RNAPointerID.png|align=center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;/* Pointer&lt;br /&gt;
 *&lt;br /&gt;
 * These functions will fill in RNA pointers, this can be done in three ways:&lt;br /&gt;
 * - a pointer Main is created by just passing the data pointer&lt;br /&gt;
 * - a pointer to a datablock can be created with the type and id data pointer&lt;br /&gt;
 * - a pointer to data contained in a datablock can be created with the id type&lt;br /&gt;
 *   and id data pointer, and the data type and pointer to the struct itself.&lt;br /&gt;
 *&lt;br /&gt;
 * There is also a way to get a pointer with the information about all structs.&lt;br /&gt;
 */&lt;br /&gt;
void RNA_main_pointer_create(struct Main *main, PointerRNA *r_ptr);&lt;br /&gt;
void RNA_id_pointer_create(struct ID *id, PointerRNA *r_ptr);&lt;br /&gt;
void RNA_pointer_create(struct ID *id, StructRNA *type, void *data, PointerRNA *r_ptr);&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Home:&lt;br /&gt;
&lt;br /&gt;
[0] http://wiki.blender.org/index.php/User:Ansimionescu&lt;br /&gt;
&lt;br /&gt;
Reference:&lt;br /&gt;
&lt;br /&gt;
[1] RNA: http://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/RNA&lt;br /&gt;
&lt;br /&gt;
[2] Code examples: http://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/RNA/ExampleCode &lt;br /&gt;
&lt;br /&gt;
[3] Data API (design document): http://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/DataAPI&lt;/div&gt;</summary>
		<author><name>wiki&gt;Ansimionescu</name></author>
		
	</entry>
</feed>