| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_Flag.h | 49 CheckFlag(const TFlags& flags, const TMask& mask) in CheckFlag() argument 52 return (flags & static_cast<TFlags>(mask)) == static_cast<TFlags>(mask); in CheckFlag() 63 CheckFlagOr(const TFlags& flags, const TMask& mask) in CheckFlagOr() argument 66 return (flags & static_cast<TFlags>(mask)) != 0; in CheckFlagOr() 106 GetFlagValue(const TFlags& flags, int shift, const TMask& mask) in GetFlagValue() argument 108 return static_cast<TResult>((flags & static_cast<TFlags>(mask)) >> shift); in GetFlagValue() 123 SetFlagValue(const TFlags& flags, int shift, const TMask& mask, const TValue& value) in SetFlagValue() argument 125 return (flags & ~(static_cast<TFlags>(mask))) | ((value << shift) & static_cast<TFlags>(mask)); in SetFlagValue()
|
| D | ut_Inlines.h | 702 const OutputT mask = static_cast<OutputT>( ( 1UL << len ) - 1 ); variable 703 return static_cast<OutputT>( (bits >> pos) & mask ); 893 u32 mask = (0x1U << width) - 1; in WriteBits() local 895 return (bits & ~(mask << shift)) | ((u32(value) & mask) << shift); in WriteBits() 906 const T mask = T(1 << pos); in TestBit() local 908 return 0 != (bits & mask); in TestBit() 921 const u32 mask = ~(0xFFFFFFFFU << len); in GetBits() local 923 return T((bits >> pos) & mask); in GetBits()
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_StreamBufferPool.cpp | 73 u8 mask = ( 1 << 0 ); in Alloc() local 74 for( int bitIndex = 0 ; bitIndex < BIT_PER_BYTE ; bitIndex++, mask<<=1 ) in Alloc() 76 if ( ( byte & mask ) == 0 ) in Alloc() 78 m_AllocFlags[ byteIndex ] |= mask; in Alloc() 99 const int mask = ( 1 << bitIndex ); in Free() local 100 NW_ASSERT( ( m_AllocFlags[ byteIndex ] & mask ) != 0 ); in Free() 101 m_AllocFlags[ byteIndex ] &= ~mask; in Free()
|
| /NW4C-2.0.3/sources/libraries/demo/ |
| D | demo_PadButton.cpp | 49 u32 mask = 1; in Update() local 50 for ( int i = 0; i < BUTTON_COUNT_MAX; ++i, mask <<= 1 ) in Update() 52 if ( m_ButtonPress & mask ) in Update() 59 m_ButtonRepeat |= mask; in Update() 64 m_ButtonRepeatFast |= mask; in Update()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_ShaderBinaryInfo.h | 418 u32 mask = exeInfo->inputMask; in GetInputRegisterNum() local 423 if (mask & (1 << i)) in GetInputRegisterNum() 443 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum() local 448 if (mask & (1 << i)) in GetOutputRegisterNum() 468 u32 mask = exeInfo->outputMask; in GetOutputRegisterNum() local 473 if (mask & (1 << i)) in GetOutputRegisterNum() 480 if (pMask) { *pMask = u32(mask); } in GetOutputRegisterNum() 506 u32 mask = exeInfo->outputMask; in GetShaderOutputRegisterNum() local 511 if (mask & (1 << i)) in GetShaderOutputRegisterNum() 518 if (pMask) { *pMask = u32(mask); } in GetShaderOutputRegisterNum() [all …]
|
| D | gfx_CommandUtil.h | 152 u32 mask = 0; in GetByteEnableMask() local 154 mask |= (be & 0x1) ? 0x000000FF : 0; in GetByteEnableMask() 155 mask |= (be & 0x2) ? 0x0000FF00 : 0; in GetByteEnableMask() 156 mask |= (be & 0x4) ? 0x00FF0000 : 0; in GetByteEnableMask() 157 mask |= (be & 0x8) ? 0xFF000000 : 0; in GetByteEnableMask() 158 return mask; in GetByteEnableMask() 207 GetCmdValue(u32 value, u32 mask, s32 shift) in GetCmdValue() argument 209 return (value >> shift) & mask; in GetCmdValue() 214 SetCmdValue(u32* addr, TValue value, u32 mask, s32 shift) in SetCmdValue() argument 216 u32 result = *addr & ~(mask << shift); in SetCmdValue() [all …]
|
| D | gfx_GraphicsDevice.h | 204 static NW_INLINE void SetStencilMask(u8 mask); 1023 GraphicsDevice::SetStencilMask(u8 mask) in SetStencilMask() argument 1025 s_IsFrameBufferUpdated = s_IsFrameBufferUpdated || (s_StencilMask != mask); in SetStencilMask() 1026 s_StencilMask = mask; in SetStencilMask()
|
| D | gfx_FrameBuffer.h | 230 …void ClearBuffer( u32 mask, const ut::FloatColor& clearColor, f32 clearDepth, u8 clearStencil = 0 …
|
| D | gfx_RenderContext.h | 261 void ClearBuffer(GLbitfield mask, const nw::ut::FloatColor& color, f32 depth);
|
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_ParticleRandom.cpp | 40 LDR r3, mask in NextFloatSignedOne() 56 mask DCD 0x00007fff in NextFloatSignedOne()
|
| D | gfx_FrameBuffer.cpp | 249 u32 mask, in ClearBuffer() argument 266 if ( mask & CLEAR_MASK_COLOR ) in ClearBuffer() 313 if (mask & CLEAR_MASK_DEPTH) in ClearBuffer()
|
| D | gfx_RenderContext.cpp | 270 GLbitfield mask, in ClearBuffer() argument 285 glClear(mask); in ClearBuffer() 290 fbo.ClearBuffer( mask, color, depth, 0 ); in ClearBuffer()
|
| /NW4C-2.0.3/include/nw/lyt/ |
| D | lyt_Types.h | 73 const T mask = T(~(1 << pos)); in SetBit() local 75 bits &= mask; in SetBit() 90 const T mask = T(~(1 << pos)); in SetBit() local 92 *pBits &= mask; in SetBit() 112 const T mask = T(~(MaxValue << pos)); in SetBits() local 114 bits &= mask; in SetBits() 134 const T mask = T(~(MaxValue << pos)); in SetBits() local 136 *pBits &= mask; in SetBits()
|
| /NW4C-2.0.3/include/nw/font/ |
| D | font_TextWriterBase.h | 626 u32 mask, in IsDrawFlagSet() argument 630 return (m_DrawFlag & mask) == flag; in IsDrawFlagSet()
|
| /NW4C-2.0.3/sources/libraries/font/ |
| D | font_RectDrawer.cpp | 263 u16 mask; member 1289 useOutRegTypes[outmapInfos[j].type] = static_cast<u8>(outmapInfos[j].mask); in InitializeCMD() 1293 if (0 != (outmapInfos[j].mask & (1 << i))) in InitializeCMD()
|
| /NW4C-2.0.3/tools/DccPlugin/Maya/scripts/ |
| D | NW4C_ExpDialog.mel | 1447 string $dirMask = "*.c3es"; // fileDialog can use mask
|