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

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

博客园 - 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 小时/帧