惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
G
Google Developers Blog
B
Blog
Engineering at Meta
Engineering at Meta
阮一峰的网络日志
阮一峰的网络日志
The Register - Security
The Register - Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 叶小钗
The Cloudflare Blog
The Hacker News
The Hacker News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
雷峰网
雷峰网
F
Fortinet All Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
A
About on SuperTechFans
量子位
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
H
Help Net Security
Help Net Security
Help Net Security
P
Palo Alto Networks Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Troy Hunt's Blog
W
WeLiveSecurity
V
Vulnerabilities – Threatpost
T
The Exploit Database - CXSecurity.com
Know Your Adversary
Know Your Adversary
Apple Machine Learning Research
Apple Machine Learning Research
Scott Helme
Scott Helme
N
News | PayPal Newsroom
AWS News Blog
AWS News Blog
D
DataBreaches.Net
Blog — PlanetScale
Blog — PlanetScale
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
腾讯CDC
J
Java Code Geeks
Microsoft Azure Blog
Microsoft Azure Blog
TaoSecurity Blog
TaoSecurity Blog
GbyAI
GbyAI
Y
Y Combinator Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
D
Docker

博客园 - appleseed

搭建一个typescript下的webgl写代码环境。 Unity3d 小游戏从入门到??? Unity3d 小游戏详解 linux随笔 使用public/private key让putty(ssh)自动登录(以及linux上使用密钥做ssh自动登陆) texturetool 3d专业术语 Molehill 转 降频的时候处理方法 [转] 使用Duff's Device算法优化for循环 AI笔记 as3对象池研究 启动GPU加速的方法 恋爱秘籍 .... ..... AS3位运算
转 [教程] [Lii]最小帧速下的强制渲染——自制图像引擎的同学看过来 - appleseed
appleseed · 2011-02-03 · via 博客园 - appleseed

var lii:URLLoader = new URLLoader();

lii.addEventListener(ProgressEvent.PROGRESS,test);

addEventListener(Event.ENTER_FRAME,init);

stage.addEventListener(Event.RENDER,render);

var url:String  = "http://flashdn-nctalk.ktics.co.kr/BnS_20091127/BNS_FullMovie_download.zip";

var aone:Sprite = new Sprite();

aone.graphics.beginFill(0xFF0000);

aone.graphics.drawRect(0,0,100,100);

aone.graphics.endFill();

aone.x = aone.y = 100;

addChild(aone);

function init(e:Event):void {

        lii.load(new URLRequest(url));

        stage.frameRate = 0.0000001;

        removeEventListener(Event.ENTER_FRAME,init);

}

function test(e:ProgressEvent):void {

        aone.x +=.1;

        aone.rotation += 1;

        stage.invalidate();

        stage.quality = StageQuality.HIGH;

}

function render(e:Event):void {

        trace("render");

        //不会触发render事件的渲染

}

trace(1 / 0.0000001 / 60 / 60,"小时/帧") //2777.777777777778 小时/帧