Home
last modified time | relevance | path

Searched refs:alpha (Results 1 – 25 of 31) sorted by relevance

12

/NW4C-2.0.3/include/nw/ut/
Dut_Color.h79 /* ctor */ /*implicit*/ Color8(s32 red, s32 green, s32 blue, s32 alpha) in Color8()
83 a(static_cast<u8>(alpha)) in Color8()
459 s32 alpha = ALPHA_OPACITY )
464 a = static_cast<u8>(alpha);
615 /* ctor */ FloatColor(f32 red, f32 green, f32 blue, f32 alpha) in FloatColor()
616 : r(red), g(green), b(blue), a(alpha) in FloatColor()
941 f32 alpha = ALPHA_OPACITY )
946 a = alpha;
972 f32 alpha) in SetAlpha()
974 this->Set(r, g, b, alpha); in SetAlpha()
[all …]
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_FrameBuffer.cpp44 u8 alpha = static_cast<u8>( 0.5f + nw::ut::Clamp(color.a, 0.0f, 1.0f) * 255.f ); in ColorToRGBA8() local
46 return (alpha) | (blue << 8) | (green << 16) | (red << 24); in ColorToRGBA8()
63 u8 alpha = static_cast<u8>( 0.5f + nw::ut::Clamp(color.a, 0.0f, 1.0f) * 1.f ); in ColorToRGB5A1() local
65 return static_cast<u16>( (alpha) | (blue << 1) | (green << 6) | (red << 11) ); in ColorToRGB5A1()
100 u8 alpha = static_cast<u8>( 0.5f + nw::ut::Clamp(color.a, 0.0f, 1.0f) * 15.f ); in ColorToRGBA4() local
102 return static_cast<u16>( (alpha) | (blue << 4) | (green << 8) | (red << 12) ); in ColorToRGBA4()
/NW4C-2.0.3/include/nw/lyt/
Dlyt_Window.h431 u8 alpha);
439 u8 alpha);
447 u8 alpha);
455 u8 alpha);
Dlyt_DrawInfo.h206 void SetGlobalAlpha(f32 alpha) in SetGlobalAlpha() argument
208 m_GlobalAlpha = alpha; in SetGlobalAlpha()
Dlyt_Pane.h623 void SetAlpha(u8 alpha) in SetAlpha() argument
625 m_Alpha = alpha; in SetAlpha()
661 void SetGlobalAlpha(u8 alpha) in SetGlobalAlpha() argument
663 m_GlbAlpha = alpha; in SetGlobalAlpha()
Dlyt_Drawer.h358 void SetCurrentUniformAlpha( const f32 alpha );
Dlyt_Common.h165 u8 alpha);
Dlyt_Material.h958 u8 alpha,
Dlyt_Resources.h906 ut::ResU8 alpha; member
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_DrawerUniform.cpp211 Drawer::SetCurrentUniformAlpha( const f32 alpha ) in SetCurrentUniformAlpha() argument
213 m_UniformAddress.addrColor = alpha; in SetCurrentUniformAlpha()
246 register f32 alpha = globalAlpha * d; in SetUpVtxColors() local
262 colors[ j ][ 3 ] = alpha; in SetUpVtxColors()
268 colors[ i ][ 3 ] *= alpha; in SetUpVtxColors()
275 colors[ i ][ 3 ] = alpha; in SetUpVtxColors()
281 m_UniformAddress.addrColor = alpha; in SetUpVtxColors()
Dlyt_Window.cpp634 u8 alpha in DrawContent() argument
637 m_pMaterial->SetupGraphics(drawInfo, alpha); in DrawContent()
654 u8 alpha in DrawFrame() argument
665 frame.pMaterial->SetupGraphics(drawInfo, alpha, false); in DrawFrame()
695 u8 alpha in DrawFrame4() argument
716 frame.pMaterial->SetupGraphics(drawInfo, alpha, false); in DrawFrame4()
737 u8 alpha in DrawFrame8() argument
779 frame.pMaterial->SetupGraphics(drawInfo, alpha, false); in DrawFrame8()
Dlyt_Common.cpp231 u8 alpha in MultipleAlpha() argument
235 if (alpha != ut::Color8::ALPHA_MAX) in MultipleAlpha()
237 ret.a = u8(col.a * alpha / ut::Color8::ALPHA_MAX); in MultipleAlpha()
Dlyt_DrawerGraphics.cpp919 nw::ut::Color8 alpha = pMaterial->GetColor( tevStage.GetKonstSelAlpha() ); in SetUpGLTexEnvUser() local
995 NW_LYT_CMD_DATA_COLOR_ALPHA( rgb, alpha ), in SetUpGLTexEnvUser()
Dlyt_Material.cpp589 u8 alpha, in SetupGraphics() argument
623 scale * scale * alpha); in SetupGraphics()
/NW4C-2.0.3/SampleData/Graphics/Shader/MultiplyShader/
DReadMe.txt23 Vertex alpha (when present)
35 Vertex alpha (when present)
/NW4C-2.0.3/include/nw/font/
Dfont_RectDrawerCommand.h259 isDepthTestEnabled, depthFunc, depthMask, red, green, blue, alpha ) \ argument
261 red, green, blue, alpha, depthMask ), \
Dfont_CharWriter.h170 void SetAlpha(u8 alpha) in SetAlpha() argument
172 m_Alpha = alpha; in SetAlpha()
/NW4C-2.0.3/sources/libraries/demo/
Ddemo_GraphicsDrawing.cpp605 m_ShapeCombiner.stage[ stageIndex ].alpha.combine = PICA_DATA_TEX_ENV_COMBINE_REPLACE; in InitializeShapeGraphicsState()
612 …m_ShapeCombiner.stage[ stageIndex ].alpha.source[ sourceIndex ] = PICA_DATA_TEX_ENV_SRC_RGBA_PRIMA… in InitializeShapeGraphicsState()
617 …m_ShapeCombiner.stage[ stageIndex ].alpha.source[ sourceIndex ] = PICA_DATA_TEX_ENV_SRC_RGBA_PREVI… in InitializeShapeGraphicsState()
621 …m_ShapeCombiner.stage[ stageIndex ].alpha.operand[ sourceIndex ] = PICA_DATA_OPE_ALPHA_SRC_ALPH… in InitializeShapeGraphicsState()
625 m_ShapeCombiner.stage[ stageIndex ].alpha.scale = PICA_DATA_TEX_ENV_SCALE_1; in InitializeShapeGraphicsState()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_GraphicsDevice.h192 static NW_INLINE void SetColorMask(bool red, bool green, bool blue, bool alpha);
1002 GraphicsDevice::SetColorMask(bool red, bool green, bool blue, bool alpha) in SetColorMask() argument
1007 (u32(alpha) << 3); in SetColorMask()
/NW4C-2.0.3/sources/libraries/font/
Dfont_CharWriter.cpp47 u8 alpha in MultiplyAlpha() argument
55 pDst->a = (src.a / floatAlphaMax) * (alpha / floatAlphaMax); in MultiplyAlpha()
Dfont_RectDrawer.cpp1907 const u32 alpha = m_Alpha; in UseCommandBuffer() local
1910 white.a = static_cast<u8>(white.a * alpha / 255); in UseCommandBuffer()
1911 black.a = static_cast<u8>(black.a * alpha / 255); in UseCommandBuffer()
/NW4C-2.0.3/documents/LayoutEditor/html/css/
Dmanpage.css259 list-style-type: upper-alpha;
/NW4C-2.0.3/documents/EffectMaker/html/css/
Dmanpage.css253 list-style-type: upper-alpha;
/NW4C-2.0.3/documents/SoundMaker/html/css/
Dmanpage.css246 list-style-type: upper-alpha;
/NW4C-2.0.3/documents/3DEditor/html/common/
Dmain.css261 list-style-type: upper-alpha;

12