direct.showutil.TexMemWatcher¶
from direct.showutil.TexMemWatcher import TexMemWatcher, TexPlacement, TexRecord
Inheritance diagram
digraph inheritance4b12d697b5 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "TexMemWatcher" [URL="direct.showutil.TexMemWatcher.html#direct.showutil.TexMemWatcher.TexMemWatcher",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This class creates a separate graphics window that displays an"]; "DirectObject" -> "TexMemWatcher" [arrowsize=0.75,style=""]; "TexPlacement" [URL="direct.showutil.TexMemWatcher.html#direct.showutil.TexMemWatcher.TexPlacement",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "TexRecord" [URL="direct.showutil.TexMemWatcher.html#direct.showutil.TexMemWatcher.TexRecord",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; }- class TexMemWatcher(gsg=None, limit=None)[source]¶
Bases:
DirectObjectThis class creates a separate graphics window that displays an approximation of the current texture memory, showing the textures that are resident and/or active, and an approximation of the amount of texture memory consumed by each one. It’s intended as a useful tool to help determine where texture memory is being spent.
Although it represents the textures visually in a 2-d space, it doesn’t actually have any idea how textures are physically laid out in memory–but it has to lay them out somehow, so it makes something up. It occasionally rearranges the texture display when it feels it needs to, without regard to what the graphics card is actually doing. This tool can’t be used to research texture memory fragmentation issues.
- NextIndex = 1¶
- StatusHeight = 20¶