#include <slot.h>
|
|
| 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 () |
| |
|
| Slot (int index=-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 () |
| |
|
| VSlot (Slot *slot=nullptr, int index=-1) |
| |
|
void | addvariant (Slot *slot) |
| |
|
void | reset () |
| |
|
void | cleanup () |
| |
|
bool | isdynamic () const |
| |
|
|
float | depth |
| |
|
float | fade |
| |
|
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 |
| |
|
Slot * | slot |
| |
|
VSlot * | next |
| |
|
int | index |
| |
|
int | changed |
| |
|
std::vector< SlotShaderParam > | params |
| |
|
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 |
| |
|
| enum | { SlotType_Octa
, SlotType_Material
, SlotType_Decal
} |
| |
- Parameters
-
| A | derivative form of a slot intended for decal objects. |
◆ cancombine()
| int DecalSlot::cancombine |
( |
int | type | ) |
const |
|
finaloverridevirtual |
◆ emptyvslot()
| VSlot & DecalSlot::emptyvslot |
( |
| ) |
|
|
inlinefinaloverridevirtual |
◆ name()
| const char * DecalSlot::name |
( |
| ) |
const |
|
finaloverridevirtual |
◆ shouldpremul()
| bool DecalSlot::shouldpremul |
( |
int | type | ) |
const |
|
finaloverridevirtual |
◆ texturedir()
| const char * DecalSlot::texturedir |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ type()
| int DecalSlot::type |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
The documentation for this struct was generated from the following file:
- /github/workspace/src/libprimis-headers/slot.h