m**s 发帖数: 221 | 1 最近碰到一个color depth超过24bit的问题,请问大家如果我create d3d device的时
候如果全屏显示,且BackBufferFormat切换显示模式如X8R8G8B8或者A2R10G10B10,这
个改变会直接应用到显卡输出上么?
还是说BackBufferFormat和显卡输出没有直接的关系?
因为我做的小测试发现X8R8G8B8或者A2R10G10B10作backbuffer format好像没区别。。。
也可能是因为我的硬件本生不支持10bit颜色。请哪个搞过颜色的大牛说说?
还有就是,能推荐几本关于directx的书么?
谢谢大家了! |
l***8 发帖数: 149 | 2 BackBuffer format does not affect display mode. It is just surface pixel
format; eventually it will be blitted to your primary buffer when the
backbuffer surface format gets converted to the display pixel format. |
m**s 发帖数: 221 | 3 受教授教。。。
请问能不能介绍一点这方面的入门书给我,谢谢!
【在 l***8 的大作中提到】 : BackBuffer format does not affect display mode. It is just surface pixel : format; eventually it will be blitted to your primary buffer when the : backbuffer surface format gets converted to the display pixel format.
|
l***8 发帖数: 149 | 4 I dunno... just download the directX SDK from MSDN, I think there's plenty
sample code there... or go to codeproject etc. |
m**s 发帖数: 221 | 5 Thank you ... yeah those samples are good but ha, don't even know where to
start. Guess it is because I am a newbee with directx. But the job must be done soon...
By the way,do you remember the function call for that?
【在 l***8 的大作中提到】 : I dunno... just download the directX SDK from MSDN, I think there's plenty : sample code there... or go to codeproject etc.
|