Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_graphics
Elements
TranslucentElem.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Elem.hpp
"
4
#include <
ivorium_core/ivorium_core.hpp
>
5
6
namespace
iv
7
{
8
16
class
TranslucentElem
17
{
18
public
:
19
ClientMarker
cm
;
20
21
TranslucentElem
(
Elem
*
elem
);
22
void
status
(
iv::TableDebugView
* view );
23
24
Elem
*
elem
();
25
Elem
const
*
elem
()
const
;
26
27
// initialization parameters
28
DirtyAttr< float4 >
attr_preblend
;
29
DirtyAttr< bool >
attr_translucent
;
30
31
// methods
32
TranslucentElem
*
preblend
(
float4
val );
33
TranslucentElem
*
translucent
(
bool
val );
34
35
private
:
36
Elem
* _elem;
37
};
38
39
}