| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_GraphicsDevice.cpp | 82 GraphicsDevice::ActivateLookupTable(ResImageLookupTable lookupTable, LutTarget target) in ActivateLookupTable() argument 85 NW_MINMAXLT_ASSERT(target, LUT_TARGET_D0, LUT_TARGET_COUNT); in ActivateLookupTable() 87 if (m_LutTargets[target] != lookupTable) in ActivateLookupTable() 89 m_LutTargets[target] = lookupTable; in ActivateLookupTable() 90 ActivateLutLoadSetting(target); in ActivateLookupTable() 101 for (int target = 0; target < LUT_TARGET_COUNT; ++target) in InvalidateLookupTable() local 103 if (m_LutTargets[target] == lookupTable) in InvalidateLookupTable() 105 m_LutTargets[target] = ResImageLookupTable(NULL); in InvalidateLookupTable() 114 for (int target = 0; target < LUT_TARGET_COUNT; ++target) in InvalidateAllLookupTables() local 116 m_LutTargets[target] = ResImageLookupTable(NULL); in InvalidateAllLookupTables() [all …]
|
| D | gfx_AnimBinding.cpp | 151 …CalculatedTransform* target = static_cast<CalculatedTransform*>(animGroup->GetTargetPtr(memberIdx)… in EvaluateTransformMember() local 152 animObj->GetResult(target, memberIdx); in EvaluateTransformMember() 174 …CalculatedTransform* target = static_cast<CalculatedTransform*>(animGroup->GetTargetPtr(memberIdx)… in EvaluateTransformMemberFast() local 175 evaluator->GetResultFast(target, memberIdx); in EvaluateTransformMemberFast() 204 void* target = NULL; in EvaluateMember() local 214 target = &texturePatternTarget; in EvaluateMember() 218 target = animGroup->GetTargetPtr(memberIdx); in EvaluateMember() 231 blendOp->Apply(target, resultPtr); // VALID フラグがオンの成分のみ書き込み in EvaluateMember() 237 resultPtr = animObj->GetResult(target, memberIdx); in EvaluateMember() 255 member.SetValueForType(object, target); in EvaluateMember()
|
| D | gfx_TransformAnimEvaluator.cpp | 297 void* target, in GetResult() argument 301 return GetResultCommon(target, memberIdx, true); in GetResult() 335 CalculatedTransform* target = in ResetNoAnimMember() local 347 target->SetRotateAndTranslate(originalValue->rotate, originalValue->translate); in ResetNoAnimMember() 353 target->SetScale(originalValue->scale); in ResetNoAnimMember() 359 UpdateFlags(target); in ResetNoAnimMember() 363 m_CacheTransforms[animIdx] = *target; in ResetNoAnimMember() 379 TransformAnimEvaluator::GetResultFast(void* target, int memberIdx) const in GetResultFast() argument 381 return GetResultCommon(target, memberIdx, false); in GetResultFast() 386 TransformAnimEvaluator::GetResultCommon(void* target, int memberIdx, bool writeNoAnimMember) const in GetResultCommon() argument [all …]
|
| D | gfx_AnimOverrider.cpp | 34 void* target, in GetResult() argument 51 m_AnimObjects[animIdx]->GetResult(target, memberIdx); in GetResult() 62 anim::AnimResult* result = reinterpret_cast<anim::AnimResult*>(target); in GetResult()
|
| D | gfx_AnimEvaluator.cpp | 155 void* target, in GetResult() argument 181 memberAnim.ApplyCacheForType(target, m_CachePtrs[animIdx]); in GetResult() 184 return reinterpret_cast<anim::AnimResult*>(target); in GetResult() 198 anim::AnimResult* result = reinterpret_cast<anim::AnimResult*>(target); in GetResult() 208 target, 0, m_AnimFrameController.GetFrame(), in GetResult() 213 return reinterpret_cast<anim::AnimResult*>(target); in GetResult()
|
| D | gfx_TransformAnimOverrider.cpp | 37 void* target, in GetResult() argument 48 reinterpret_cast<CalculatedTransform*>(target); in GetResult() 96 return reinterpret_cast<anim::AnimResult*>(target); in GetResult()
|
| D | gfx_AnimInterpolator.cpp | 34 void* target, in GetResult() argument 51 m_AnimObjects[animIdx]->GetResult(target, memberIdx); in GetResult() 97 return lastAnimObj->GetResult(target, memberIdx); in GetResult() 106 anim::AnimResult* result = reinterpret_cast<anim::AnimResult*>(target); in GetResult() 192 anim::AnimResult* result = reinterpret_cast<anim::AnimResult*>(target); in GetResult()
|
| D | gfx_AnimAdder.cpp | 34 void* target, in GetResult() argument 51 m_AnimObjects[animIdx]->GetResult(target, memberIdx); in GetResult() 63 anim::AnimResult* result = reinterpret_cast<anim::AnimResult*>(target); in GetResult()
|
| D | gfx_TransformAnimAdder.cpp | 37 void* target, in GetResult() argument 49 reinterpret_cast<CalculatedTransform*>(target); in GetResult() 144 return reinterpret_cast<anim::AnimResult*>(target); in GetResult()
|
| D | gfx_Model.cpp | 158 u8* target = NULL; in BindVisibilityAnim() local 161 target = reinterpret_cast<u8*>(&m_Visible); in BindVisibilityAnim() 165 target = reinterpret_cast<u8*>(&m_BranchVisible); in BindVisibilityAnim() 175 animGroup->SetTargetPtr(memberIdx, target); in BindVisibilityAnim() 188 u8* target = reinterpret_cast<u8*>(GetResMeshes()[meshIndex].ptr()); in BindVisibilityAnim() local 189 target += resAnimGroupMember.GetMemberOffset(); in BindVisibilityAnim() 192 animGroup->SetTargetPtr(memberIdx, target); in BindVisibilityAnim() 206 … u8* target = reinterpret_cast<u8*>(GetResMeshNodeVisibilities(visibilityIndex).ptr()); in BindVisibilityAnim() local 207 target += resAnimGroupMember.GetMemberOffset(); in BindVisibilityAnim() 210 animGroup->SetTargetPtr(memberIdx, target); in BindVisibilityAnim()
|
| D | gfx_SkeletalModel.cpp | 269 void* target = m_Skeleton->WorldMatrixPose().GetMatrix(boneIdx); in SetupAnimGroup() local 270 animGroup->SetTargetPtr(memberIdx, target); in SetupAnimGroup() 275 void* target = m_Skeleton->LocalTransformPose().GetTransform(boneIdx); in SetupAnimGroup() local 276 animGroup->SetTargetPtr(memberIdx, target); in SetupAnimGroup()
|
| D | gfx_TransformAnimInterpolator.cpp | 36 void* target, in GetResult() argument 117 reinterpret_cast<CalculatedTransform*>(target); in GetResult() 248 reinterpret_cast<CalculatedTransform*>(target); in GetResult() 350 return reinterpret_cast<anim::AnimResult*>(target); in GetResult()
|
| D | gfx_Light.cpp | 95 u8* target = static_cast<u8*>(object); in CreateAnimGroup() local 96 target += member.GetMemberOffset(); in CreateAnimGroup() 97 m_AnimGroup->SetTargetPtr(memberIdx, target); in CreateAnimGroup()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_GraphicsDevice.h | 255 static void SetLutIsAbs(LutTarget target, bool isAbs) in SetLutIsAbs() argument 257 NW_ASSERT(target < LUT_TARGET_COUNT); in SetLutIsAbs() 259 if (LUT_TARGET_SP0 <= target && target <= LUT_TARGET_SP7) in SetLutIsAbs() 261 target = LUT_TARGET_SP; in SetLutIsAbs() 266 s_LutIsAbs &= ~(0x1 << (1 + 4 * target)); in SetLutIsAbs() 270 s_LutIsAbs |= 0x1 << (1 + 4 * target) ; in SetLutIsAbs() 280 static void SetLutInput( LutTarget target, ResLightingLookupTable::Input input ) in SetLutInput() argument 282 NW_ASSERT(target < LUT_TARGET_COUNT); in SetLutInput() 285 if (LUT_TARGET_SP0 <= target && target <= LUT_TARGET_SP7) in SetLutInput() 287 target = LUT_TARGET_SP; in SetLutInput() [all …]
|
| /NW4C-2.0.3/include/nw/anim/ |
| D | anim_AnimBlend.h | 157 virtual void Apply(void* target, const AnimResult* result) const = 0; 203 void ApplyFloatVector(void* target, const AnimResult* result, int compCount) const; 264 virtual void Apply(void* target, const AnimResult* result) const in Apply() argument 266 *reinterpret_cast<bool*>(target) = in Apply() 318 virtual void Apply(void* target, const AnimResult* result) const in Apply() argument 320 *reinterpret_cast<int*>(target) = in Apply() 376 virtual void Apply(void* target, const AnimResult* result) const in Apply() argument 378 *reinterpret_cast<float*>(target) = in Apply() 442 virtual void Apply(void* target, const AnimResult* result) const in Apply() argument 444 ApplyFloatVector(target, result, COMP_COUNT); in Apply() [all …]
|
| /NW4C-2.0.3/sources/libraries/anim/res/ |
| D | anim_ResAnim.cpp | 87 void* target, in ApplyCache() argument 91 math::VEC2* dst = reinterpret_cast<math::VEC2*>(target); in ApplyCache() 135 void* target, in ApplyCache() argument 139 math::VEC3* dst = reinterpret_cast<math::VEC3*>(target); in ApplyCache() 192 void* target, in ApplyCache() argument 196 ut::ResFloatColor* dst = reinterpret_cast<ut::ResFloatColor*>(target); in ApplyCache() 229 …::std::pair<gfx::ResTexture, bool> target = gfx::GetReferenceTextureTarget(GetTextures(i), graphic… in Setup() 231 if (!target.second) in Setup() 271 void* target, in ApplyCache() argument 275 ut::Offset* dst = reinterpret_cast<ut::Offset*>(target); in ApplyCache() [all …]
|
| /NW4C-2.0.3/demos/Nw4cDemo/include/ |
| D | SmCamera.h | 113 void SetTarget( nw::math::VEC3* target ) in SetTarget() argument 115 NW_NULL_ASSERT( target ); in SetTarget() 118 m_Target = *target; in SetTarget() 148 void SetPadCameraTarget( nw::math::VEC3* target ) in SetPadCameraTarget() argument 157 resViewUpdater.SetTargetPosition(*target); in SetPadCameraTarget() 161 void GetTarget( nw::math::VEC3* target ) in GetTarget() argument 163 NW_NULL_ASSERT( target ); in GetTarget() 164 *target = m_Target; in GetTarget()
|
| /NW4C-2.0.3/include/nw/config/ |
| D | macros.h | 52 #define NW_ADAPTIVE_HEADER(prefix, target) <NW_MACRO_CAT_(prefix, target)> argument 53 #define NW_ADAPTIVE_HEADER_LOCAL(prefix, target) NW_MACRO_STRING_(NW_MACRO_CAT_(prefix, target)) argument
|
| /NW4C-2.0.3/sources/libraries/font/ |
| D | font_PackedFont.cpp | 1044 OrderNode& target = GetNode(index); in Use() local 1046 if (! IsLockedNode(target)) in Use() 1049 Unlink(target); in Use() 1054 target.nextIndex = root.nextIndex; in Use() 1055 target.prevIndex = first.prevIndex; in Use() 1065 OrderNode& target = GetNode(index); in Unuse() local 1067 if (! IsLockedNode(target)) in Unuse() 1070 Unlink(target); in Unuse() 1076 target.prevIndex = root.prevIndex; in Unuse() 1077 target.nextIndex = last.nextIndex; in Unuse() [all …]
|
| /NW4C-2.0.3/sources/libraries/demo/ |
| D | demo_DisplayBufferSwapper.cpp | 105 gfx::IRenderTarget* target, in MakeTransferBufferCommand() argument 108 if (target == NULL) in MakeTransferBufferCommand() 117 GLuint bufferObject = target->GetBufferObject(); in MakeTransferBufferCommand()
|
| /NW4C-2.0.3/sources/libraries/anim/ |
| D | anim_AnimBlend.cpp | 138 AnimBlendOp::ApplyFloatVector(void* target, const AnimResult* result, int compCount) const in ApplyFloatVector() argument 140 float* dstValues = reinterpret_cast<float*>(target); in ApplyFloatVector() 242 AnimBlendOpRgbaColor::Apply(void* target, const AnimResult* result) const in Apply() argument 244 float* dstColor = reinterpret_cast<ut::ResFloatColor*>(target)->ToArray(); in Apply()
|
| /NW4C-2.0.3/include/nw/anim/res/ |
| D | anim_ResAnim.h | 548 void* target, 861 void* target, in ApplyCache() argument 864 *reinterpret_cast<float*>(target) = in ApplyCache() 910 void* target, in ApplyCache() argument 913 *reinterpret_cast<s32*>(target) = in ApplyCache() 958 void* target, in ApplyCache() argument 961 *reinterpret_cast<bool*>(target) = in ApplyCache() 992 void* target, 1024 void* target, 1058 void* target, [all …]
|
| /NW4C-2.0.3/demos/lyt/perspective/sources/ |
| D | main.cpp | 174 nw::math::VEC3 target(0.f, 0.f, 0.f); in SetupCamera() local 181 &target); // 注視点 in SetupCamera() 206 nw::math::VEC3 target(0, 0, 0); in SetupCamera() local 209 nw::math::MTX34LookAt(&viewMtx, &pos, &up, &target); in SetupCamera()
|
| /NW4C-2.0.3/demos/lyt/group/sources/ |
| D | main.cpp | 141 nw::math::VEC3 target(0, 0, 0); in SetupCamera() local 144 nw::math::MTX34LookAt(&viewMtx, &pos, &up, &target); in SetupCamera() 252 it->target->SetRotate(nw::math::VEC3(0.f, 0.f, 30.f)); in nnMain() 298 it->target->SetRotate(nw::math::VEC3(0.f, 0.f, 0.f)); in nnMain()
|
| /NW4C-2.0.3/sources/libraries/lyt/ |
| D | lyt_Animation.cpp | 202 NW_ASSERT(pAnimTarget->target < ANIMTARGET_PANE_MAX); in AnimatePaneSRT() 206 … pPane->SetSRTElement(pAnimTarget->target, GetHermiteCurveValue(frame, keys, pAnimTarget->keyNum)); in AnimatePaneSRT() 222 NW_ASSERT(pAnimTarget->target < ANIMTARGET_PANE_MAX); in AnimateVisibility() 242 NW_ASSERT(pAnimTarget->target < ANIMTARGET_PANE_COLOR_MAX); in AnimateVertexColor() 249 pPane->SetColorElement(pAnimTarget->target, u8Val); in AnimateVertexColor() 264 NW_ASSERT(pAnimTarget->target < ANIMTARGET_MATCOLOR_MAX); in AnimateMaterialColor() 271 pMaterial->SetColorElement(pAnimTarget->target, val); in AnimateMaterialColor() 289 NW_ASSERT(pAnimTarget->target < ANIMTARGET_TEXSRT_MAX); in AnimateTextureSRT() 293 …pMaterial->SetTexSRTElement(pAnimTarget->id, pAnimTarget->target, GetHermiteCurveValue(frame, keys… in AnimateTextureSRT() 314 NW_ASSERT(pAnimTarget->target == ANIMTARGET_TEXPATTURN_IMAGE); // 現状ではimageのみ in AnimateTexturePattern() [all …]
|