Home
last modified time | relevance | path

Searched refs:description (Results 1 – 25 of 70) sorted by relevance

123

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_SceneBuilder.cpp97 SceneNode::Description description; in BuildSceneObject() local
98 description.isFixedSizeMemory = m_IsFixedSizeMemory; in BuildSceneObject()
99 description.maxCallbacks = m_MaxCallbacks; in BuildSceneObject()
100 description.maxChildren = m_MaxChildren; in BuildSceneObject()
101 description.maxAnimObjectsPerGroup = m_MaxAnimObjectsPerGroup; in BuildSceneObject()
102 description.isAnimationEnabled = m_IsAnimationEnabled; in BuildSceneObject()
108 … SceneNode::GetMemorySizeInternal(pSize, ResStaticCast<ResSceneNode>(resource), description); in BuildSceneObject()
112 …Node::GetDeviceMemorySizeInternal(pDeviceSize, ResStaticCast<ResSceneNode>(resource), description); in BuildSceneObject()
118 parent, resource, description, allocator); in BuildSceneObject()
126 TransformNode::Description description; in BuildSceneObject() local
[all …]
Dgfx_FrameBuffer.cpp108 FrameBufferObject::SetDescription(const Description& description) in SetDescription() argument
110 m_Description = description; in SetDescription()
112 if (description.fboID == 0) in SetDescription()
114 this->SetFboID(description.fboID); in SetDescription()
118 m_Description = description; in SetDescription()
143 const FrameBufferObject::Description& description = this->GetDescription(); in ActivateBuffer() local
148 if ( description.fboID != 0 ) in ActivateBuffer()
150 glBindFramebuffer( GL_FRAMEBUFFER, description.fboID ); in ActivateBuffer()
155 NW_ALIGN_ASSERT( description.depthAddress, 0x8 ); in ActivateBuffer()
156 NW_ALIGN_ASSERT( description.colorAddress, 0x8 ); in ActivateBuffer()
[all …]
Dgfx_IRenderTarget.cpp79 Description description; in CreateOffScreenBuffer() local
80 description.width = texture.GetWidth(); in CreateOffScreenBuffer()
81 description.height = texture.GetHeight(); in CreateOffScreenBuffer()
82 description.colorFormat = formatTable[texture.GetFormatHW()]; in CreateOffScreenBuffer()
83 NW_ASSERT(description.colorFormat != RENDER_COLOR_FORMAT_NONE); in CreateOffScreenBuffer()
91 description.colorArea = static_cast<GraphicsMemoryArea>(locationFlag); in CreateOffScreenBuffer()
93 description.depthFormat = RENDER_DEPTH_FORMAT_NONE; in CreateOffScreenBuffer()
94 description.depthArea = MEMORY_AREA_NONE; in CreateOffScreenBuffer()
100 description.shadowKind = SHADOW_KIND_NONE; in CreateOffScreenBuffer()
105 description.shadowKind = SHADOW_KIND_NONE; in CreateOffScreenBuffer()
[all …]
Dgfx_UserRenderNode.cpp33 const UserRenderNode::Description& description) in UserRenderNode() argument
34 : TransformNode(allocator, ResTransformNode(), description), in UserRenderNode()
35 m_TranslucencyKind(description.translucencyKind), in UserRenderNode()
36 m_Priority(description.priority), in UserRenderNode()
37 m_LayerId(description.layerId), in UserRenderNode()
38 m_UserRenderCommand(description.userRenderCommand), in UserRenderNode()
39 m_Description(description) in UserRenderNode()
Dgfx_LightSet.cpp69 LightSet::Description description; in Create() local
70 description.maxVertexLights = resource.GetLightsCount(); in Create()
75 description); in Create()
77 if (description.isFixedSizeMemory && description.maxVertexLights != 0) in Create()
79 void* memoryArray = allocator->Alloc(sizeof(VertexLight*) * description.maxVertexLights); in Create()
80 … lightSet->m_VertexLights = VertexLightArray(memoryArray, description.maxVertexLights, allocator); in Create()
Dgfx_ParticleModel.cpp65 const ParticleModel::Description& description) in GetMemorySizeInternal() argument
74 description); in GetMemorySizeInternal()
190 ParticleSet::Description description; in Create() local
191 description.maxCallbacks = 0; in Create()
192 description.maxChildren = 0; in Create()
193 description.isFixedSizeMemory = true; in Create()
198 description, in Create()
250 const ParticleModel::Description& description) in GetMemorySizeForInitialize() argument
254 Model::GetMemorySizeForInitialize(pSize, resource, description); in GetMemorySizeForInitialize()
256 size += sizeof(ParticleSet*) * description.particleSetCount; in GetMemorySizeForInitialize()
[all …]
Dgfx_AmbientLight.cpp93 const AmbientLight::Description& description, in Create() argument
109 description); in Create()
231 Description description in GetMemorySizeInternal() argument
234 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeInternal()
244 description); in GetMemorySizeInternal()
248 if (description.isAnimationEnabled && in GetMemorySizeInternal()
Dgfx_HemiSphereLight.cpp95 const HemiSphereLight::Description& description, in Create() argument
111 description); in Create()
232 Description description in GetMemorySizeInternal() argument
235 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeInternal()
245 description); in GetMemorySizeInternal()
249 if (description.isAnimationEnabled && in GetMemorySizeInternal()
Dgfx_TransformNode.cpp37 const TransformNode::Description& description) in TransformNode() argument
38 : SceneNode(allocator, resObj, description), in TransformNode()
43 m_Description(description) in TransformNode()
84 const TransformNode::Description& description, in Create() argument
98 description); in Create()
Dgfx_VertexLight.cpp96 const VertexLight::Description& description, in Create() argument
112 description); in Create()
251 Description description in GetMemorySizeInternal() argument
254 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeInternal()
264 description); in GetMemorySizeInternal()
268 if (description.isAnimationEnabled && in GetMemorySizeInternal()
Dgfx_FragmentLight.cpp97 Description description, in GetMemorySizeForCreateClone() argument
112 GetMemorySizeInternal(&size, resource, description); in GetMemorySizeForCreateClone()
122 const FragmentLight::Description& description, in Create() argument
138 description); in Create()
158 const FragmentLight::Description& description, in CreateClone() argument
173 description); in CreateClone()
463 Description description in GetMemorySizeInternal() argument
466 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeInternal()
476 description); in GetMemorySizeInternal()
480 if (description.isAnimationEnabled && in GetMemorySizeInternal()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_FragmentLight.h157 const FragmentLight::Description& description,
167 Description description,
173 GetMemorySizeInternal(&size, resource, description);
198 const FragmentLight::Description& description,
208 Description description,
216 Description description);
286 const FragmentLight::Description& description) in FragmentLight() argument
290 description), in FragmentLight()
298 const FragmentLight::Description& description) in FragmentLight() argument
302 description), in FragmentLight()
Dgfx_UserRenderNode.h127 Description description,
132 GetMemorySizeInternal(&size, description);
140 Description description) in GetMemorySizeInternal() argument
145 GetMemorySizeForInitialize(pSize, description); in GetMemorySizeInternal()
240 const UserRenderNode::Description& description);
254 Description description) in GetMemorySizeForInitialize() argument
256 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeForInitialize()
258 return TransformNode::GetMemorySizeForInitialize(pSize, ResTransformNode(), description); in GetMemorySizeForInitialize()
Dgfx_AmbientLight.h122 const AmbientLight::Description& description,
132 Description description,
138 GetMemorySizeInternal(&size, resource, description);
147 Description description);
205 const AmbientLight::Description& description) in AmbientLight() argument
209 description) in AmbientLight()
216 const AmbientLight::Description& description) in AmbientLight() argument
220 description), in AmbientLight()
Dgfx_HemiSphereLight.h123 const HemiSphereLight::Description& description,
133 Description description,
139 GetMemorySizeInternal(&size, resource, description);
148 Description description);
206 const HemiSphereLight::Description& description) in HemiSphereLight() argument
210 description) in HemiSphereLight()
217 const HemiSphereLight::Description& description) in HemiSphereLight() argument
221 description), in HemiSphereLight()
Dgfx_Model.h195 const Model::Description& description,
205 Description description,
210 GetMemorySizeInternal(&size, resModel, description);
220 Description description) in GetMemorySizeInternal() argument
225 GetMemorySizeForInitialize(pSize, resModel, description); in GetMemorySizeInternal()
624 const Model::Description& description) in Model() argument
628 description), in Model()
636 m_BufferOption(description.bufferOption), in Model()
642 m_SharingMaterial(description.sharedMaterialModel != NULL), in Model()
643 m_Description(description), in Model()
[all …]
Dgfx_VertexLight.h156 const VertexLight::Description& description,
166 Description description,
172 GetMemorySizeInternal(&size, resource, description);
181 Description description);
247 const VertexLight::Description& description) in VertexLight() argument
251 description), in VertexLight()
259 const VertexLight::Description& description) in VertexLight() argument
263 description), in VertexLight()
Dgfx_SceneNode.h200 const SceneNode::Description& description,
210 Description description,
215 GetMemorySizeInternal(&size, resSceneNode, description);
224 Description description) in GetMemorySizeInternal() argument
229 GetMemorySizeForInitialize(pSize, resSceneNode, description); in GetMemorySizeInternal()
528 Description description) in GetMemorySizeForInitialize() argument
530 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeForInitialize()
536 size.Add(sizeof(SceneNode*) * description.maxChildren, CHILDREN_MEMORY_ALIGNMENT); in GetMemorySizeForInitialize()
539 if (description.maxCallbacks == 0) in GetMemorySizeForInitialize()
545 UpdateSignal::GetMemorySizeForFixedSizedSignalInternal(pSize, description.maxCallbacks); in GetMemorySizeForInitialize()
[all …]
Dgfx_Fog.h145 const Fog::Description& description,
155 Description description,
161 GetMemorySizeInternal(&size, resource, description);
170 Description description);
275 const Fog::Description& description) in Fog() argument
279 description), in Fog()
291 const Fog::Description& description) in Fog() argument
295 description), in Fog()
Dgfx_TransformNode.h136 const TransformNode::Description& description,
146 Description description,
151 GetMemorySizeInternal(&size, resTransformNode, description);
160 Description description) in GetMemorySizeInternal() argument
165 GetMemorySizeForInitialize(pSize, resTransformNode, description); in GetMemorySizeInternal()
367 const TransformNode::Description& description);
415 Description description) in GetMemorySizeForInitialize() argument
417 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeForInitialize()
419 SceneNode::GetMemorySizeForInitialize(pSize, resTransformNode, description); in GetMemorySizeForInitialize()
422 if (description.maxCallbacks == 0) in GetMemorySizeForInitialize()
[all …]
Dgfx_SceneEnvironmentSetting.h106 const SceneEnvironmentSetting::Description& description,
116 Description description,
122 GetMemorySizeInternal(&size, resource, description);
131 Description description);
293 const SceneEnvironmentSetting::Description& description in SceneEnvironmentSetting() argument
297 NW_UNUSED_VARIABLE(description); in SceneEnvironmentSetting()
/NW4C-2.0.3/sources/libraries/demo/
Ddemo_CommandListSwapper.cpp36 CommandListSwapper::Description& description) in Create() argument
42 CommandListSwapper* swapper = new(memory) CommandListSwapper(allocator, description); in Create()
50 CommandListSwapper::Description& description) in CommandListSwapper() argument
52 m_CommandLists(description.commandListCount, allocator), in CommandListSwapper()
56 m_GpuProfilingEntries(description.maxGpuProfilingEntryCount, allocator), in CommandListSwapper()
57 m_GpuProfilingResults(description.maxGpuProfilingEntryCount, allocator), in CommandListSwapper()
65 m_CommandLists.resize(description.commandListCount); in CommandListSwapper()
72 nngxCmdlistStorage(description.bufferSize, description.requestCount); in CommandListSwapper()
77 if (description.reusableBufferSize > 0 && description.reusableRequestCount > 0) in CommandListSwapper()
79 m_ReusableCommandLists = CommandListArray(description.commandListCount, allocator), in CommandListSwapper()
[all …]
Ddemo_GraphicsSystem.cpp108 const Description& description in Create() argument
154 swapperDescription.commandListCount = description.commandListCount; in Create()
155 swapperDescription.bufferSize = description.commandBufferSize; in Create()
156 swapperDescription.requestCount = description.commandRequestCount; in Create()
157 swapperDescription.reusableBufferSize = description.reusableCommandBufferSize; in Create()
158 swapperDescription.reusableRequestCount = description.reusableCommandRequestCount; in Create()
159 swapperDescription.maxGpuProfilingEntryCount = description.maxGpuProfilingEntryCount; in Create()
172 .BufferDescription(description.upperScreenDescription) in Create()
173 .BufferCount(description.displayBufferCount) in Create()
177 .BufferDescription(description.lowerScreenDescription) in Create()
[all …]
/NW4C-2.0.3/sources/libraries/dev/
Ddev_ParticleProfile.cpp44 nw::dev::ProfileManager::Description description; in Initialize() local
45 description.maxReport = (maxReport); in Initialize()
46 description.exportFormat = nw::dev::ProfileManager::CHART; in Initialize()
47 description.accuracy = nw::dev::ProfileManager::MILI_SECOND; in Initialize()
48 description.mode = nw::dev::ProfileManager::TIMER; in Initialize()
50 …anager* profileManager = nw::dev::ProfileManager::CreateProfileManager( description, (allocator) ); in Initialize()
56 profileManager = nw::dev::ProfileManager::CreateProfileManager( description, (allocator) ); in Initialize()
/NW4C-2.0.3/demos/Nw4cDemo/sources/
DSmRenderSystem.cpp129 const Description& description in SmRenderSystem() argument
148 .BufferDescription(description.upperScreenDescription) in SmRenderSystem()
149 .BufferCount(description.displayBufferCount) in SmRenderSystem()
153 .BufferDescription(description.lowerScreenDescription) in SmRenderSystem()
154 .BufferCount(description.displayBufferCount) in SmRenderSystem()
161 extensionScreenDescription.width = description.upperScreenDescription.width; in SmRenderSystem()
162 extensionScreenDescription.height = description.upperScreenDescription.height; in SmRenderSystem()
163 extensionScreenDescription.bufferCount = description.upperScreenDescription.bufferCount; in SmRenderSystem()

123