|
Libprimis
Imprimis' 3D destroyable world engine
|
#include <slot.h>
Public Member Functions | |
| DecalSlot (int index=-1) | |
| int | type () const override final |
| const char * | name () const override final |
| const char * | texturedir () const override final |
| VSlot & | emptyvslot () override final |
| int | cancombine (int type) const override final |
| bool | shouldpremul (int type) const override final |
| void | reset () |
| void | cleanup () |
| Public Member Functions inherited from Slot | |
| Slot (int newindex=-1) | |
| int | findtextype (int type, int last=-1) const |
| Attempts to find a tex with index type. | |
| void | load (int index, Slot::Tex &t) |
| void | load () |
| Texture * | loadthumbnail () |
| Returns a new texture that is a thumbnail of the slot's texture. | |
| void | reset () |
| void | cleanup () |
| Public Member Functions inherited from VSlot | |
| VSlot (Slot *newslot=nullptr, int newindex=-1) | |
| void | addvariant (Slot *slot) |
| void | reset () |
| void | cleanup () |
| bool | isdynamic () const |
Public Attributes | |
| float | depth |
| float | fade |
| Public Attributes inherited from Slot | |
| int | index |
| int | smooth |
| std::vector< Tex > | sts |
| Shader * | shader |
| std::vector< SlotShaderParam > | params |
| VSlot * | variants |
| bool | loaded |
| uint | texmask |
| char * | grass |
| Texture * | grasstex |
| Texture * | thumbnail |
| Public Attributes inherited from VSlot | |
| Slot * | slot |
| VSlot * | next |
| int | index |
| int | changed |
| std::vector< SlotShaderParam > | params |
| bitmask containing zero or more bits defined above in the VSlot enum values. | |
| bool | linked |
| float | scale |
| int | rotation |
| vec | angle |
| ivec2 | offset |
| vec2 | scroll |
| int | layer |
| float | alphafront |
| float | alphaback |
| vec | colorscale |
| vec | glowcolor |
| float | refractscale |
| vec | refractcolor |
Additional Inherited Members | |
| Public Types inherited from Slot | |
| enum | { SlotType_Octa , SlotType_Material , SlotType_Decal } |
| A | derivative form of a slot intended for decal objects. |
|
finaloverridevirtual |
Reimplemented from Slot.
|
finaloverridevirtual |
Reimplemented from Slot.
|
finaloverridevirtual |
Reimplemented from Slot.
|
inlinefinaloverridevirtual |
Reimplemented from Slot.
|
inlinefinaloverridevirtual |
Reimplemented from Slot.