Home
last modified time | relevance | path

Searched refs:s_DeviceAllocator (Results 1 – 25 of 34) sorted by relevance

12

/NW4C-2.0.3/demos/gfx/ResourceDemo/sources/
DResourceDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
136 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
145 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
152 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
155 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
163 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
167 s_ShaderResource = s_DeviceAllocator.AllocAndConstruct<nw::demo::ResourceSet>(1); in InitializeGraphics()
168 …s_ShaderResource->buffer = nw::demo::Utility::LoadFile(&s_DeviceAllocator , SHADER_RESOURCE_FILE_N… in InitializeGraphics()
187 s_DeviceAllocator.DestructAndFree(s_ShaderResource, 1); in TerminateGraphics()
213 .Create(&s_DeviceAllocator); in BuildRootNodes()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleRecycleDemo/sources/
DParticleRecycleDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
82 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
91 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
98 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
101 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
108 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
111 .Create(&s_DeviceAllocator); in InitializeGraphics()
114 .Create(&s_DeviceAllocator); in InitializeGraphics()
157 .Create(&s_DeviceAllocator); in BuildRootNodes()
171 &s_DeviceAllocator, in BuildCameras()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleCtrlEmissionDemo/sources/
DParticleCtrlEmissionDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator; variable
85 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
94 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
101 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
104 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
111 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
114 .Create(&s_DeviceAllocator); in InitializeGraphics()
117 .Create(&s_DeviceAllocator); in InitializeGraphics()
160 .Create(&s_DeviceAllocator); in BuildRootNodes()
174 &s_DeviceAllocator, in BuildCameras()
[all …]
/NW4C-2.0.3/demos/gfx/SimpleDemo/sources/
DSimpleDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
88 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
94 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
102 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
105 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
114 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
148 .Create(&s_DeviceAllocator); in BuildRootNodes()
159 &s_DeviceAllocator, in BuildCameras()
190 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
196 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(SCENE_NODE_COUNT, &s_DeviceAllocator); in BuildResources()
[all …]
/NW4C-2.0.3/demos/gfx/UserRenderNodeDemo/sources/
DUserRenderNodeDemo.cpp42 nw::demo::DemoAllocator s_DeviceAllocator; variable
152 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
161 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
168 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
171 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
181 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
187 s_GrPrimitiveRenderer.Initialize( &s_DeviceAllocator, GR_SHADER_FILE ); in InitializeGraphics()
224 void* userCommandMemory = s_DeviceAllocator.Alloc(sizeof(GrUserRenderCommand)); in BuildUserRenderNode()
232 .Create(&s_DeviceAllocator); in BuildUserRenderNode()
258 .Create(&s_DeviceAllocator); in BuildRootNodes()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleChokeDemo/sources/
DParticleChokeDemo.cpp39 nw::demo::DemoAllocator s_DeviceAllocator; variable
93 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
102 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
109 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
112 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
119 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
122 .Create(&s_DeviceAllocator); in InitializeGraphics()
125 .Create(&s_DeviceAllocator); in InitializeGraphics()
169 .Create(&s_DeviceAllocator); in BuildRootNodes()
183 &s_DeviceAllocator, in BuildCameras()
[all …]
/NW4C-2.0.3/demos/gfx/SceneTreeDemo/sources/
DSceneTreeDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
82 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
91 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
98 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
101 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
108 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
147 .Create(&s_DeviceAllocator); in BuildRootNodes()
153 .Create(&s_DeviceAllocator); in BuildRootNodes()
160 .Create(&s_DeviceAllocator); in BuildRootNodes()
167 .Create(&s_DeviceAllocator); in BuildRootNodes()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleApplicationDemo/sources/
DParticleApplicationDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator; variable
85 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
94 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
101 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
104 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
112 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
115 .Create(&s_DeviceAllocator); in InitializeGraphics()
118 .Create(&s_DeviceAllocator); in InitializeGraphics()
162 .Create(&s_DeviceAllocator); in BuildRootNodes()
168 .Create(&s_DeviceAllocator); in BuildRootNodes()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleLowLayerDemo/sources/
DParticleLowLayerDemo.cpp41 nw::demo::DemoAllocator s_DeviceAllocator; variable
147 …nw::demo::InitializeDemoAllocator(&s_DeviceAllocator, DEMO_MEMORY_SIZE, nn::os::ALLOCATE_OPTION_LI… in InitializeGraphicsSystem()
150 s_GraphicsMemoryAllocator.Initialize(&s_DeviceAllocator); in InitializeGraphicsSystem()
167 nw::demo::FinalizeDemoAllocator(&s_DeviceAllocator); in FinalizeGraphicsSystem()
178 .Create(&s_DeviceAllocator); in InitializeGraphics()
200 .Create(&s_DeviceAllocator); in InitializeGraphics()
204 .Create(&s_DeviceAllocator); in InitializeGraphics()
215 nw::demo::CommandListSwapper::Create(&s_DeviceAllocator, commandListSwapperDescription); in InitializeGraphics()
222 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
226 .Create(&s_DeviceAllocator); in InitializeGraphics()
[all …]
/NW4C-2.0.3/demos/gfx/PartialAnimationDemo/sources/
DPartialAnimationDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator; variable
105 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
114 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
121 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
124 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
132 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
180 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator()
202 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator()
286 .Create(&s_DeviceAllocator); in BuildRootNodes()
291 .Create(&s_DeviceAllocator); in BuildRootNodes()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleCombinationNodeDemo/sources/
DParticleCombinationNodeDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
82 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
91 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
98 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
101 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
108 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
112 .Create(&s_DeviceAllocator); in InitializeGraphics()
115 .Create(&s_DeviceAllocator); in InitializeGraphics()
158 .Create(&s_DeviceAllocator); in BuildRootNodes()
172 &s_DeviceAllocator, in BuildCameras()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleScaleDemo/sources/
DParticleScaleDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
82 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
91 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
98 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
101 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
108 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
111 .Create(&s_DeviceAllocator); in InitializeGraphics()
114 .Create(&s_DeviceAllocator); in InitializeGraphics()
157 .Create(&s_DeviceAllocator); in BuildRootNodes()
171 &s_DeviceAllocator, in BuildCameras()
[all …]
/NW4C-2.0.3/demos/gfx/DynamicMaterialDemo/sources/
DDynamicMaterialDemo.cpp117 nw::demo::DemoAllocator s_DeviceAllocator; variable
189 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
198 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
205 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
208 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
216 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
254 .Create(&s_DeviceAllocator); in BuildRootNodes()
259 .Create(&s_DeviceAllocator); in BuildRootNodes()
274 &s_DeviceAllocator, in BuildCameras()
294 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
[all …]
/NW4C-2.0.3/demos/gfx/LowLayerAnimationDemo/sources/
DLowLayerAnimationDemo.cpp41 nw::demo::DemoAllocator s_DeviceAllocator; variable
149 …nw::demo::InitializeDemoAllocator(&s_DeviceAllocator, DEMO_MEMORY_SIZE, nn::os::ALLOCATE_OPTION_LI… in InitializeGraphicsSystem()
152 s_GraphicsMemoryAllocator.Initialize(&s_DeviceAllocator); in InitializeGraphicsSystem()
170 nw::demo::FinalizeDemoAllocator(&s_DeviceAllocator); in FinalizeGraphicsSystem()
199 .Create(&s_DeviceAllocator); in InitializeGraphics()
203 .Create(&s_DeviceAllocator); in InitializeGraphics()
214 nw::demo::CommandListSwapper::Create(&s_DeviceAllocator, commandListSwapperDescription); in InitializeGraphics()
221 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
225 .Create(&s_DeviceAllocator); in InitializeGraphics()
228 void* cameraMemory = s_DeviceAllocator.Alloc(sizeof(nn::ulcd::CTR::StereoCamera)); in InitializeGraphics()
[all …]
/NW4C-2.0.3/demos/gfx/LowLayerDemo/sources/
DLowLayerDemo.cpp41 nw::demo::DemoAllocator s_DeviceAllocator; variable
139 …nw::demo::InitializeDemoAllocator(&s_DeviceAllocator, DEMO_MEMORY_SIZE, nn::os::ALLOCATE_OPTION_LI… in InitializeGraphicsSystem()
142 s_GraphicsMemoryAllocator.Initialize(&s_DeviceAllocator); in InitializeGraphicsSystem()
159 nw::demo::FinalizeDemoAllocator(&s_DeviceAllocator); in FinalizeGraphicsSystem()
188 .Create(&s_DeviceAllocator); in InitializeGraphics()
192 .Create(&s_DeviceAllocator); in InitializeGraphics()
203 nw::demo::CommandListSwapper::Create(&s_DeviceAllocator, commandListSwapperDescription); in InitializeGraphics()
210 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
214 .Create(&s_DeviceAllocator); in InitializeGraphics()
217 void* cameraMemory = s_DeviceAllocator.Alloc(sizeof(nn::ulcd::CTR::StereoCamera)); in InitializeGraphics()
[all …]
/NW4C-2.0.3/demos/gfx/AnimationChangeDemo/sources/
DAnimationChangeDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator; variable
106 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
115 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
122 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
125 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
133 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
175 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in BuildTransformAnimResource()
208 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator()
248 s_ResAnimEmpty = nw::anim::res::ResAnim::CreateEmptySkeletalAnim(&s_DeviceAllocator); in InitializeSkeletalAnim()
316 .Create(&s_DeviceAllocator); in BuildRootNodes()
[all …]
/NW4C-2.0.3/demos/gfx/ProjectionShadowDemo/sources/
DProjectionShadowDemo.cpp279 nw::demo::DemoAllocator s_DeviceAllocator; variable
348 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
357 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
364 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
367 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
382 .Create(&s_DeviceAllocator); in InitializeGraphics()
383 s_ShadowTexture.Setup(&s_DeviceAllocator, nw::gfx::ResGraphicsFile(NULL)); in InitializeGraphics()
387 nw::gfx::IRenderTarget::CreateOffScreenBuffer(&s_DeviceAllocator, s_ShadowTexture); in InitializeGraphics()
396 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
450 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator()
[all …]
/NW4C-2.0.3/demos/gfx/MultiAnimationDemo/sources/
DMultiAnimationDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator; variable
150 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
159 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
166 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
169 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
176 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
242 .Create(&s_DeviceAllocator); in BuildRootNodes()
248 .Create(&s_DeviceAllocator); in BuildRootNodes()
254 .Create(&s_DeviceAllocator); in BuildRootNodes()
261 .Create(&s_DeviceAllocator); in BuildRootNodes()
[all …]
/NW4C-2.0.3/demos/gfx/AnimationBlendDemo/sources/
DAnimationBlendDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator; variable
114 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
123 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
130 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
133 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
141 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
190 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator()
213 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator()
237 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateMaterialAnimEvaluator()
256 .Create(&s_DeviceAllocator); in CreateMaterialAnimEvaluator()
[all …]
/NW4C-2.0.3/demos/gfx/AnimationDemo/sources/
DAnimationDemo.cpp38 nw::demo::DemoAllocator s_DeviceAllocator; variable
101 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
110 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
117 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
120 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
128 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
177 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator()
200 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator()
323 .Create(&s_DeviceAllocator); in BuildRootNodes()
328 .Create(&s_DeviceAllocator); in BuildRootNodes()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleDemo/sources/
DParticleDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
100 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
109 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
116 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
119 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
127 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
132 .Create(&s_DeviceAllocator); in InitializeGraphics()
136 .Create(&s_DeviceAllocator); in InitializeGraphics()
207 .Create(&s_DeviceAllocator); in BuildRootNodes()
221 &s_DeviceAllocator, in BuildCameras()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleMissileDemo/sources/
DParticleMissileDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
80 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
89 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
96 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
99 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
106 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
109 .Create(&s_DeviceAllocator); in InitializeGraphics()
112 .Create(&s_DeviceAllocator); in InitializeGraphics()
155 .Create(&s_DeviceAllocator); in BuildRootNodes()
169 &s_DeviceAllocator, in BuildCameras()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleChangeVtxDemo/sources/
DParticleChangeVtxDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
100 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
109 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
116 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
119 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
126 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
130 .Create(&s_DeviceAllocator); in InitializeGraphics()
133 .Create(&s_DeviceAllocator); in InitializeGraphics()
176 .Create(&s_DeviceAllocator); in BuildRootNodes()
190 &s_DeviceAllocator, in BuildCameras()
[all …]
/NW4C-2.0.3/demos/gfx/FastCreateDemo/sources/
DFastCreateDemo.cpp46 nw::demo::DemoAllocator s_DeviceAllocator; variable
134 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
143 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
150 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
153 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
165 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
203 .Create(&s_DeviceAllocator); in BuildRootNodes()
209 .Create(&s_DeviceAllocator); in BuildRootNodes()
224 &s_DeviceAllocator, in BuildCameras()
244 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
[all …]
/NW4C-2.0.3/demos/gfx/ParticleDropFrameDemo/sources/
DParticleDropFrameDemo.cpp36 nw::demo::DemoAllocator s_DeviceAllocator; variable
100 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
109 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
116 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
119 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
131 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
138 .Create(&s_DeviceAllocator); in InitializeGraphics()
142 .Create(&s_DeviceAllocator); in InitializeGraphics()
214 .Create(&s_DeviceAllocator); in BuildRootNodes()
228 &s_DeviceAllocator, in BuildCameras()
[all …]

12