| /NW4C-1.3.3/include/nw/ut/ |
| D | ut_Color.h | 67 /* ctor */ Color8() { this->SetU32(WHITE); } in Color8() 72 /* ctor */ /*implicit*/ Color8(u32 color) { this->SetU32(color); } in Color8() 105 this->SetU32(color); 106 return *this; 136 Min(this->r + right.r, ELEMENT_MAX), 137 Min(this->g + right.g, ELEMENT_MAX), 138 Min(this->b + right.b, ELEMENT_MAX), 139 Min(this->a + right.a, ELEMENT_MAX) 154 Max(this->r - right.r, ELEMENT_MIN), 155 Max(this->g - right.g, ELEMENT_MIN), [all …]
|
| D | ut_Float24.h | 99 Float24& operator =(f32 value) { this->m_Float32 = value; return *this; } 100 Float24& operator =(u32 bits24) { this->m_Float32 = Bits24ToFloat32( bits24 ); return *this; } 104 f32 operator +(f32 right) const { return this->m_Float32 + right; } 105 f32 operator -(f32 right) const { return this->m_Float32 - right; } 106 f32 operator *(f32 right) const { return this->m_Float32 * right; } 107 f32 operator /(f32 right) const { return this->m_Float32 / right; } 109 Float24& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; } 110 Float24& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; } 111 Float24& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; } 112 Float24& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; } [all …]
|
| D | ut_LinkList.h | 137 TIt &operator++() { m_pPointer = m_pPointer->GetNext(); return *this; } 138 TIt operator++(int) { const TIt it(*this); (void)++*this; return it; } 139 TIt &operator--() { m_pPointer = m_pPointer->GetPrev(); return *this; } 140 TIt operator--(int) { const TIt it(*this); (void)--*this; return it; } 174 TIt &operator++() { m_pPointer = m_pPointer->GetNext(); return *this; } 175 TIt operator++(int) { const TIt it(*this); (void)++*this; return it; } 176 TIt &operator--() { m_pPointer = m_pPointer->GetPrev(); return *this; } 177 TIt operator--(int) { const TIt it(*this); (void)--*this; return it; } 258 void clear() { (void)this->erase(begin(), end()); } in clear() 387 TIt &operator++() { (void)++it_; return *this; } [all …]
|
| /NW4C-1.3.3/include/nw/gfx/ |
| D | gfx_ParticleTime.h | 89 result.m_ParticleTime = this->m_ParticleTime + right.m_ParticleTime; 96 result.m_ParticleTime = this->m_ParticleTime - right.m_ParticleTime; 103 result.m_ParticleTime = (this->m_ParticleTime / right.m_ParticleTime) / 0x100; 110 result.m_ParticleTime = 0x100 * this->m_ParticleTime / right.m_ParticleTime; 147 this->m_ParticleTime %= S32ToParticleTime(value); 148 return *this; 151 …ParticleTime& operator =(f32 value) { this->m_ParticleTime = Float32ToParticleTime(value); return … 152 …ParticleTime& operator =(s32 value) { this->m_ParticleTime = S32ToParticleTime(value); return *thi… 153 …ParticleTime& operator =(ParticleTime value) { this->m_ParticleTime = value.m_ParticleTime; return… 154 …ParticleTime& operator +=(f32 value) { this->m_ParticleTime += Float32ToParticleTime(value); retur… [all …]
|
| D | gfx_ParticleShape.h | 159 return ResDynamicCast<ResParticleShape>( this->GetResSceneObject() ); in GetResParticleShape() 166 return ResDynamicCast<ResParticleShape>( this->GetResSceneObject() ); in GetResParticleShape() 173 return this->m_ResVertexAttributeDataCount; in GetVertexAttributesCount() 181 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in IsVertexStream() 182 return this->m_VertexAttribute[index].m_IsStream; in IsVertexStream() 190 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeUsage() 191 return this->m_VertexAttribute[index].m_Usage; in GetVertexAttributeUsage() 199 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeFormatType() 200 return this->m_VertexAttribute[index].m_FormatType; in GetVertexAttributeFormatType() 208 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeDimension() [all …]
|
| D | gfx_CalculatedTransform.h | 181 math::MTX34& DirectTransformMatrix() { return this->m_TransformMatrix; } in DirectTransformMatrix() 187 const math::MTX34& TransformMatrix() const { return this->m_TransformMatrix; } in TransformMatrix() 193 math::MTX34Copy(&this->m_TransformMatrix, transformMatrix); in SetTransformMatrix() 195 this->EnableFlags(CalculatedTransform::FLAG_IS_DIRTY); in SetTransformMatrix() 205 this->m_TransformMatrix.f._00 = x00; in SetTransformMatrix() 206 this->m_TransformMatrix.f._10 = x10; in SetTransformMatrix() 207 this->m_TransformMatrix.f._20 = x20; in SetTransformMatrix() 208 this->m_TransformMatrix.f._01 = x01; in SetTransformMatrix() 209 this->m_TransformMatrix.f._11 = x11; in SetTransformMatrix() 210 this->m_TransformMatrix.f._21 = x21; in SetTransformMatrix() [all …]
|
| D | gfx_ParticleCollection.h | 132 return this->m_ResParticleCollection; in GetResParticleCollection() 139 return this->m_ResParticleCollection; in GetResParticleCollection() 146 return this->m_Capacity; in GetCapacity() 153 return this->m_Count; in GetCount() 161 this->m_Count = count; in SetCount() 168 return this->m_MinActiveIndex; in GetMinActiveIndex() 175 return this->m_MaxActiveIndex; in GetMaxActiveIndex() 182 this->m_MinActiveIndex = minActiveIndex; in SetMinActiveIndex() 189 this->m_MaxActiveIndex = maxActiveIndex; in SetMaxActiveIndex() 199 return this->m_IsStream[usage]; in IsStream() [all …]
|
| D | gfx_Model.h | 248 return ResModel(this->GetResSceneObject().ptr()); in GetResModel() 255 return ResModel(this->GetResSceneObject().ptr()); in GetResModel() 267 if (this->m_MeshBuffers.empty()) in GetResMeshes() 269 ResModel model = this->GetResModel(); in GetResMeshes() 273 return this->m_MeshBuffers; in GetResMeshes() 287 if (this->m_MeshNodeVisibilityBuffers.empty()) in GetResMeshNodeVisibilities() 289 ResModel model = this->GetResModel(); in GetResMeshNodeVisibilities() 293 return ResMeshNodeVisibility( &this->m_MeshNodeVisibilityBuffers[idx] ); in GetResMeshNodeVisibilities() 447 return this->m_MaterialActivator.Get(); in GetMaterialActivator() 453 return this->m_MaterialActivator.Get(); in GetMaterialActivator() [all …]
|
| D | gfx_RenderContext.h | 187 Builder& MaxCameras(int maxCamera) { m_MaxCameras = maxCamera; return *this; } in MaxCameras() 190 Builder& MaxLights(s32 max) { m_MaxLightSets = max; return *this; } in MaxLights() 193 Builder& MaxFogs(s32 max) { m_MaxFogs = max; return *this; } in MaxFogs() 196 …uilder& MaxVertexLights(int maxVertexLights) { m_MaxVertexLights = maxVertexLights; return *this; } in MaxVertexLights() 204 return *this; in ParticleMaterialActivator() 262 IRenderTarget* GetRenderTarget() { return this->m_RenderTarget; } in GetRenderTarget() 265 const IRenderTarget* GetRenderTarget() const { return this->m_RenderTarget; } in GetRenderTarget() 358 this->m_ModelCache = NULL; in NW_DEPRECATED_FUNCTION() 365 this->SetModelMatrixForSkeletalModel(skeletalModel); in NW_DEPRECATED_FUNCTION() 369 this->SetModelMatrixForModel(model); in NW_DEPRECATED_FUNCTION() [all …]
|
| D | gfx_SceneNode.h | 119 return *this; in IsFixedSizeMemory() 126 return *this; in MaxChildren() 133 return *this; in MaxCallbacks() 142 return *this; in MaxAnimObjectsPerGroup() 154 return *this; in IsAnimationEnabled() 232 SceneNodeChildren::iterator end = this->m_Children.end(); in DestroyBranch() 233 for (SceneNodeChildren::iterator child = this->m_Children.begin(); child != end; ++child) in DestroyBranch() 242 this->Destroy(); in DestroyBranch() 278 return ResStaticCast<ResSceneNode>( this->GetResSceneObject() ); in GetResSceneNode() 284 return ResStaticCast<ResSceneNode>( this->GetResSceneObject() ); in GetResSceneNode() [all …]
|
| D | gfx_ParticleSet.h | 193 return ResDynamicCast<ResParticleSet>( this->GetResSceneObject() ); in GetResParticleSet() 200 return ResDynamicCast<ResParticleSet>( this->GetResSceneObject() ); in GetResParticleSet() 208 if (this->m_ParticleCollection != NULL) in AttachParticleCollection() 213 this->m_ParticleCollection = node; in AttachParticleCollection() 221 return this->m_ParticleCollection; in GetParticleCollection() 228 return this->m_ParticleCollection; in GetParticleCollection() 235 return &this->m_Initializers; in GetInitializers() 242 return &this->m_Initializers; in GetInitializers() 249 return &this->m_Updaters; in GetUpdaters() 256 return &this->m_Updaters; in GetUpdaters() [all …]
|
| D | gfx_LightSet.h | 90 return *this; in IsFixedSizeMemory() 97 return *this; in MaxVertexLights() 149 this->m_AmbientLight = light; in SetAmbientLight() 158 return this->m_AmbientLight; in GetAmbientLight() 167 return this->m_AmbientLight; in GetAmbientLight() 176 this->m_HemiSphereLight = light; in SetHemiSphereLight() 185 return this->m_HemiSphereLight; in GetHemiSphereLight() 194 return this->m_HemiSphereLight; in GetHemiSphereLight() 203 this->m_VertexLights.push_back(light); in SetVertexLight() 257 this->m_FragmentLights.push_back(light); in SetFragmentLight() [all …]
|
| D | gfx_Skeleton.h | 87 if (index < 0 || this->GetBonesCount() <= index) { return false; } in GetTransform() 88 *transform = &this->m_Transforms[index]; in GetTransform() 95 if (index < 0 || this->GetBonesCount() <= index) { return false; } in GetTransform() 96 *transform = &this->m_Transforms[index]; in GetTransform() 103 return &this->m_Transforms[index]; in GetTransform() 109 return &this->m_Transforms[index]; in GetTransform() 160 if (index < 0 || this->GetBonesCount() <= index) { return false; } in GetMatrix() 161 *matrix = &this->m_Matrices[index]; in GetMatrix() 168 if (index < 0 || this->GetBonesCount() <= index) { return false; } in GetMatrix() 169 *matrix = &this->m_Matrices[index]; in GetMatrix() [all …]
|
| D | gfx_ParticleModel.h | 184 for (int i = 0; i < (int)this->GetParticleSetsCount(); ++i) in ForeachParticleSet() 186 ParticleSet* particleSet = this->GetParticleSets(i); in ForeachParticleSet() 200 for (int i = 0; i < (int)this->GetParticleSetsCount(); ++i) in ForeachConstParticleSet() 202 const ParticleSet* particleSet = this->GetParticleSets(i); in ForeachConstParticleSet() 218 return ResDynamicCast<ResParticleModel>(this->GetResSceneObject()); in GetResModel() 225 return ResDynamicCast<ResParticleModel>(this->GetResSceneObject()); in GetResModel() 234 if (m_ParticleSetCount >= this->m_ParticleSets.size()) return false; in AttachParticleSet() 236 this->m_ParticleSets[m_ParticleSetCount] = node; in AttachParticleSet() 255 return this->m_ParticleSets[index]; in GetParticleSets() 265 return this->m_ParticleSets[index]; in GetParticleSets() [all …]
|
| D | gfx_SceneEnvironment.h | 212 if (this->m_ActiveFragmentLightCount == LIGHT_COUNT) in SetFragmentLight() 225 return this->m_ActiveFragmentLightCount; in GetFragmentLightCount() 235 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveFragmentLightCount); in GetFragmentLight() 236 return this->m_FragmentLights[ index ]; in GetFragmentLight() 258 this->m_VertexLights[m_ActiveVertexLightCount] = light; in SetVertexLight() 269 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveVertexLightCount); in GetVertexLight() 270 return this->m_VertexLights[ index ]; in GetVertexLight() 277 return this->m_ActiveVertexLightCount; in GetVertexLightCount() 286 this->m_AmbientLight = ambientLight; in SetAmbientLight() 294 return this->m_AmbientLight; in GetAmbientLight() [all …]
|
| D | gfx_IRenderTarget.h | 142 return *this; in Described() 154 return *this; in BufferSize() 158 Builder& Width(s32 width) { m_Description.width = width; return *this; } in Width() 161 Builder& Height(s32 height) { m_Description.height = height; return *this; } in Height() 167 return *this; in ColorFormat() 174 return *this; in DepthFormat() 183 return *this; in ColorArea() 192 return *this; in DepthArea() 201 return *this; in ColorAddress() 210 return *this; in DepthAddress()
|
| D | gfx_SkeletalModel.h | 82 return *this; in IsFixedSizeMemory() 89 return *this; in MaxChildren() 96 return *this; in MaxCallbacks() 111 return *this; in BufferOption() 125 return *this; in SharedMaterialModel() 142 return *this; in SharedSkeleton() 151 return *this; in MaxAnimObjectsPerGroup() 163 return *this; in IsAnimationEnabled() 267 return ResDynamicCast<ResSkeletalModel>(this->GetResSceneObject()); in GetResSkeletalModel() 273 return ResDynamicCast<ResSkeletalModel>(this->GetResSceneObject()); in GetResSkeletalModel() [all …]
|
| /NW4C-1.3.3/include/nw/demo/ |
| D | demo_Particle.h | 62 return *this; in IsFixedSizeMemory() 69 return *this; in MaxChildren() 76 return *this; in MaxCallbacks() 120 this->Transform().SetTranslate(x, y, z); in SetTranslate() 128 this->Transform().SetTranslate(translate); in SetTranslate() 134 this->Transform().GetTranslate(translate); in GetTranslate() 144 this->Transform().SetRotateXYZ(radX, radY, radZ ); in SetRotate() 154 this->Transform().SetScale(x, y, z); in SetScale() 162 u32 emitterNum = this->GetParticleEmitterSize(); in SetStepFrame() 165 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in SetStepFrame() [all …]
|
| D | demo_DisplayBufferSwapper.h | 114 return *this; in BufferDescription() 121 return *this; in ScreenKind() 129 return *this; in BufferSize() 133 Builder& Width(s32 width) { m_Description.width = width; return *this; } in Width() 136 Builder& Height(s32 height) { m_Description.height = height; return *this; } in Height() 142 return *this; in Format() 149 return *this; in TransferMode() 156 return *this; in MemoryArea() 163 return *this; in IsTransferFlipX() 171 return *this; in TransferOffset() [all …]
|
| /NW4C-1.3.3/include/nw/gfx/res/ |
| D | gfx_ResTexture.h | 140 u32 GetRevision() const { return this->GetHeader().revision; } in NW_RES_CTOR_INHERIT() 341 u32 locationAddress = this->GetLocationAddress(); in GetImageAddress() 349 return reinterpret_cast<u32>( this->GetImageData() ); in GetImageAddress() 385 u32 GetLocationAddress() const { return this->GetImage().GetLocationAddress(); } in NW_RES_CTOR_INHERIT() 398 void SetLocationAddress(u32 address) { this->GetImage().SetLocationAddress( address ); } in SetLocationAddress() 399 void SetLocationAddress(const void* address) { this->GetImage().SetLocationAddress( address ); } in SetLocationAddress() 447 return *this; in Height() 454 return *this; in Width() 463 return *this; in MipmapSize() 479 return *this; in LocationFlag() [all …]
|
| D | gfx_ResGraphicsFile.h | 167 return *reinterpret_cast<const nw::ut::BinaryFileHeader*>( this->ptr() ); in NW_RES_CTOR() 196 return const_cast<void*>(this->GetImageBlockDataImpl()); in GetImageBlockData() 206 return this->GetImageBlockDataImpl(); in GetImageBlockData() 216 NW_ASSERT( this->IsValid() ); in GetImageBlockDataSize() 218 …::ut::BinaryFileHeader& header = *reinterpret_cast<const nw::ut::BinaryFileHeader*>( this->ptr() ); in GetImageBlockDataSize() 240 NW_ASSERT( this->IsValid() ); in GetImageBlockDataImpl() 242 …::ut::BinaryFileHeader& header = *reinterpret_cast<const nw::ut::BinaryFileHeader*>( this->ptr() ); in GetImageBlockDataImpl() 477 Result Setup(os::IAllocator* allocator) { return this->Setup( allocator, *this ); } in Setup() 498 ResModelArray::iterator end = this->GetModels().end(); in ForeachModel() 499 for (ResModelArray::iterator model = this->GetModels().begin(); in ForeachModel() [all …]
|
| /NW4C-1.3.3/demos/Nw4cDemo/include/ |
| D | SmCommandReuser.h | 56 &this->m_BufferOffset, in EndCaching() 57 &this->m_BufferSize, in EndCaching() 58 &this->m_RequestId, in EndCaching() 59 &this->m_RequestSize); in EndCaching() 70 this->m_CommandListId, in UseCommand() 71 this->m_BufferOffset, in UseCommand() 72 this->m_BufferSize, in UseCommand() 73 this->m_RequestId, in UseCommand() 74 this->m_RequestSize, in UseCommand()
|
| D | SmFile.h | 57 this->m_Size = static_cast<u32>(fileReader.GetSize()); in Read() 58 this->m_Buffer = static_cast<u8*>(m_Allocator->Alloc(this->m_Size, 128)); in Read() 59 if (this->m_Buffer == NULL) in Read() 61 this->m_Size = 0; in Read() 65 fileReader.Read(this->m_Buffer, this->m_Size); in Read() 74 return this->m_Buffer; in Buffer() 80 return this->m_Size; in Size()
|
| D | SmCommandUtility.h | 65 &this->m_BufferOffset, in EndCaching() 66 &this->m_BufferSize, in EndCaching() 67 &this->m_RequestId, in EndCaching() 68 &this->m_RequestSize); in EndCaching() 79 this->m_CommandListId, in UseCommand() 80 this->m_BufferOffset, in UseCommand() 81 this->m_BufferSize, in UseCommand() 82 this->m_RequestId, in UseCommand() 83 this->m_RequestSize, in UseCommand()
|
| /NW4C-1.3.3/include/nw/ut/generated/ |
| D | ut_Signal.hi | 38 AllocatorType* allocator = this->GetAllocator(); 41 this->~Slot0(); 42 allocator->Free(this); 50 this->~Slot0(); 51 allocator->Free(this); 211 void Destroy() { this->~Signal0(); this->m_Allocator->Free(this); } 233 bool pushed = this->m_Slots.push_back(slot); 236 NW_ASSERT(this->m_Slot == NULL); 237 this->m_Slot = slot; 252 bool pushed = this->m_Slots.push_back(slot); [all …]
|