Back to index

unity  6.0.0
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
unity::ui Namespace Reference

Namespaces

namespace  local

Classes

class  Decaymulator
class  EdgeBarrierSubscriber
class  EdgeBarrierController
class  LayoutWindow
class  LayoutSystem
class  BarrierEvent
class  PointerBarrierWrapper
class  RenderArg
class  AbstractIconRenderer
class  IconRenderer
class  IconTextureSource
class  KeyboardUtil
class  UnityWindowStyle
class  UnityWindowView

Typedefs

typedef std::vector
< LayoutWindow::Ptr
LayoutWindowList

Enumerations

enum  BarrierDirection { BOTH = 0, LEFT = 1, RIGHT = 4 }
enum  PipRenderStyle { OUTSIDE_TILE, OVER_TILE }

Functions

 NUX_IMPLEMENT_OBJECT_TYPE (IconTextureSource)
 NUX_IMPLEMENT_OBJECT_TYPE (UnityWindowView)

Variables

nux::NString gPerspectiveCorrectShader
nux::NString PerspectiveCorrectVtx
nux::NString PerspectiveCorrectTexFrg
nux::NString PerspectiveCorrectTexRectFrg

Typedef Documentation

Definition at line 49 of file LayoutSystem.h.


Enumeration Type Documentation

Enumerator:
BOTH 
LEFT 
RIGHT 

Definition at line 46 of file PointerBarrier.h.

{
  BOTH = 0,
  LEFT = 1,
  RIGHT = 4,
};
Enumerator:
OUTSIDE_TILE 
OVER_TILE 

Definition at line 33 of file AbstractIconRenderer.h.


Function Documentation

unity::ui::NUX_IMPLEMENT_OBJECT_TYPE ( IconTextureSource  )
unity::ui::NUX_IMPLEMENT_OBJECT_TYPE ( UnityWindowView  )

Variable Documentation

Definition at line 70 of file IconRenderer.cpp.

Initial value:
 TEXT(
"!!ARBfp1.0                                                   \n\
PARAM color0 = program.local[0];                              \n\
PARAM factor = program.local[1];                              \n\
PARAM colorify_color = program.local[2];                      \n\
PARAM luma = {" LUMIN_RED ", " LUMIN_GREEN ", " LUMIN_BLUE ", 0.0}; \n\
TEMP temp;                                                    \n\
TEMP pcoord;                                                  \n\
TEMP tex0;                                                    \n\
TEMP desat;                                                   \n\
TEMP color;                                                   \n\
MOV pcoord, fragment.texcoord[0].w;                           \n\
RCP temp, fragment.texcoord[0].w;                             \n\
MUL pcoord.xy, fragment.texcoord[0], temp;                    \n\
TEX tex0, pcoord, texture[0], 2D;                             \n\
MUL color, color0, tex0;                                      \n\
DP4 desat, luma, color;                                       \n\
LRP temp, factor.x, color, desat;                             \n\
MUL result.color.rgb, temp, colorify_color;                   \n\
MOV result.color.a, color;                                    \n\
END")

Definition at line 132 of file IconRenderer.cpp.

Initial value:
 TEXT(
"!!ARBfp1.0                                                   \n\
PARAM color0 = program.local[0];                              \n\
PARAM factor = program.local[1];                              \n\
PARAM colorify_color = program.local[2];                      \n\
PARAM luma = {" LUMIN_RED ", " LUMIN_GREEN ", " LUMIN_BLUE ", 0.0}; \n\
TEMP temp;                                                    \n\
TEMP pcoord;                                                  \n\
TEMP tex0;                                                    \n\
MOV pcoord, fragment.texcoord[0].w;                           \n\
RCP temp, fragment.texcoord[0].w;                             \n\
MUL pcoord.xy, fragment.texcoord[0], temp;                    \n\
TEX tex0, pcoord, texture[0], RECT;                           \n\
MUL color, color0, tex0;                                      \n\
DP4 desat, luma, color;                                       \n\
LRP temp, factor.x, color, desat;                             \n\
MUL result.color.rgb, temp, colorify_color;                   \n\
MOV result.color.a, color;                                    \n\
END")

Definition at line 154 of file IconRenderer.cpp.

Initial value:
 TEXT(
"!!ARBvp1.0                                 \n\
ATTRIB iPos         = vertex.position;      \n\
ATTRIB iColor       = vertex.attrib[3];     \n\
PARAM  mvp[4]       = {state.matrix.mvp};   \n\
OUTPUT oPos         = result.position;      \n\
OUTPUT oColor       = result.color;         \n\
OUTPUT oTexCoord0   = result.texcoord[0];   \n\
# Transform the vertex to clip coordinates. \n\
DP4   oPos.x, mvp[0], iPos;                 \n\
DP4   oPos.y, mvp[1], iPos;                 \n\
DP4   oPos.z, mvp[2], iPos;                 \n\
DP4   oPos.w, mvp[3], iPos;                 \n\
MOV   oColor, iColor;                       \n\
MOV   oTexCoord0, vertex.attrib[8];         \n\
END")

Definition at line 115 of file IconRenderer.cpp.