Home
last modified time | relevance | path

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

123456

/NW4C-1.2.23/include/nw/gfx/
Dgfx_ParticleTime.h89 result.m_ParticleTime = this->m_ParticleTime + right.m_ParticleTime;
96 result.m_ParticleTime = this->m_ParticleTime - right.m_ParticleTime;
133 this->m_ParticleTime %= S32ToParticleTime(value);
134 return *this;
137 …ParticleTime& operator =(f32 value) { this->m_ParticleTime = Float32ToParticleTime(value); return …
138 …ParticleTime& operator =(s32 value) { this->m_ParticleTime = S32ToParticleTime(value); return *thi…
139 …ParticleTime& operator =(ParticleTime value) { this->m_ParticleTime = value.m_ParticleTime; return…
140 …ParticleTime& operator +=(f32 value) { this->m_ParticleTime += Float32ToParticleTime(value); retur…
141 …ParticleTime& operator +=(s32 value) { this->m_ParticleTime += S32ToParticleTime(value); return *t…
142 …articleTime& operator +=(ParticleTime value) { this->m_ParticleTime += value.m_ParticleTime; retur…
[all …]
Dgfx_ParticleShape.h159 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 …]
Dgfx_CalculatedTransform.h181 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 …]
Dgfx_ParticleCollection.h132 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 …]
Dgfx_SceneNode.h119 return *this; in IsFixedSizeMemory()
126 return *this; in MaxChildren()
133 return *this; in MaxCallbacks()
142 return *this; in MaxAnimObjectsPerGroup()
154 return *this; in IsAnimationEnabled()
187 SceneNodeChildren::iterator end = this->m_Children.end(); in DestroyBranch()
188 for (SceneNodeChildren::iterator child = this->m_Children.begin(); child != end; ++child) in DestroyBranch()
197 this->Destroy(); in DestroyBranch()
225 return ResStaticCast<ResSceneNode>( this->GetResSceneObject() ); in GetResSceneNode()
231 return ResStaticCast<ResSceneNode>( this->GetResSceneObject() ); in GetResSceneNode()
[all …]
Dgfx_Model.h238 return ResModel(this->GetResSceneObject().ptr()); in GetResModel()
245 return ResModel(this->GetResSceneObject().ptr()); in GetResModel()
257 if (this->m_MeshBuffers.empty()) in GetResMeshes()
259 ResModel model = this->GetResModel(); in GetResMeshes()
263 return this->m_MeshBuffers; in GetResMeshes()
277 if (this->m_MeshNodeVisibilityBuffers.empty()) in GetResMeshNodeVisibilities()
279 ResModel model = this->GetResModel(); in GetResMeshNodeVisibilities()
283 return ResMeshNodeVisibility( &this->m_MeshNodeVisibilityBuffers[idx] ); in GetResMeshNodeVisibilities()
433 return this->m_MaterialActivator.Get(); in GetMaterialActivator()
439 return this->m_MaterialActivator.Get(); in GetMaterialActivator()
[all …]
Dgfx_SceneEnvironment.h213 if (this->m_ActiveFragmentLightCount == LIGHT_COUNT) in SetFragmentLight()
226 return this->m_ActiveFragmentLightCount; in GetFragmentLightCount()
236 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveFragmentLightCount); in GetFragmentLight()
237 return this->m_FragmentLights[ index ]; in GetFragmentLight()
259 this->m_VertexLights[m_ActiveVertexLightCount] = light; in SetVertexLight()
270 NW_MINMAXLT_ASSERT(index, 0, this->m_ActiveVertexLightCount); in GetVertexLight()
271 return this->m_VertexLights[ index ]; in GetVertexLight()
278 return this->m_ActiveVertexLightCount; in GetVertexLightCount()
287 this->m_AmbientLight = ambientLight; in SetAmbientLight()
295 return this->m_AmbientLight; in GetAmbientLight()
[all …]
Dgfx_ParticleSet.h193 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 …]
Dgfx_LightSet.h90 return *this; in IsFixedSizeMemory()
97 return *this; in MaxVertexLights()
135 this->m_AmbientLight = light; in SetAmbientLight()
144 return this->m_AmbientLight; in GetAmbientLight()
153 return this->m_AmbientLight; in GetAmbientLight()
162 this->m_HemiSphereLight = light; in SetHemiSphereLight()
171 return this->m_HemiSphereLight; in GetHemiSphereLight()
180 return this->m_HemiSphereLight; in GetHemiSphereLight()
189 this->m_VertexLights.push_back(light); in SetVertexLight()
243 this->m_FragmentLights.push_back(light); in SetFragmentLight()
[all …]
Dgfx_RenderContext.h180 Builder& MaxCameras(int maxCamera) { m_MaxCameras = maxCamera; return *this; } in MaxCameras()
183 Builder& MaxLights(s32 max) { m_MaxLightSets = max; return *this; } in MaxLights()
186 Builder& MaxFogs(s32 max) { m_MaxFogs = max; return *this; } in MaxFogs()
189 …uilder& MaxVertexLights(int maxVertexLights) { m_MaxVertexLights = maxVertexLights; return *this; } in MaxVertexLights()
197 return *this; in ParticleMaterialActivator()
262 IRenderTarget* GetRenderTarget() { return this->m_RenderTarget; } in GetRenderTarget()
265 const IRenderTarget* GetRenderTarget() const { return this->m_RenderTarget; } in GetRenderTarget()
359 Model* GetModelCache() { return this->m_ModelCache; } in GetModelCache()
365 const Model* GetModelCache() const { return this->m_ModelCache; } in GetModelCache()
370 Material* GetMaterial() { return this->m_Material; } in GetMaterial()
[all …]
Dgfx_Skeleton.h87 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 …]
Dgfx_SceneBuilder.h54 SceneBuilder& Resource(ResSceneObject resource) { m_Resource = resource; return *this; } in Resource()
64 return *this; in IsFixedSizeMemory()
68 SceneBuilder& MaxChildren(int maxChildren) { m_MaxChildren = maxChildren; return *this; } in MaxChildren()
71 SceneBuilder& MaxCallbacks(int maxCallbacks) { m_MaxCallbacks = maxCallbacks; return *this; } in MaxCallbacks()
80 return *this; in NW_DEPRECATED_FUNCTION()
92 SceneBuilder& BufferOption(bit32 bufferOption) { m_BufferOption = bufferOption; return *this; } in BufferOption()
102 SceneBuilder& SharedMaterialModel(Model* model) { m_SharedMaterialModel = model; return *this; } in SharedMaterialModel()
109 …nimObjectsPerGroup(s32 maxAnimObjects) { m_MaxAnimObjectsPerGroup = maxAnimObjects; return *this; } in MaxAnimObjectsPerGroup()
116 …& ParticleSetMarginCount(int marginCount) { m_ParticleSetMarginCount = marginCount; return *this; } in ParticleSetMarginCount()
124 …mationEnabled(bool isAnimationEnabled) { m_IsAnimationEnabled = isAnimationEnabled; return *this; } in IsAnimationEnabled()
Dgfx_ParticleModel.h182 for (int i = 0; i < (int)this->GetParticleSetsCount(); ++i) in ForeachParticleSet()
184 ParticleSet* particleSet = this->GetParticleSets(i); in ForeachParticleSet()
198 for (int i = 0; i < (int)this->GetParticleSetsCount(); ++i) in ForeachConstParticleSet()
200 const ParticleSet* particleSet = this->GetParticleSets(i); in ForeachConstParticleSet()
216 return ResDynamicCast<ResParticleModel>(this->GetResSceneObject()); in GetResModel()
223 return ResDynamicCast<ResParticleModel>(this->GetResSceneObject()); in GetResModel()
232 if (m_ParticleSetCount >= this->m_ParticleSets.size()) return false; in AttachParticleSet()
234 this->m_ParticleSets[m_ParticleSetCount] = node; in AttachParticleSet()
253 return this->m_ParticleSets[index]; in GetParticleSets()
263 return this->m_ParticleSets[index]; in GetParticleSets()
[all …]
Dgfx_TransformNode.h77 return *this; in IsFixedSizeMemory()
84 return *this; in MaxChildren()
91 return *this; in MaxCallbacks()
130 return ResStaticCast<ResTransformNode>( this->GetResSceneObject() ); in GetResTransformNode()
136 return ResStaticCast<ResTransformNode>( this->GetResSceneObject() ); in GetResTransformNode()
199 return this->WorldMatrix(); in TrackbackWorldMatrix()
205 return this->WorldTransform(); in TrackbackWorldTransform()
211 return this->Transform(); in TrackbackLocalTransform()
270 if (this->GetParent() == NULL) in CalcInheritingDiretion()
276 const math::MTX34& parentWorldMatrix = this->TrackbackWorldMatrix(); in CalcInheritingDiretion()
[all …]
Dgfx_IRenderTarget.h142 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()
/NW4C-1.2.23/include/nw/ut/
Dut_Color.h67 /* 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 …]
Dut_Float24.h99 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 …]
Dut_LinkList.h137 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.2.23/include/nw/demo/
Ddemo_Particle.h61 return *this; in IsFixedSizeMemory()
68 return *this; in MaxChildren()
75 return *this; in MaxCallbacks()
113 this->Transform().SetTranslate(x, y, z); in SetTranslate()
121 this->Transform().SetTranslate(translate); in SetTranslate()
127 this->Transform().GetTranslate(translate); in GetTranslate()
137 this->Transform().SetRotateXYZ(radX, radY, radZ ); in SetRotate()
147 this->Transform().SetScale(x, y, z); in SetScale()
155 u32 emitterNum = this->GetParticleEmitterSize(); in SetStepFrame()
158 nw::gfx::ParticleEmitter* emitter = this->GetParticleEmitter(i); in SetStepFrame()
[all …]
Ddemo_DisplayBufferSwapper.h114 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.2.23/include/nw/gfx/res/
Dgfx_ResTexture.h140 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 …]
/NW4C-1.2.23/demos/Nw4cDemo/include/
DSmFile.h57 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()
DSmCommandReuser.h56 &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()
DSmCommandUtility.h65 &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.2.23/include/nw/ut/generated/
Dut_Signal.hi38 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;
265 this->Connect(slot);
[all …]

123456