码迷,mamicode.com
首页 >  
搜索关键字:surface book    ( 5453个结果
Android之——Surface、SurfaceView与SurfaceHolder.Callback初探
一、Surface     Surface在SDK的文档中的描述是这样的:Handle onto a raw buffer that is being managed by the screen compositor,Android中的Surface就是一个用来画图形(graphics)或图像(image)的地方,对于View及其子类,都是画在Surface上,各Surface对象通过Surf...
分类:移动开发   时间:2015-07-31 13:03:46    阅读次数:175
设计模式之 迭代器模式
class Book{public: Book(void); ~Book(void);public: string name_; string Tag_;};class BookList{public: BookList(void); ~BookList(void...
分类:其他好文   时间:2015-07-30 18:46:58    阅读次数:144
unity, surface shader access world position and localposition
一,surface shader中访问worldposition在surface shader中访问世界坐标,只需在Input结构体中声明float3 worldPos即可,如下: structInput{float2uv_MainTex;float3worldPos;};voidsurf(In.....
分类:数据库   时间:2015-07-30 14:51:12    阅读次数:380
Dom4j
package Dom4j;import org.dom4j.Document;import org.dom4j.Element;public class BookDaoDom4j { public boolean addBook(Book book){ boolean result=false;....
分类:其他好文   时间:2015-07-30 00:30:29    阅读次数:185
嵌入式linux------SDL移植(am335x下显示bmp图片)
#include #include "/usr/local/ffmpeg_arm/include/SDL/SDL.h" char *bmp_name[3] = {"000.bmp","111.bmp","222.bmp"}; int main() { int i=0; //The images SDL_Surface* hello = NULL; SDL_Surfa...
分类:系统相关   时间:2015-07-28 18:50:59    阅读次数:218
Redis教程3--Redis键值设计
tag在互联网应用里尤其多见,首先看下面的关系型数据表: Book表:  id name author 1 The Ruby Programming Language Mark Pilgrim 2 Ruby on rail David Flanagan 3 ...
分类:其他好文   时间:2015-07-28 18:49:16    阅读次数:221
zoj 3888 Twelves Monkeys(zoj 2015年7月月赛)
Twelves Monkeys Time Limit: 5 Seconds      Memory Limit: 32768 KB James Cole is a convicted criminal living beneath a post-apocalyptic Philadelphia. Many years ago, the Earth's surface had been ...
分类:其他好文   时间:2015-07-28 10:54:16    阅读次数:149
poj 2594 Treasure Exploration 二分图匹配
点击打开链接题目链接 Treasure Exploration Time Limit: 6000MS   Memory Limit: 65536K Total Submissions: 7215   Accepted: 2947 Description Have you ever read any book about tr...
分类:其他好文   时间:2015-07-27 23:09:40    阅读次数:156
unity, unlit surface shader (texColor only surface shader)
要实现双面透明无光照只有纹理色的surface shader。错误的写法:(导致带有曝光)Shader "Custom/doubleFaceTranspTexColor" { Properties { _Color ("Color", Color) = (1,1,1,1) _...
分类:编程语言   时间:2015-07-27 14:42:06    阅读次数:195
(译)来自Percal25号行星的哥顿人
这是《Learn Python The Hard Way(笨方法学Python)》第43个练习的译文,我自己在看这篇文章的时候比较困难(原文链接:http://learnpythonthehardway.org/book/ex43.html),网上的中文版这一节貌似有大量的删减,于是我自己就大概翻译...
分类:其他好文   时间:2015-07-26 19:05:35    阅读次数:527
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!