Home
last modified time | relevance | path

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

123

/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_SceneBuilder.cpp95 SceneNode::Description description; in BuildSceneObject() local
96 description.isFixedSizeMemory = m_IsFixedSizeMemory; in BuildSceneObject()
97 description.maxCallbacks = m_MaxCallbacks; in BuildSceneObject()
98 description.maxChildren = m_MaxChildren; in BuildSceneObject()
99 description.maxAnimObjectsPerGroup = m_MaxAnimObjectsPerGroup; in BuildSceneObject()
100 description.isAnimationEnabled = m_IsAnimationEnabled; in BuildSceneObject()
106 … SceneNode::GetMemorySizeInternal(pSize, ResStaticCast<ResSceneNode>(resource), description); in BuildSceneObject()
110 …Node::GetDeviceMemorySizeInternal(pDeviceSize, ResStaticCast<ResSceneNode>(resource), description); in BuildSceneObject()
116 parent, resource, description, allocator); in BuildSceneObject()
124 TransformNode::Description description; in BuildSceneObject() local
[all …]
Dgfx_FrameBuffer.cpp106 FrameBufferObject::SetDescription(const Description& description) in SetDescription() argument
108 m_Description = description; in SetDescription()
110 if (description.fboID == 0) in SetDescription()
112 this->SetFboID(description.fboID); in SetDescription()
116 m_Description = description; in SetDescription()
141 const FrameBufferObject::Description& description = this->GetDescription(); in ActivateBuffer() local
146 if ( description.fboID != 0 ) in ActivateBuffer()
148 glBindFramebuffer( GL_FRAMEBUFFER, description.fboID ); in ActivateBuffer()
153 NW_ALIGN_ASSERT( description.depthAddress, 0x8 ); in ActivateBuffer()
154 NW_ALIGN_ASSERT( description.colorAddress, 0x8 ); in ActivateBuffer()
[all …]
Dgfx_IRenderTarget.cpp77 Description description; in CreateOffScreenBuffer() local
78 description.width = texture.GetWidth(); in CreateOffScreenBuffer()
79 description.height = texture.GetHeight(); in CreateOffScreenBuffer()
80 description.colorFormat = formatTable[texture.GetFormatHW()]; in CreateOffScreenBuffer()
81 NW_ASSERT(description.colorFormat != RENDER_COLOR_FORMAT_NONE); in CreateOffScreenBuffer()
89 description.colorArea = static_cast<GraphicsMemoryArea>(locationFlag); in CreateOffScreenBuffer()
91 description.depthFormat = RENDER_DEPTH_FORMAT_NONE; in CreateOffScreenBuffer()
92 description.depthArea = MEMORY_AREA_NONE; in CreateOffScreenBuffer()
98 description.shadowKind = SHADOW_KIND_NONE; in CreateOffScreenBuffer()
103 description.shadowKind = SHADOW_KIND_NONE; in CreateOffScreenBuffer()
[all …]
Dgfx_LightSet.cpp67 LightSet::Description description; in Create() local
68 description.maxVertexLights = resource.GetLightsCount(); in Create()
73 description); in Create()
75 if (description.isFixedSizeMemory && description.maxVertexLights != 0) in Create()
77 void* memoryArray = allocator->Alloc(sizeof(VertexLight*) * description.maxVertexLights); in Create()
78 … lightSet->m_VertexLights = VertexLightArray(memoryArray, description.maxVertexLights, allocator); in Create()
Dgfx_ParticleModel.cpp56 const ParticleModel::Description& description) in GetMemorySizeInternal() argument
65 description); in GetMemorySizeInternal()
181 ParticleSet::Description description; in Create() local
182 description.maxCallbacks = 0; in Create()
183 description.maxChildren = 0; in Create()
184 description.isFixedSizeMemory = true; in Create()
189 description, in Create()
241 const ParticleModel::Description& description) in GetMemorySizeForInitialize() argument
245 Model::GetMemorySizeForInitialize(pSize, resource, description); in GetMemorySizeForInitialize()
247 size += sizeof(ParticleSet*) * description.particleSetCount; in GetMemorySizeForInitialize()
[all …]
Dgfx_AmbientLight.cpp91 const AmbientLight::Description& description, in Create() argument
107 description); in Create()
229 Description description in GetMemorySizeInternal() argument
232 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeInternal()
242 description); in GetMemorySizeInternal()
246 if (description.isAnimationEnabled && in GetMemorySizeInternal()
Dgfx_HemiSphereLight.cpp93 const HemiSphereLight::Description& description, in Create() argument
109 description); in Create()
230 Description description in GetMemorySizeInternal() argument
233 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeInternal()
243 description); in GetMemorySizeInternal()
247 if (description.isAnimationEnabled && in GetMemorySizeInternal()
Dgfx_TransformNode.cpp35 const TransformNode::Description& description) in TransformNode() argument
36 : SceneNode(allocator, resObj, description), in TransformNode()
41 m_Description(description) in TransformNode()
82 const TransformNode::Description& description, in Create() argument
96 description); in Create()
Dgfx_VertexLight.cpp94 const VertexLight::Description& description, in Create() argument
110 description); in Create()
249 Description description in GetMemorySizeInternal() argument
252 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeInternal()
262 description); in GetMemorySizeInternal()
266 if (description.isAnimationEnabled && in GetMemorySizeInternal()
Dgfx_FragmentLight.cpp96 const FragmentLight::Description& description, in Create() argument
112 description); in Create()
282 Description description in GetMemorySizeInternal() argument
285 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeInternal()
295 description); in GetMemorySizeInternal()
299 if (description.isAnimationEnabled && in GetMemorySizeInternal()
/NW4C-1.3.3/sources/libraries/demo/
Ddemo_CommandListSwapper.cpp33 CommandListSwapper::Description& description) in Create() argument
39 CommandListSwapper* swapper = new(memory) CommandListSwapper(allocator, description); in Create()
47 CommandListSwapper::Description& description) in CommandListSwapper() argument
49 m_CommandLists(description.commandListCount, allocator), in CommandListSwapper()
53 m_GpuProfilingEntries(description.maxGpuProfilingEntryCount, allocator), in CommandListSwapper()
54 m_GpuProfilingResults(description.maxGpuProfilingEntryCount, allocator), in CommandListSwapper()
61 m_CommandLists.resize(description.commandListCount); in CommandListSwapper()
68 nngxCmdlistStorage(description.bufferSize, description.requestCount); in CommandListSwapper()
73 if (description.reusableBufferSize > 0 && description.reusableRequestCount > 0) in CommandListSwapper()
75 m_ReusableCommandLists = CommandListArray(description.commandListCount, allocator), in CommandListSwapper()
[all …]
Ddemo_GraphicsSystem.cpp105 const Description& description in Create() argument
151 swapperDescription.commandListCount = description.commandListCount; in Create()
152 swapperDescription.bufferSize = description.commandBufferSize; in Create()
153 swapperDescription.requestCount = description.commandRequestCount; in Create()
154 swapperDescription.reusableBufferSize = description.reusableCommandBufferSize; in Create()
155 swapperDescription.reusableRequestCount = description.reusableCommandRequestCount; in Create()
156 swapperDescription.maxGpuProfilingEntryCount = description.maxGpuProfilingEntryCount; in Create()
169 .BufferDescription(description.upperScreenDescription) in Create()
170 .BufferCount(description.displayBufferCount) in Create()
174 .BufferDescription(description.lowerScreenDescription) in Create()
[all …]
/NW4C-1.3.3/sources/libraries/dev/
Ddev_ParticleProfile.cpp42 nw::dev::ProfileManager::Description description; in Initialize() local
43 description.maxReport = (maxReport); in Initialize()
44 description.exportFormat = nw::dev::ProfileManager::CHART; in Initialize()
45 description.accuracy = nw::dev::ProfileManager::MILI_SECOND; in Initialize()
46 description.mode = nw::dev::ProfileManager::TIMER; in Initialize()
48 …anager* profileManager = nw::dev::ProfileManager::CreateProfileManager( description, (allocator) ); in Initialize()
54 profileManager = nw::dev::ProfileManager::CreateProfileManager( description, (allocator) ); in Initialize()
Ddev_Profile.cpp45 ProfileManager::Description& description, in CreateProfileManager() argument
48 ut::MoveArray<Report> reports(description.maxReport, allocator); in CreateProfileManager()
51 …ProfileManager* profileManager = new(managerMemory) ProfileManager(allocator, description, reports… in CreateProfileManager()
67 const ProfileManager::Description& description, in ProfileManager() argument
69 : m_Description(description), in ProfileManager()
408 ProfileManager::Description description; in Initialize() local
409 description.maxReport = maxReport; in Initialize()
410 description.exportFormat = ProfileManager::CHART; in Initialize()
411 description.accuracy = ProfileManager::MILI_SECOND; in Initialize()
412description.mode = ProfileManager::TIMER | ProfileManager::I_CACHE_MISS | ProfileManager::D_CACHE_… in Initialize()
[all …]
/NW4C-1.3.3/include/nw/gfx/
Dgfx_AmbientLight.h120 const AmbientLight::Description& description,
130 Description description,
136 GetMemorySizeInternal(&size, resource, description);
145 Description description);
203 const AmbientLight::Description& description) in AmbientLight() argument
207 description) in AmbientLight()
214 const AmbientLight::Description& description) in AmbientLight() argument
218 description), in AmbientLight()
Dgfx_HemiSphereLight.h121 const HemiSphereLight::Description& description,
131 Description description,
137 GetMemorySizeInternal(&size, resource, description);
146 Description description);
204 const HemiSphereLight::Description& description) in HemiSphereLight() argument
208 description) in HemiSphereLight()
215 const HemiSphereLight::Description& description) in HemiSphereLight() argument
219 description), in HemiSphereLight()
Dgfx_Model.h193 const Model::Description& description,
203 Description description,
208 GetMemorySizeInternal(&size, resModel, description);
218 Description description) in GetMemorySizeInternal() argument
223 GetMemorySizeForInitialize(pSize, resModel, description); in GetMemorySizeInternal()
622 const Model::Description& description) in Model() argument
626 description), in Model()
634 m_BufferOption(description.bufferOption), in Model()
640 m_SharingMaterial(description.sharedMaterialModel != NULL), in Model()
641 m_Description(description), in Model()
[all …]
Dgfx_VertexLight.h154 const VertexLight::Description& description,
164 Description description,
170 GetMemorySizeInternal(&size, resource, description);
179 Description description);
245 const VertexLight::Description& description) in VertexLight() argument
249 description), in VertexLight()
257 const VertexLight::Description& description) in VertexLight() argument
261 description), in VertexLight()
Dgfx_FragmentLight.h154 const FragmentLight::Description& description,
164 Description description,
170 GetMemorySizeInternal(&size, resource, description);
179 Description description);
246 const FragmentLight::Description& description) in FragmentLight() argument
250 description), in FragmentLight()
258 const FragmentLight::Description& description) in FragmentLight() argument
262 description), in FragmentLight()
Dgfx_SceneNode.h197 const SceneNode::Description& description,
207 Description description,
212 GetMemorySizeInternal(&size, resSceneNode, description);
221 Description description) in GetMemorySizeInternal() argument
226 GetMemorySizeForInitialize(pSize, resSceneNode, description); in GetMemorySizeInternal()
525 Description description) in GetMemorySizeForInitialize() argument
527 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeForInitialize()
533 size.Add(sizeof(SceneNode*) * description.maxChildren, CHILDREN_MEMORY_ALIGNMENT); in GetMemorySizeForInitialize()
536 if (description.maxCallbacks == 0) in GetMemorySizeForInitialize()
542 UpdateSignal::GetMemorySizeForFixedSizedSignalInternal(pSize, description.maxCallbacks); in GetMemorySizeForInitialize()
[all …]
Dgfx_Fog.h143 const Fog::Description& description,
153 Description description,
159 GetMemorySizeInternal(&size, resource, description);
168 Description description);
273 const Fog::Description& description) in Fog() argument
277 description), in Fog()
289 const Fog::Description& description) in Fog() argument
293 description), in Fog()
Dgfx_TransformNode.h134 const TransformNode::Description& description,
144 Description description,
149 GetMemorySizeInternal(&size, resTransformNode, description);
158 Description description) in GetMemorySizeInternal() argument
163 GetMemorySizeForInitialize(pSize, resTransformNode, description); in GetMemorySizeInternal()
365 const TransformNode::Description& description);
413 Description description) in GetMemorySizeForInitialize() argument
415 NW_ASSERT(description.isFixedSizeMemory); in GetMemorySizeForInitialize()
417 SceneNode::GetMemorySizeForInitialize(pSize, resTransformNode, description); in GetMemorySizeForInitialize()
420 if (description.maxCallbacks == 0) in GetMemorySizeForInitialize()
[all …]
Dgfx_SceneEnvironmentSetting.h104 const SceneEnvironmentSetting::Description& description,
114 Description description,
120 GetMemorySizeInternal(&size, resource, description);
129 Description description);
291 const SceneEnvironmentSetting::Description& description in SceneEnvironmentSetting() argument
295 NW_UNUSED_VARIABLE(description); in SceneEnvironmentSetting()
/NW4C-1.3.3/demos/Nw4cDemo/sources/
DSmRenderSystem.cpp127 const Description& description in SmRenderSystem() argument
146 .BufferDescription(description.upperScreenDescription) in SmRenderSystem()
147 .BufferCount(description.displayBufferCount) in SmRenderSystem()
151 .BufferDescription(description.lowerScreenDescription) in SmRenderSystem()
152 .BufferCount(description.displayBufferCount) in SmRenderSystem()
159 extensionScreenDescription.width = description.upperScreenDescription.width; in SmRenderSystem()
160 extensionScreenDescription.height = description.upperScreenDescription.height; in SmRenderSystem()
161 extensionScreenDescription.bufferCount = description.upperScreenDescription.bufferCount; in SmRenderSystem()
/NW4C-1.3.3/include/nw/demo/
Ddemo_CameraController.h61 Builder& CameraDescription(const Description& description) in CameraDescription() argument
63 m_Description = description; in CameraDescription()
115 const Description& description);

123