请问使用CreateTextureFromFileEx载入图像怎么改调色板?我已经用SetPaletteEntries、SetCurrentTexturePalette设置并指定调色板,
但是还没有任何效果,请高人指点。
但是还没有任何效果,请高人指点。
解决方案 »
- 我用VB收RS232传送过来的字符串,但是每次传过来的开头总有一个很奇怪字符,好象是个“|_"或者反过来
- 如何使用VB将Access中表倒成Excel,并且可以存到想存的地方,以自己想要的名字命名
- MSFlexGrid 在日文系统下无法正常显示中文
- 用VB6中文版写的程序,在英文版的WIN2K下运行,原来的中文都成了"?"了,求教怎么在英文版的操作系统下,使VB开发的程序能显示中文?
- 程序中打印纸大小设置问题
- 有没有API可以实现使listview控件按数字、和日期格式来排序而不是默认的字符方式?
- 谁有用odbc连接access数据库的驱动程序啊
- 如何把QQ聊天框里的内容提取处理啊
- 为什么数据库查询语句,老是返回一条语句?RecordCount获取条数,同样的SQL我在Access中查询不止一条!求大神帮忙看看
- VB中如何成批复制SQL Server数据库中的数据?
- 引用按键精灵里面QMDispatch.dll的问题
- listbox中字体大小动态改变,怎么样让listbox大小不变?
Palette
The first element of an array of 256 PALETTEENTRY types to fill in, or ByVal 0. See Res. Res
Mipmapped textures will automatically have each level filled with the loaded texture.When loading images into mipmapped textures, some video cards are unable to go to a 1x1 image and this function will fail. If this happens, then the images need to be loaded manually.For more information on PALETTEENTRY see the Microsoft Platform Software Development Kit (SDK). Note that as of Microsoft DirectX® 8.0, the peFlags member of the PALETTEENTRY structure does not work the way it is documented in the Platform SDK. The peFlags member is now the alpha channel for 8-bit palletized formats