请问使用CreateTextureFromFileEx载入图像怎么改调色板?我已经用SetPaletteEntries、SetCurrentTexturePalette设置并指定调色板,
但是还没有任何效果,请高人指点。
但是还没有任何效果,请高人指点。
解决方案 »
- vb6如何制作从任务栏弹出气泡窗体?
- 求一个好用的文件上传源码。。。
- 取最大值的问题
- Inet控件获得utf-8页面显示乱码,如何解决?
- 请问高手:如何遍历局域网中所有的机器?
- 用mscomm控件实现电脑和单片机串口通讯,如何检测是否连通?是否准备好?---在线等待!!
- 急用
- 关于用VB中的ActiveX编B/S程序时遇到的问题?急!
- API求助~~怎么让当前窗口总在最前端
- 请问VBA之EXCEL:怎么让用户输入某个CELL时,如果为空就不让他跳到其它CELL去输入,直到该CELL值不空??要用vba控制!!
- 引用按键精灵里面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