【Graphics.BlitMultiTap解析】 上述代码的四个偏移,表示利用此4个偏移,生成4张纹理单位。下面每一个SetTexture,默认会调用一个纹理单位。 而在Shader中,Unity会默认把此偏移设值为:half4 _BlurOffsets; 变量。 _MainTex_...
分类:
其他好文 时间:
2014-11-28 11:46:57
阅读次数:
466
Meta-Loopless SortsBackgroundSorting holds an important place in computer science. Analyzing and implementing various sorting algorithms forms an impo...
分类:
其他好文 时间:
2014-11-28 09:52:41
阅读次数:
265
Full Binary Tree
Time Limit: 2000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
In computer science, a binary tree is a tree data structure in which each node has at most two children...
分类:
其他好文 时间:
2014-11-27 20:34:56
阅读次数:
192
PC/SC规范是一个基于WINDOWS平台的一个标准用户接口(API),提供了一个从个人电脑(Personal Computer)到智能卡(SmartCard)的整合环境,PC/SC规范建立在工业标准-ISO7816和EMV标准的基础上,但它对底层的设备接口和独立于设备的应用API接口(例如用来允许多个应用共享使用系统同一张智能卡的资源管理器)做了更详尽的补充。PC/SC体系由三个主要部件组成,分别规定的操作系统厂商、读写器(IFD)厂商、智能卡(ICC)厂商的职责。PC/SC的API函数由操作系统提供,在...
分类:
其他好文 时间:
2014-11-27 20:30:03
阅读次数:
222
一.关于GDI的基本概念
什么是GDI
Windows绘图的实质就是利用Windows提供的图形设备接口GDI(Graphics
Device Interface)将图形绘制在显示器上。
在Windows操作系统中,动态链接库C:\WINDOWS\system32\gdi32.dll(GDI Client DLL)中定义了GDI函数,实现与设备无关的包括屏...
分类:
编程语言 时间:
2014-11-27 18:37:41
阅读次数:
130
计算机病毒的定义是: 计算机病毒(Computer Virus)是编制者在计算机程序中插入的破坏计算机功能或者数据的代码,能影响计算机使用,能自我复制的一组计算机指令或者程序代码。 由此可见 计算机病毒的两大特点是...
分类:
其他好文 时间:
2014-11-27 16:35:31
阅读次数:
274
1.编写主类 package com.sample.button;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import and...
分类:
移动开发 时间:
2014-11-27 16:32:55
阅读次数:
215
1 package org.awt; 2 3 import java.awt.Graphics; 4 import java.applet.Applet; 5 6 7 public class test{ 8 9 float ptValue;10 11 pu...
分类:
编程语言 时间:
2014-11-27 15:56:27
阅读次数:
236
上一次我们试验了有弹性的ScrollView。详情这一次,我们来试验有弹性的ScrollView。国际惯例,效果图:主要代码:[java]view plaincopyimportandroid.content.Context;importandroid.graphics.Rect;importand...
分类:
移动开发 时间:
2014-11-27 14:15:27
阅读次数:
246
http://rooftrellen.com/blog/computer-systems-a-programmers-perspective-chapter-2-homework-problem/
分类:
其他好文 时间:
2014-11-26 20:52:19
阅读次数:
183