Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 149) sorted by relevance

123456

/NW4C-2.0.3/include/nw/gfx/
Dgfx_ParticleTime.h91 result.m_ParticleTime = this->m_ParticleTime + right.m_ParticleTime;
98 result.m_ParticleTime = this->m_ParticleTime - right.m_ParticleTime;
105 result.m_ParticleTime = (this->m_ParticleTime / right.m_ParticleTime) / 0x100;
112 result.m_ParticleTime = 0x100 * this->m_ParticleTime / right.m_ParticleTime;
149 this->m_ParticleTime %= S32ToParticleTime(value);
150 return *this;
153 …ParticleTime& operator =(f32 value) { this->m_ParticleTime = Float32ToParticleTime(value); return …
154 …ParticleTime& operator =(s32 value) { this->m_ParticleTime = S32ToParticleTime(value); return *thi…
155 …ParticleTime& operator =(ParticleTime value) { this->m_ParticleTime = value.m_ParticleTime; return…
156 …ParticleTime& operator +=(f32 value) { this->m_ParticleTime += Float32ToParticleTime(value); retur…
[all …]
Dgfx_ParticleShape.h161 return ResDynamicCast<ResParticleShape>( this->GetResSceneObject() ); in GetResParticleShape()
168 return ResDynamicCast<ResParticleShape>( this->GetResSceneObject() ); in GetResParticleShape()
175 return this->m_ResVertexAttributeDataCount; in GetVertexAttributesCount()
183 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in IsVertexStream()
184 return this->m_VertexAttribute[index].m_IsStream; in IsVertexStream()
192 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeUsage()
193 return this->m_VertexAttribute[index].m_Usage; in GetVertexAttributeUsage()
201 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeFormatType()
202 return this->m_VertexAttribute[index].m_FormatType; in GetVertexAttributeFormatType()
210 NW_ASSERT(index >= 0 && index < this->m_ResVertexAttributeDataCount); in GetVertexAttributeDimension()
[all …]
Dgfx_CalculatedTransform.h191 math::MTX34& DirectTransformMatrix() { return this->m_TransformMatrix; } in DirectTransformMatrix()
197 const math::MTX34& TransformMatrix() const { return this->m_TransformMatrix; } in TransformMatrix()
203 math::MTX34Copy(&this->m_TransformMatrix, transformMatrix); in SetTransformMatrix()
205 this->EnableFlags(CalculatedTransform::FLAG_IS_DIRTY); in SetTransformMatrix()
215 this->m_TransformMatrix.f._00 = x00; in SetTransformMatrix()
216 this->m_TransformMatrix.f._10 = x10; in SetTransformMatrix()
217 this->m_TransformMatrix.f._20 = x20; in SetTransformMatrix()
218 this->m_TransformMatrix.f._01 = x01; in SetTransformMatrix()
219 this->m_TransformMatrix.f._11 = x11; in SetTransformMatrix()
220 this->m_TransformMatrix.f._21 = x21; in SetTransformMatrix()
[all …]
Dgfx_ParticleCollection.h134 return this->m_ResParticleCollection; in GetResParticleCollection()
141 return this->m_ResParticleCollection; in GetResParticleCollection()
154 return this->m_Capacity; in GetCapacity()
161 return this->m_Count; in GetCount()
169 this->m_Count = count; in SetCount()
176 return this->m_MinActiveIndex; in GetMinActiveIndex()
183 return this->m_MaxActiveIndex; in GetMaxActiveIndex()
190 this->m_MinActiveIndex = minActiveIndex; in SetMinActiveIndex()
197 this->m_MaxActiveIndex = maxActiveIndex; in SetMaxActiveIndex()
207 return this->m_IsStream[usage]; in IsStream()
[all …]
Dgfx_Model.h250 return ResModel(this->GetResSceneObject().ptr()); in GetResModel()
257 return ResModel(this->GetResSceneObject().ptr()); in GetResModel()
269 if (this->m_MeshBuffers.empty()) in GetResMeshes()
271 ResModel model = this->GetResModel(); in GetResMeshes()
275 return this->m_MeshBuffers; in GetResMeshes()
289 if (this->m_MeshNodeVisibilityBuffers.empty()) in GetResMeshNodeVisibilities()
291 ResModel model = this->GetResModel(); in GetResMeshNodeVisibilities()
295 return ResMeshNodeVisibility( &this->m_MeshNodeVisibilityBuffers[idx] ); in GetResMeshNodeVisibilities()
449 return this->m_MaterialActivator.Get(); in GetMaterialActivator()
455 return this->m_MaterialActivator.Get(); in GetMaterialActivator()
[all …]
Dgfx_RenderContext.h189 Builder& MaxCameras(int maxCamera) { m_MaxCameras = maxCamera; return *this; } in MaxCameras()
192 Builder& MaxLights(s32 max) { m_MaxLightSets = max; return *this; } in MaxLights()
195 Builder& MaxFogs(s32 max) { m_MaxFogs = max; return *this; } in MaxFogs()
198 …uilder& MaxVertexLights(int maxVertexLights) { m_MaxVertexLights = maxVertexLights; return *this; } in MaxVertexLights()
206 return *this; in ParticleMaterialActivator()
264 IRenderTarget* GetRenderTarget() { return this->m_RenderTarget; } in GetRenderTarget()
267 const IRenderTarget* GetRenderTarget() const { return this->m_RenderTarget; } in GetRenderTarget()
360 this->m_ModelCache = NULL; in NW_DEPRECATED_FUNCTION()
367 this->SetModelMatrixForSkeletalModel(skeletalModel); in NW_DEPRECATED_FUNCTION()
371 this->SetModelMatrixForModel(model); in NW_DEPRECATED_FUNCTION()
[all …]
Dgfx_SceneNode.h122 return *this; in IsFixedSizeMemory()
129 return *this; in MaxChildren()
136 return *this; in MaxCallbacks()
145 return *this; in MaxAnimObjectsPerGroup()
157 return *this; in IsAnimationEnabled()
235 SceneNodeChildren::iterator end = this->m_Children.end(); in DestroyBranch()
236 for (SceneNodeChildren::iterator child = this->m_Children.begin(); child != end; ++child) in DestroyBranch()
245 this->Destroy(); in DestroyBranch()
281 return ResStaticCast<ResSceneNode>( this->GetResSceneObject() ); in GetResSceneNode()
287 return ResStaticCast<ResSceneNode>( this->GetResSceneObject() ); in GetResSceneNode()
[all …]
Dgfx_LightSet.h92 return *this; in IsFixedSizeMemory()
99 return *this; in MaxVertexLights()
151 this->m_AmbientLight = light; in SetAmbientLight()
160 return this->m_AmbientLight; in GetAmbientLight()
169 return this->m_AmbientLight; in GetAmbientLight()
178 this->m_HemiSphereLight = light; in SetHemiSphereLight()
187 return this->m_HemiSphereLight; in GetHemiSphereLight()
196 return this->m_HemiSphereLight; in GetHemiSphereLight()
205 this->m_VertexLights.push_back(light); in SetVertexLight()
259 this->m_FragmentLights.push_back(light); in SetFragmentLight()
[all …]
Dgfx_ParticleSet.h197 return ResDynamicCast<ResParticleSet>( this->GetResSceneObject() ); in GetResParticleSet()
204 return ResDynamicCast<ResParticleSet>( this->GetResSceneObject() ); in GetResParticleSet()
218 if (this->m_ParticleCollection != NULL) in AttachParticleCollection()
223 this->m_ParticleCollection = node; in AttachParticleCollection()
231 return this->m_ParticleCollection; in GetParticleCollection()
238 return this->m_ParticleCollection; in GetParticleCollection()
246 return &this->m_Initializers; in GetInitializers()
254 return &this->m_Initializers; in GetInitializers()
262 return &this->m_Updaters; in GetUpdaters()
270 return &this->m_Updaters; in GetUpdaters()
[all …]
Dgfx_Skeleton.h89 if (index < 0 || this->GetBonesCount() <= index) { return false; } in GetTransform()
90 *transform = &this->m_Transforms[index]; in GetTransform()
97 if (index < 0 || this->GetBonesCount() <= index) { return false; } in GetTransform()
98 *transform = &this->m_Transforms[index]; in GetTransform()
105 return &this->m_Transforms[index]; in GetTransform()
111 return &this->m_Transforms[index]; in GetTransform()
162 if (index < 0 || this->GetBonesCount() <= index) { return false; } in GetMatrix()
163 *matrix = &this->m_Matrices[index]; in GetMatrix()
170 if (index < 0 || this->GetBonesCount() <= index) { return false; } in GetMatrix()
171 *matrix = &this->m_Matrices[index]; in GetMatrix()
[all …]
Dgfx_ParticleModel.h197 for (int i = 0; i < (int)this->GetParticleSetsCount(); ++i) in ForeachParticleSet()
199 ParticleSet* particleSet = this->GetParticleSets(i); in ForeachParticleSet()
213 for (int i = 0; i < (int)this->GetParticleSetsCount(); ++i) in ForeachConstParticleSet()
215 const ParticleSet* particleSet = this->GetParticleSets(i); in ForeachConstParticleSet()
231 return ResDynamicCast<ResParticleModel>(this->GetResSceneObject()); in GetResModel()
238 return ResDynamicCast<ResParticleModel>(this->GetResSceneObject()); in GetResModel()
253 if (m_ParticleSetCount >= this->m_ParticleSets.size()) return false; in AttachParticleSet()
255 this->m_ParticleSets[m_ParticleSetCount] = node; in AttachParticleSet()
274 return this->m_ParticleSets[index]; in GetParticleSets()
284 return this->m_ParticleSets[index]; in GetParticleSets()
[all …]
Dgfx_SceneEnvironment.h214 if (this->m_ActiveFragmentLightCount == LIGHT_COUNT) in SetFragmentLight()
227 return this->m_ActiveFragmentLightCount; in GetFragmentLightCount()
237 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveFragmentLightCount); in GetFragmentLight()
238 return this->m_FragmentLights[ index ]; in GetFragmentLight()
260 this->m_VertexLights[m_ActiveVertexLightCount] = light; in SetVertexLight()
271 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveVertexLightCount); in GetVertexLight()
272 return this->m_VertexLights[ index ]; in GetVertexLight()
279 return this->m_ActiveVertexLightCount; in GetVertexLightCount()
288 this->m_AmbientLight = ambientLight; in SetAmbientLight()
296 return this->m_AmbientLight; in GetAmbientLight()
[all …]
Dgfx_SkeletalModel.h84 return *this; in IsFixedSizeMemory()
91 return *this; in MaxChildren()
98 return *this; in MaxCallbacks()
113 return *this; in BufferOption()
127 return *this; in SharedMaterialModel()
144 return *this; in SharedSkeleton()
153 return *this; in MaxAnimObjectsPerGroup()
165 return *this; in IsAnimationEnabled()
269 return ResDynamicCast<ResSkeletalModel>(this->GetResSceneObject()); in GetResSkeletalModel()
275 return ResDynamicCast<ResSkeletalModel>(this->GetResSceneObject()); in GetResSkeletalModel()
[all …]
Dgfx_IRenderTarget.h144 return *this; in Described()
156 return *this; in BufferSize()
160 Builder& Width(s32 width) { m_Description.width = width; return *this; } in Width()
163 Builder& Height(s32 height) { m_Description.height = height; return *this; } in Height()
169 return *this; in ColorFormat()
176 return *this; in DepthFormat()
185 return *this; in ColorArea()
194 return *this; in DepthArea()
203 return *this; in ColorAddress()
212 return *this; in DepthAddress()
/NW4C-2.0.3/include/nw/ut/
Dut_Color.h69 /* ctor */ Color8() { this->SetU32(WHITE); } in Color8()
74 /* ctor */ /*implicit*/ Color8(u32 color) { this->SetU32(color); } in Color8()
107 this->SetU32(color);
108 return *this;
138 Min(this->r + right.r, ELEMENT_MAX),
139 Min(this->g + right.g, ELEMENT_MAX),
140 Min(this->b + right.b, ELEMENT_MAX),
141 Min(this->a + right.a, ELEMENT_MAX)
156 Max(this->r - right.r, ELEMENT_MIN),
157 Max(this->g - right.g, ELEMENT_MIN),
[all …]
Dut_Float24.h101 Float24& operator =(f32 value) { this->m_Float32 = value; return *this; }
102 Float24& operator =(u32 bits24) { this->m_Float32 = Bits24ToFloat32( bits24 ); return *this; }
106 f32 operator +(f32 right) const { return this->m_Float32 + right; }
107 f32 operator -(f32 right) const { return this->m_Float32 - right; }
108 f32 operator *(f32 right) const { return this->m_Float32 * right; }
109 f32 operator /(f32 right) const { return this->m_Float32 / right; }
111 Float24& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
112 Float24& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
113 Float24& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
114 Float24& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
[all …]
Dut_LinkList.h139 TIt &operator++() { m_pPointer = m_pPointer->GetNext(); return *this; }
140 TIt operator++(int) { const TIt it(*this); (void)++*this; return it; }
141 TIt &operator--() { m_pPointer = m_pPointer->GetPrev(); return *this; }
142 TIt operator--(int) { const TIt it(*this); (void)--*this; return it; }
176 TIt &operator++() { m_pPointer = m_pPointer->GetNext(); return *this; }
177 TIt operator++(int) { const TIt it(*this); (void)++*this; return it; }
178 TIt &operator--() { m_pPointer = m_pPointer->GetPrev(); return *this; }
179 TIt operator--(int) { const TIt it(*this); (void)--*this; return it; }
260 void clear() { (void)this->erase(begin(), end()); } in clear()
390 TIt &operator++() { (void)++it_; return *this; }
[all …]
/NW4C-2.0.3/include/nw/demo/
Ddemo_Particle.h64 return *this; in IsFixedSizeMemory()
71 return *this; in MaxChildren()
78 return *this; in MaxCallbacks()
122 this->Transform().SetTranslate(x, y, z); in SetTranslate()
130 this->Transform().SetTranslate(translate); in SetTranslate()
136 this->Transform().GetTranslate(translate); in GetTranslate()
146 this->Transform().SetRotateXYZ(radX, radY, radZ ); in SetRotate()
156 this->Transform().SetScale(x, y, z); in SetScale()
164 u32 emitterNum = this->GetParticleEmitterSize(); in SetStepFrame()
167 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in SetStepFrame()
[all …]
Ddemo_DisplayBufferSwapper.h116 return *this; in BufferDescription()
123 return *this; in ScreenKind()
131 return *this; in BufferSize()
135 Builder& Width(s32 width) { m_Description.width = width; return *this; } in Width()
138 Builder& Height(s32 height) { m_Description.height = height; return *this; } in Height()
144 return *this; in Format()
151 return *this; in TransferMode()
158 return *this; in MemoryArea()
165 return *this; in IsTransferFlipX()
173 return *this; in TransferOffset()
[all …]
/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResGraphicsFile.h169 return *reinterpret_cast<const nw::ut::BinaryFileHeader*>( this->ptr() ); in NW_RES_CTOR()
198 return const_cast<void*>(this->GetImageBlockDataImpl()); in GetImageBlockData()
208 return this->GetImageBlockDataImpl(); in GetImageBlockData()
218 NW_ASSERT( this->IsValid() ); in GetImageBlockDataSize()
220 …::ut::BinaryFileHeader& header = *reinterpret_cast<const nw::ut::BinaryFileHeader*>( this->ptr() ); in GetImageBlockDataSize()
242 NW_ASSERT( this->IsValid() ); in GetImageBlockDataImpl()
244 …::ut::BinaryFileHeader& header = *reinterpret_cast<const nw::ut::BinaryFileHeader*>( this->ptr() ); in GetImageBlockDataImpl()
479 Result Setup(os::IAllocator* allocator) { return this->Setup( allocator, *this ); } in Setup()
500 ResModelArray::iterator end = this->GetModels().end(); in ForeachModel()
501 for (ResModelArray::iterator model = this->GetModels().begin(); in ForeachModel()
[all …]
Dgfx_ResTexture.h142 u32 GetRevision() const { return this->GetHeader().revision; } in NW_RES_CTOR_INHERIT()
347 u32 locationAddress = this->GetLocationAddress(); in GetImageAddress()
355 return reinterpret_cast<u32>( this->GetImageData() ); in GetImageAddress()
391 u32 GetLocationAddress() const { return this->GetImage().GetLocationAddress(); } in NW_RES_CTOR_INHERIT()
404 void SetLocationAddress(u32 address) { this->GetImage().SetLocationAddress( address ); } in SetLocationAddress()
405 void SetLocationAddress(const void* address) { this->GetImage().SetLocationAddress( address ); } in SetLocationAddress()
454 return *this; in Height()
461 return *this; in Width()
470 return *this; in MipmapSize()
486 return *this; in LocationFlag()
[all …]
/NW4C-2.0.3/demos/Nw4cDemo/include/
DSmCommandReuser.h58 &this->m_BufferOffset, in EndCaching()
59 &this->m_BufferSize, in EndCaching()
60 &this->m_RequestId, in EndCaching()
61 &this->m_RequestSize); in EndCaching()
72 this->m_CommandListId, in UseCommand()
73 this->m_BufferOffset, in UseCommand()
74 this->m_BufferSize, in UseCommand()
75 this->m_RequestId, in UseCommand()
76 this->m_RequestSize, in UseCommand()
DSmFile.h59 this->m_Size = static_cast<u32>(fileReader.GetSize()); in Read()
60 this->m_Buffer = static_cast<u8*>(m_Allocator->Alloc(this->m_Size, 128)); in Read()
61 if (this->m_Buffer == NULL) in Read()
63 this->m_Size = 0; in Read()
67 fileReader.Read(this->m_Buffer, this->m_Size); in Read()
76 return this->m_Buffer; in Buffer()
82 return this->m_Size; in Size()
DSmCommandUtility.h67 &this->m_BufferOffset, in EndCaching()
68 &this->m_BufferSize, in EndCaching()
69 &this->m_RequestId, in EndCaching()
70 &this->m_RequestSize); in EndCaching()
81 this->m_CommandListId, in UseCommand()
82 this->m_BufferOffset, in UseCommand()
83 this->m_BufferSize, in UseCommand()
84 this->m_RequestId, in UseCommand()
85 this->m_RequestSize, in UseCommand()
/NW4C-2.0.3/include/nw/ut/generated/
Dut_Signal.hi40 AllocatorType* allocator = this->GetAllocator();
43 this->~Slot0();
44 allocator->Free(this);
52 this->~Slot0();
53 allocator->Free(this);
213 void Destroy() { this->~Signal0(); this->m_Allocator->Free(this); }
235 bool pushed = this->m_Slots.push_back(slot);
238 NW_ASSERT(this->m_Slot == NULL);
239 this->m_Slot = slot;
254 bool pushed = this->m_Slots.push_back(slot);
[all …]

123456