Go to the documentation of this file.
14 #ifndef ANTIALIASATTRIB_H
15 #define ANTIALIASATTRIB_H
34 M_multisample = 0x0008,
51 INLINE
unsigned short get_mode()
const;
52 INLINE
unsigned short get_mode_type()
const;
53 INLINE
unsigned short get_mode_quality()
const;
56 MAKE_PROPERTY(mode, get_mode);
57 MAKE_PROPERTY(mode_type, get_mode_type);
58 MAKE_PROPERTY(mode_quality, get_mode_quality);
61 virtual void output(std::ostream &out)
const;
64 virtual int compare_to_impl(
const RenderAttrib *other)
const;
65 virtual size_t get_hash_impl()
const;
72 static int get_class_slot() {
75 virtual int get_slot()
const {
76 return get_class_slot();
78 MAKE_PROPERTY(class_slot, get_class_slot);
81 static void register_with_read_factory();
92 static void init_type();
94 return get_class_type();
96 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
100 static int _attrib_slot;
Specifies whether or how to enable antialiasing, if supported by the backend renderer.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class to retrieve the individual data elements previously stored in a Datagram.
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the base class for a number of render attributes (other than transform) that may be set on sc...
Base class for objects that can be written to and read from Bam files.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
An instance of this class is passed to the Factory when requesting it to do its business and construc...