Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Test/test_render/texture.h @ 224:ebfb9e389716
SceneGraph.cpp xmlcreate
author | tkaito@nw0534.st.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 10 Feb 2009 20:45:51 +0900 |
parents | 559b48b69b76 |
children |
rev | line source |
---|---|
141 | 1 #ifndef INCLUDED_TEXTURE |
2 #define INCLUDED_TEXTURE | |
3 | |
4 #if 0 // もういらないっぽい OpenGL 使用時の遺産 | |
109 | 5 #include <SDL.h> |
6 #include <SDL_opengl.h> | |
141 | 7 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord) |
8 #endif | |
109 | 9 |
141 | 10 struct texture_list { |
174
559b48b69b76
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
gongo@localhost.localdomain
parents:
171
diff
changeset
|
11 int t_w, t_h; |
559b48b69b76
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
gongo@localhost.localdomain
parents:
171
diff
changeset
|
12 Uint32 *pixels_orig; |
559b48b69b76
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
gongo@localhost.localdomain
parents:
171
diff
changeset
|
13 Uint32 *pixels; |
559b48b69b76
getScale()、getTapestry から、span->length に適切なテクスチャの選択に成功
gongo@localhost.localdomain
parents:
171
diff
changeset
|
14 int scale_max; |
141 | 15 }; |
16 | |
17 #endif |