Font.PreloadGlyphs(Int32,Int32) Method (Microsoft.DirectX.Direct3D)
Loads a series of glyphs into video memory to improve the efficiency of rendering to a device.
Visual Basic Public Sub PreloadGlyphs( _
ByVal first As Integer, _
ByVal last As Integer _
C# public void PreloadGlyphs(
JScript public function PreloadGlyphs(
first : int,
last : int
Identifier of the first glyph to load into video memory.
Identifier of the last glyph to load into video memory.
This method does not render the glyphs to the device; Font.DrawText still must be called to render the glyphs. However, pre-loading glyphs into video memory causes Font.DrawText to use substantially fewer CPU resources.
The method call is invalid. For example, a method's parameter might contain an invalid value.
The data is invalid.