声明:本文完全翻译自DX SDK Documentationdepth buffer,通常被称为z-buffer或者w-buffer,是设备的一个属性,用来存储深度信息,被D3D使用。当D3D渲染一个场景到target surface的时候,它会使用depth-buffer surface上的数据,...
分类:
其他好文 时间:
2014-07-22 22:50:35
阅读次数:
211
Android 设备的三大 USB 连接模式MTP:Media Transfer Protocol - 媒体传输协议,Windows 下最常见的连接模式,是微软一种可以管理便携存储设备的协议。MTP 最初装载于 Windows Media Device Manager 10 SDK。该模式在 And...
分类:
移动开发 时间:
2014-07-22 22:49:33
阅读次数:
269
跨平台网络通信及服务器框架库 --- "acl" 项目里有大量的测试及应用示例,主要有三个示例集合,如下: 1、acl/samples:该目录下的例子主要是基于 lib_acl 及 lib_protocol 两个库的例子 -??? 1.1 acl: 打印...
分类:
其他好文 时间:
2014-07-21 10:30:16
阅读次数:
207
public void ProcessRequest(HttpContext context) { context.Response.Clear(); context.Response.Buffer = true; /...
分类:
Web程序 时间:
2014-07-20 09:04:44
阅读次数:
178
关于Vertex Array Objects(VAOs), Vertex
Buffer Objects(VBOs), Vertex and Fragment Shaders的概念还是看官方说明理解的好!
The OpenGL 3.2 core specification removes the majority of the fixed function pipeline previou...
分类:
其他好文 时间:
2014-07-19 23:31:48
阅读次数:
241
pythonsocket服务端#!/usr/bin/python
#-*-coding:utf-8-*-
importsocket
importos,sys
host=‘127.0.0.1‘#监听的IP
port=60000#监听的端口
buffer=1024#接受的字节数
sock=socket.socket(socket.AF_INET,socket.SOCK_STREAM)#建立socket对象
sock.bind((host,port))#绑定IP和端..
分类:
编程语言 时间:
2014-07-19 16:21:30
阅读次数:
256
socketpair函数概要例如以下:#include #include int socketpair(int domain, int type, int protocol, int sv[2]);sys/types.h文件须要用来定义一些C宏常量。sys/socket.h文件必须包括进来定义soc...
分类:
其他好文 时间:
2014-07-19 12:26:15
阅读次数:
304
Fiddler。大神推荐的。名字老忘。用wireshark在wifi共享精灵共享出来的无线网上抓包,发现一个SSDP(简单服务发现协议)一直在尝试找连上这个网络上的设备。连上NEXUS4后出现了ICMPv6(Internet Control Message Protocol,错误侦测,维护路由)以及...
分类:
其他好文 时间:
2014-07-19 11:30:14
阅读次数:
1490
序列是python中最基本的数据,序列中每个元素分配一个序号,即元素的位置,也称为索引。python包含6中内置的序列,除了列表和元组,还有字符串、unicode字符串、buffer对象和xrange对象(后续介绍),今天且看列表和元组。1、列表和元组的区别(1)两者最大的区别在于能否对数..
分类:
其他好文 时间:
2014-07-19 02:38:26
阅读次数:
206
tcpdump的语法:tcpdump[options][Protocol][Direction][Host(s)][Value][LogicalOperations][Otherexpression]常用选项:-iany:Listenonallinterfacesjusttoseeifyou‘reseeinganytraffic.-n:Don‘tresolvehostnames.-nn:Don‘tresolvehostnamesorportnames.-X:Showthepacket‘sco..
分类:
其他好文 时间:
2014-07-19 02:34:45
阅读次数:
189