GraphicsStateGuardianBase
from panda3d.core import GraphicsStateGuardianBase
- class GraphicsStateGuardianBase
Bases:
TypedWritableReferenceCount
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the various GSG’s for different platforms. This class contains all the function prototypes to support the double-dispatch of GSG to geoms, transitions, etc. It lives in a separate class in its own package so we can avoid circular build dependency problems.
GraphicsStateGuardians are not actually writable to bam files, of course, but they may be passed as event parameters, so they inherit from TypedWritableReferenceCount instead of TypedReferenceCount for that convenience.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getDefaultGsg()
C++ Interface: get_default_gsg()
- /**
Returns a pointer to the “default” GSG. This is typically the first GSG
created in an application; in a single-window application, it will be the
only GSG. This GSG is used to determine default optimization choices for
loaded geometry.
The return value may be NULL if a GSG has not been created.
*/
- getEffectiveIncompleteRender()
C++ Interface: get_effective_incomplete_render(GraphicsStateGuardianBase self)
- getGsg()
C++ Interface: get_gsg(int n)
- /**
Returns the nth GSG in the universe. GSG’s automatically add themselves
and remove themselves from this list as they are created and destroyed.
*/
- getGsgs()
- getIncompleteRender()
C++ Interface: get_incomplete_render(GraphicsStateGuardianBase self)
- getMaxTextureDimension()
C++ Interface: get_max_texture_dimension(GraphicsStateGuardianBase self)
- getMaxVerticesPerArray()
C++ Interface: get_max_vertices_per_array(GraphicsStateGuardianBase self)
- getMaxVerticesPerPrimitive()
C++ Interface: get_max_vertices_per_primitive(GraphicsStateGuardianBase self)
- getNumGsgs()
C++ Interface: get_num_gsgs()
- /**
Returns the total number of GSG’s in the universe.
*/
- getSupportedGeomRendering()
C++ Interface: get_supported_geom_rendering(GraphicsStateGuardianBase self)
- getSupportsCompressedTextureFormat()
C++ Interface: get_supports_compressed_texture_format(GraphicsStateGuardianBase self, int compression_mode)
- getSupportsHlsl()
C++ Interface: get_supports_hlsl(GraphicsStateGuardianBase self)
- getSupportsMultisample()
C++ Interface: get_supports_multisample(GraphicsStateGuardianBase self)
- getSupportsShadowFilter()
C++ Interface: get_supports_shadow_filter(GraphicsStateGuardianBase self)
- getSupportsTextureSrgb()
C++ Interface: get_supports_texture_srgb(GraphicsStateGuardianBase self)
- get_class_type()
C++ Interface: get_class_type()
- get_default_gsg()
C++ Interface: get_default_gsg()
- /**
Returns a pointer to the “default” GSG. This is typically the first GSG
created in an application; in a single-window application, it will be the
only GSG. This GSG is used to determine default optimization choices for
loaded geometry.
The return value may be NULL if a GSG has not been created.
*/
- get_effective_incomplete_render()
C++ Interface: get_effective_incomplete_render(GraphicsStateGuardianBase self)
- get_gsg()
C++ Interface: get_gsg(int n)
- /**
Returns the nth GSG in the universe. GSG’s automatically add themselves
and remove themselves from this list as they are created and destroyed.
*/
- get_gsgs()
- get_incomplete_render()
C++ Interface: get_incomplete_render(GraphicsStateGuardianBase self)
- get_max_texture_dimension()
C++ Interface: get_max_texture_dimension(GraphicsStateGuardianBase self)
- get_max_vertices_per_array()
C++ Interface: get_max_vertices_per_array(GraphicsStateGuardianBase self)
- get_max_vertices_per_primitive()
C++ Interface: get_max_vertices_per_primitive(GraphicsStateGuardianBase self)
- get_num_gsgs()
C++ Interface: get_num_gsgs()
- /**
Returns the total number of GSG’s in the universe.
*/
- get_supported_geom_rendering()
C++ Interface: get_supported_geom_rendering(GraphicsStateGuardianBase self)
- get_supports_compressed_texture_format()
C++ Interface: get_supports_compressed_texture_format(GraphicsStateGuardianBase self, int compression_mode)
- get_supports_hlsl()
C++ Interface: get_supports_hlsl(GraphicsStateGuardianBase self)
- get_supports_multisample()
C++ Interface: get_supports_multisample(GraphicsStateGuardianBase self)
- get_supports_shadow_filter()
C++ Interface: get_supports_shadow_filter(GraphicsStateGuardianBase self)
- get_supports_texture_srgb()
C++ Interface: get_supports_texture_srgb(GraphicsStateGuardianBase self)
- prefersTriangleStrips()
C++ Interface: prefers_triangle_strips(GraphicsStateGuardianBase self)
- prefers_triangle_strips()
C++ Interface: prefers_triangle_strips(GraphicsStateGuardianBase self)