| /NW4C-1.2.23/demos/gfx/ResourceDemo/sources/ |
| D | ResourceDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; variable 140 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 149 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 155 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 160 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 168 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 172 s_ShaderResource = s_DeviceAllocator.AllocAndConstruct<nw::demo::ResourceSet>(1); in InitializeGraphics() 173 …s_ShaderResource->buffer = nw::demo::Utility::LoadFile(&s_DeviceAllocator , SHADER_RESOURCE_FILE_N… in InitializeGraphics() 192 s_DeviceAllocator.DestructAndFree(s_ShaderResource, 1); in TerminateGraphics() 218 .Create(&s_DeviceAllocator); in BuildRootNodes() [all …]
|
| /NW4C-1.2.23/demos/gfx/SimpleDemo/sources/ |
| D | SimpleDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; variable 92 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 98 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 105 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 109 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 118 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 152 .Create(&s_DeviceAllocator); in BuildRootNodes() 163 &s_DeviceAllocator, in BuildCameras() 194 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources() 200 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(SCENE_NODE_COUNT, &s_DeviceAllocator); in BuildResources() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleCtrlEmissionDemo/sources/ |
| D | ParticleCtrlEmissionDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; variable 89 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 98 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 105 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 110 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 117 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 120 .Create(&s_DeviceAllocator); in InitializeGraphics() 123 .Create(&s_DeviceAllocator); in InitializeGraphics() 166 .Create(&s_DeviceAllocator); in BuildRootNodes() 180 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleRecycleDemo/sources/ |
| D | ParticleRecycleDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; variable 87 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 96 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 103 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 108 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 115 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 118 .Create(&s_DeviceAllocator); in InitializeGraphics() 121 .Create(&s_DeviceAllocator); in InitializeGraphics() 164 .Create(&s_DeviceAllocator); in BuildRootNodes() 178 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleChokeDemo/sources/ |
| D | ParticleChokeDemo.cpp | 37 nw::demo::DemoAllocator s_DeviceAllocator; variable 97 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 106 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 112 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 117 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 124 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 127 .Create(&s_DeviceAllocator); in InitializeGraphics() 130 .Create(&s_DeviceAllocator); in InitializeGraphics() 174 .Create(&s_DeviceAllocator); in BuildRootNodes() 188 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/SceneTreeDemo/sources/ |
| D | SceneTreeDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; variable 86 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 95 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 102 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 107 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 114 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 153 .Create(&s_DeviceAllocator); in BuildRootNodes() 159 .Create(&s_DeviceAllocator); in BuildRootNodes() 166 .Create(&s_DeviceAllocator); in BuildRootNodes() 173 .Create(&s_DeviceAllocator); in BuildRootNodes() [all …]
|
| /NW4C-1.2.23/demos/gfx/AnimationChangeDemo/sources/ |
| D | AnimationChangeDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; variable 110 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 119 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 126 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 131 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 139 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 181 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in BuildTransformAnimResource() 214 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator() 254 s_ResAnimEmpty = nw::anim::res::ResAnim::CreateEmptySkeletalAnim(&s_DeviceAllocator); in InitializeSkeletalAnim() 322 .Create(&s_DeviceAllocator); in BuildRootNodes() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleMultiEmitterDemo/sources/ |
| D | ParticleMultiEmitterDemo.cpp | 37 nw::demo::DemoAllocator s_DeviceAllocator; variable 103 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 112 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 119 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 124 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 131 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 135 .Create(&s_DeviceAllocator); in InitializeGraphics() 138 .Create(&s_DeviceAllocator); in InitializeGraphics() 210 .Create(&s_DeviceAllocator); in BuildRootNodes() 224 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleDemo/sources/ |
| D | ParticleDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; variable 104 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 113 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 119 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 124 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 132 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 136 .Create(&s_DeviceAllocator); in InitializeGraphics() 139 .Create(&s_DeviceAllocator); in InitializeGraphics() 210 .Create(&s_DeviceAllocator); in BuildRootNodes() 224 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleScaleDemo/sources/ |
| D | ParticleScaleDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; variable 87 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 96 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 103 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 108 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 115 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 118 .Create(&s_DeviceAllocator); in InitializeGraphics() 121 .Create(&s_DeviceAllocator); in InitializeGraphics() 164 .Create(&s_DeviceAllocator); in BuildRootNodes() 178 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleLowLayerDemo/sources/ |
| D | ParticleLowLayerDemo.cpp | 39 nw::demo::DemoAllocator s_DeviceAllocator; variable 145 …nw::demo::InitializeDemoAllocator(&s_DeviceAllocator, DEMO_MEMORY_SIZE, nn::os::ALLOCATE_OPTION_LI… in InitializeGraphicsSystem() 148 s_GraphicsMemoryAllocator.Initialize(&s_DeviceAllocator); in InitializeGraphicsSystem() 165 nw::demo::FinalizeDemoAllocator(&s_DeviceAllocator); in FinalizeGraphicsSystem() 176 .Create(&s_DeviceAllocator); in InitializeGraphics() 198 .Create(&s_DeviceAllocator); in InitializeGraphics() 202 .Create(&s_DeviceAllocator); in InitializeGraphics() 213 nw::demo::CommandListSwapper::Create(&s_DeviceAllocator, commandListSwapperDescription); in InitializeGraphics() 220 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 224 .Create(&s_DeviceAllocator); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/PartialAnimationDemo/sources/ |
| D | PartialAnimationDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; variable 109 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 118 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 125 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 130 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 138 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 186 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator() 208 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator() 292 .Create(&s_DeviceAllocator); in BuildRootNodes() 297 .Create(&s_DeviceAllocator); in BuildRootNodes() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleMultiModelDemo/sources/ |
| D | ParticleMultiModelDemo.cpp | 38 nw::demo::DemoAllocator s_DeviceAllocator; variable 104 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 113 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 120 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 125 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 132 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 136 .Create(&s_DeviceAllocator); in InitializeGraphics() 139 .Create(&s_DeviceAllocator); in InitializeGraphics() 211 .Create(&s_DeviceAllocator); in BuildRootNodes() 225 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleApplicationDemo/sources/ |
| D | ParticleApplicationDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; variable 89 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 98 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 105 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 110 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 118 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 121 .Create(&s_DeviceAllocator); in InitializeGraphics() 124 .Create(&s_DeviceAllocator); in InitializeGraphics() 168 .Create(&s_DeviceAllocator); in BuildRootNodes() 174 .Create(&s_DeviceAllocator); in BuildRootNodes() [all …]
|
| /NW4C-1.2.23/demos/gfx/LowLayerAnimationDemo/sources/ |
| D | LowLayerAnimationDemo.cpp | 39 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() 168 nw::demo::FinalizeDemoAllocator(&s_DeviceAllocator); in FinalizeGraphicsSystem() 197 .Create(&s_DeviceAllocator); in InitializeGraphics() 201 .Create(&s_DeviceAllocator); in InitializeGraphics() 212 nw::demo::CommandListSwapper::Create(&s_DeviceAllocator, commandListSwapperDescription); in InitializeGraphics() 219 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 223 .Create(&s_DeviceAllocator); in InitializeGraphics() 226 void* cameraMemory = s_DeviceAllocator.Alloc(sizeof(nn::ulcd::CTR::StereoCamera)); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/DynamicMaterialDemo/sources/ |
| D | DynamicMaterialDemo.cpp | 115 nw::demo::DemoAllocator s_DeviceAllocator; variable 193 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 202 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 209 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 214 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 222 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 260 .Create(&s_DeviceAllocator); in BuildRootNodes() 265 .Create(&s_DeviceAllocator); in BuildRootNodes() 280 &s_DeviceAllocator, in BuildCameras() 300 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources() [all …]
|
| /NW4C-1.2.23/demos/gfx/LowLayerDemo/sources/ |
| D | LowLayerDemo.cpp | 39 nw::demo::DemoAllocator s_DeviceAllocator; variable 137 …nw::demo::InitializeDemoAllocator(&s_DeviceAllocator, DEMO_MEMORY_SIZE, nn::os::ALLOCATE_OPTION_LI… in InitializeGraphicsSystem() 140 s_GraphicsMemoryAllocator.Initialize(&s_DeviceAllocator); in InitializeGraphicsSystem() 157 nw::demo::FinalizeDemoAllocator(&s_DeviceAllocator); in FinalizeGraphicsSystem() 186 .Create(&s_DeviceAllocator); in InitializeGraphics() 190 .Create(&s_DeviceAllocator); in InitializeGraphics() 201 nw::demo::CommandListSwapper::Create(&s_DeviceAllocator, commandListSwapperDescription); in InitializeGraphics() 208 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 212 .Create(&s_DeviceAllocator); in InitializeGraphics() 215 void* cameraMemory = s_DeviceAllocator.Alloc(sizeof(nn::ulcd::CTR::StereoCamera)); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ProjectionShadowDemo/sources/ |
| D | ProjectionShadowDemo.cpp | 277 nw::demo::DemoAllocator s_DeviceAllocator; variable 352 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 361 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 368 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 373 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 384 .Create(&s_DeviceAllocator); in InitializeGraphics() 385 s_ShadowTexture.Setup(&s_DeviceAllocator, nw::gfx::ResGraphicsFile(NULL)); in InitializeGraphics() 389 nw::gfx::IRenderTarget::CreateOffScreenBuffer(&s_DeviceAllocator, s_ShadowTexture); in InitializeGraphics() 398 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 452 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator() [all …]
|
| /NW4C-1.2.23/demos/gfx/MultiAnimationDemo/sources/ |
| D | MultiAnimationDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; variable 151 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 160 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 167 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 172 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 179 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 245 .Create(&s_DeviceAllocator); in BuildRootNodes() 251 .Create(&s_DeviceAllocator); in BuildRootNodes() 257 .Create(&s_DeviceAllocator); in BuildRootNodes() 264 .Create(&s_DeviceAllocator); in BuildRootNodes() [all …]
|
| /NW4C-1.2.23/demos/gfx/AnimationDemo/sources/ |
| D | AnimationDemo.cpp | 36 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 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 126 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 134 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 183 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator() 206 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator() 321 .Create(&s_DeviceAllocator); in BuildRootNodes() 326 .Create(&s_DeviceAllocator); in BuildRootNodes() [all …]
|
| /NW4C-1.2.23/demos/gfx/AnimationBlendDemo/sources/ |
| D | AnimationBlendDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; variable 118 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 127 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 134 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 139 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 147 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 196 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator() 219 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator() 243 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateMaterialAnimEvaluator() 262 .Create(&s_DeviceAllocator); in CreateMaterialAnimEvaluator() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleChangeVtxDemo/sources/ |
| D | ParticleChangeVtxDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; variable 104 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 113 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 120 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 125 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 132 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 136 .Create(&s_DeviceAllocator); in InitializeGraphics() 139 .Create(&s_DeviceAllocator); in InitializeGraphics() 182 .Create(&s_DeviceAllocator); in BuildRootNodes() 196 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/MultiInstanceDemo/sources/ |
| D | MultiInstanceDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; variable 133 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 142 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 149 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 154 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 164 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 225 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator() 290 .Create(&s_DeviceAllocator); in BuildRootNodes() 296 .Create(&s_DeviceAllocator); in BuildRootNodes() 311 &s_DeviceAllocator, in BuildCameras() [all …]
|
| /NW4C-1.2.23/demos/gfx/ShadowMapDemo/sources/ |
| D | ShadowMapDemo.cpp | 279 nw::demo::DemoAllocator s_DeviceAllocator; variable 354 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 363 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 370 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 375 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 395 .Create(&s_DeviceAllocator); in InitializeGraphics() 396 s_ShadowTexture.Setup(&s_DeviceAllocator, nw::gfx::ResGraphicsFile(NULL)); in InitializeGraphics() 400 nw::gfx::IRenderTarget::CreateOffScreenBuffer(&s_DeviceAllocator, s_ShadowTexture); in InitializeGraphics() 409 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 463 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator() [all …]
|
| /NW4C-1.2.23/demos/gfx/ConstraintDemo/sources/ |
| D | ConstraintDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; variable 249 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics() 258 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 265 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics() 270 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 277 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() 280 .Create(&s_DeviceAllocator); in InitializeGraphics() 283 .Create(&s_DeviceAllocator); in InitializeGraphics() 449 .Create(&s_DeviceAllocator); in BuildRootNodes() 464 &s_DeviceAllocator, in BuildCameras() [all …]
|