Microsoft DirectX 8.1 (Visual Basic) |
object.GetPaletteEntries( _ PaletteNumber As Long, _ ArrayOfEntries As Any)
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
This method assumes that the pEntries array has 256 PALETTEENTRY types.
Direct3DDevice8.GetCurrentTexturePalette, Direct3DDevice8.SetCurrentTexturePalette, Direct3DDevice8.SetPaletteEntries, Texture Palettes