| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_SceneContext.cpp | 28 os::IAllocator* allocator in Create() argument 31 NW_NULL_ASSERT(allocator); in Create() 33 SceneNodeArray sceneNodes(allocator); in Create() 34 ModelArray models(allocator); in Create() 35 SkeletalModelArray skeletalModels(allocator); in Create() 36 LightArray lights(allocator); in Create() 37 FragmentLightArray fragmentLights(allocator); in Create() 38 VertexLightArray vertexLights(allocator); in Create() 39 HemiSphereLightArray hemiSphereLights(allocator); in Create() 40 AmbientLightArray ambientLights(allocator); in Create() [all …]
|
| D | gfx_SceneNode.cpp | 35 os::IAllocator* allocator in Create() argument 38 NW_NULL_ASSERT(allocator); in Create() 40 void* memory = allocator->Alloc(sizeof(SceneNode)); in Create() 44 allocator, ResSceneNode(), m_Description); in Create() 46 Result result = node->Initialize(allocator); in Create() 60 os::IAllocator* allocator in Create() argument 63 NW_NULL_ASSERT(allocator); in Create() 67 void* memory = allocator->Alloc(sizeof(SceneNode)); in Create() 71 allocator, resNode, description); in Create() 73 Result result = node->Initialize(allocator); in Create() [all …]
|
| D | gfx_AmbientLight.cpp | 33 os::IAllocator* allocator in Create() argument 36 NW_NULL_ASSERT(allocator); in Create() 39 CreateResAmbientLight(allocator), in Create() 40 ResAmbientLightDataDestroyer(allocator)); in Create() 42 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create() 45 allocator, in Create() 49 Result result = light->Initialize(allocator); in Create() 61 os::IAllocator* allocator in Create() argument 64 NW_NULL_ASSERT(allocator); in Create() 70 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create() [all …]
|
| D | gfx_HemiSphereLight.cpp | 35 os::IAllocator* allocator in Create() argument 38 NW_NULL_ASSERT(allocator); in Create() 41 CreateResHemiSphereLight(allocator), in Create() 42 ResHemiSphereLightDataDestroyer(allocator)); in Create() 44 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create() 47 allocator, in Create() 51 Result result = light->Initialize(allocator); in Create() 63 os::IAllocator* allocator in Create() argument 66 NW_NULL_ASSERT(allocator); in Create() 72 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create() [all …]
|
| D | gfx_FragmentLight.cpp | 35 os::IAllocator* allocator in Create() argument 38 NW_NULL_ASSERT(allocator); in Create() 41 CreateResFragmentLight(allocator), in Create() 42 ResFragmentLightDataDestroyer(allocator)); in Create() 44 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create() 47 allocator, in Create() 51 Result result = light->Initialize(allocator); in Create() 63 os::IAllocator* allocator in Create() argument 66 NW_NULL_ASSERT(allocator); in Create() 72 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create() [all …]
|
| D | gfx_VertexLight.cpp | 36 os::IAllocator* allocator in Create() argument 39 NW_NULL_ASSERT(allocator); in Create() 42 CreateResVertexLight(allocator), in Create() 43 ResVertexLightDataDestroyer(allocator)); in Create() 45 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create() 48 allocator, in Create() 52 Result result = light->Initialize(allocator); in Create() 64 os::IAllocator* allocator in Create() argument 67 NW_NULL_ASSERT(allocator); in Create() 73 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create() [all …]
|
| D | gfx_ParticleContext.cpp | 28 os::IAllocator* allocator in Create() argument 31 NW_NULL_ASSERT(allocator); in Create() 33 VEC3Array emissionPositions(allocator); in Create() 34 U16Array emissionParents(allocator); in Create() 35 F32Array particleWorkF32(allocator); in Create() 39 emissionPositions = VEC3Array(this->m_MaxEmission, allocator); in Create() 40 emissionParents = U16Array(this->m_MaxEmission, allocator); in Create() 41 particleWorkF32 = F32Array(this->m_MaxStreamLength, allocator); in Create() 44 void* memory = allocator->Alloc(sizeof(ParticleContext)); in Create() 48 allocator, emissionPositions, emissionParents, particleWorkF32); in Create()
|
| D | gfx_TransformNode.cpp | 33 os::IAllocator* allocator, in TransformNode() argument 36 : SceneNode(allocator, resObj, description), in TransformNode() 57 os::IAllocator* allocator in Create() argument 60 NW_NULL_ASSERT(allocator); in Create() 62 void* memory = allocator->Alloc(sizeof(TransformNode)); in Create() 66 allocator, in Create() 70 Result result = node->Initialize(allocator); in Create() 83 os::IAllocator* allocator in Create() argument 86 NW_NULL_ASSERT(allocator); in Create() 90 void* memory = allocator->Alloc(sizeof(TransformNode)); in Create() [all …]
|
| D | gfx_Fog.cpp | 38 os::IAllocator* allocator in Create() argument 41 NW_NULL_ASSERT(allocator); in Create() 44 CreateResFog(allocator), in Create() 45 ResFogDataDestroyer(allocator)); in Create() 47 void* memory = allocator->Alloc(sizeof(Fog)); in Create() 50 allocator, in Create() 53 Result result = fog->Initialize(allocator); in Create() 75 os::IAllocator* allocator in Create() argument 78 NW_NULL_ASSERT(allocator); in Create() 84 void* memory = allocator->Alloc(sizeof(Fog)); in Create() [all …]
|
| D | gfx_Model.cpp | 40 os::IAllocator* allocator in Create() argument 43 NW_NULL_ASSERT(allocator); in Create() 49 void* memory = allocator->Alloc(sizeof(Model)); in Create() 53 allocator, in Create() 57 Result result = node->Initialize(allocator); in Create() 71 Model::Initialize(os::IAllocator* allocator) in Initialize() argument 75 result |= TransformNode::Initialize(allocator); in Initialize() 78 result |= CreateResMeshes(allocator); in Initialize() 81 result |= CreateResMeshNodeVisibilities(allocator); in Initialize() 84 result |= CreateMaterials(allocator); in Initialize() [all …]
|
| D | gfx_LightSet.cpp | 29 os::IAllocator* allocator in Create() argument 32 NW_NULL_ASSERT(allocator); in Create() 34 void* memory = allocator->Alloc(sizeof(LightSet)); in Create() 37 allocator, in Create() 48 os::IAllocator* allocator in Create() argument 51 NW_NULL_ASSERT(allocator); in Create() 54 void* memory = allocator->Alloc(sizeof(LightSet)); in Create() 61 allocator, in Create()
|
| D | gfx_SceneBuilder.cpp | 43 os::IAllocator* allocator, in CreateObject() argument 47 NW_NULL_ASSERT(allocator); in CreateObject() 51 SceneObject* root = BuildSceneObject(0, m_Resource, allocator, deviceAllocator, false); in CreateObject() 59 os::IAllocator* allocator, in CreateTree() argument 63 NW_NULL_ASSERT(allocator); in CreateTree() 67 SceneObject* root = BuildSceneObject(0, m_Resource, allocator, deviceAllocator, true); in CreateTree() 77 os::IAllocator* allocator, in BuildSceneObject() argument 82 NW_NULL_ASSERT(allocator); in BuildSceneObject() 99 parent, resource, description, allocator); in BuildSceneObject() 117 allocator); in BuildSceneObject() [all …]
|
| D | gfx_PerspectiveProjectionUpdater.cpp | 29 PerspectiveProjectionUpdater::Create(os::IAllocator* allocator) in Create() argument 31 NW_NULL_ASSERT(allocator); in Create() 33 void* updaterMemory = allocator->Alloc(sizeof(PerspectiveProjectionUpdater)); in Create() 37 = allocator->AllocAndFill(sizeof(ResPerspectiveProjectionUpdaterData), NULL); in Create() 50 return new(updaterMemory) PerspectiveProjectionUpdater(allocator, true, resUpdater); in Create() 56 os::IAllocator* allocator, in Create() argument 59 NW_NULL_ASSERT(allocator); in Create() 61 void* updaterMemory = allocator->Alloc(sizeof(PerspectiveProjectionUpdater)); in Create() 64 return new(updaterMemory) PerspectiveProjectionUpdater(allocator, false, resUpdater); in Create() 69 os::IAllocator* allocator, in PerspectiveProjectionUpdater() argument [all …]
|
| D | gfx_Skeleton.cpp | 32 Skeleton::CreateCallbacks(os::IAllocator* allocator, int maxCallbacks, bool isFixedSizeMemory) in CreateCallbacks() argument 39 CalculateMatrixSignal::CreateInvalidateSignal(allocator); in CreateCallbacks() 41 CalculateMatrixSignal::CreateInvalidateSignal(allocator); in CreateCallbacks() 46 CalculateMatrixSignal::CreateFixedSizedSignal(maxCallbacks, allocator); in CreateCallbacks() 48 CalculateMatrixSignal::CreateFixedSizedSignal(maxCallbacks, allocator); in CreateCallbacks() 54 CalculateMatrixSignal::CreateVariableSizeSignal(allocator); in CreateCallbacks() 56 CalculateMatrixSignal::CreateVariableSizeSignal(allocator); in CreateCallbacks()
|
| D | gfx_FrustumProjectionUpdater.cpp | 30 FrustumProjectionUpdater::Create(os::IAllocator* allocator) in Create() argument 32 NW_NULL_ASSERT(allocator); in Create() 34 void* updaterMemory = allocator->Alloc(sizeof(FrustumProjectionUpdater)); in Create() 38 = allocator->AllocAndFill(sizeof(ResFrustumProjectionUpdaterData), NULL); in Create() 52 return new(updaterMemory) FrustumProjectionUpdater(allocator, true, resUpdater); in Create() 57 FrustumProjectionUpdater::Create(os::IAllocator* allocator, ResFrustumProjectionUpdater resUpdater) in Create() argument 59 NW_NULL_ASSERT(allocator); in Create() 61 void* updaterMemory = allocator->Alloc(sizeof(FrustumProjectionUpdater)); in Create() 64 return new(updaterMemory) FrustumProjectionUpdater(allocator, false, resUpdater); in Create() 69 os::IAllocator* allocator, in FrustumProjectionUpdater() argument [all …]
|
| D | gfx_Material.cpp | 44 os::IAllocator* allocator, in Material() argument 49 allocator, in Material() 67 os::IAllocator* allocator in Create() argument 70 NW_NULL_ASSERT(allocator); in Create() 76 void* memory = allocator->Alloc(sizeof(Material)); in Create() 83 allocator, in Create() 88 Result result = material->Initialize(allocator); in Create() 268 Material::CreateBuffers(os::IAllocator* allocator) in CreateBuffers() argument 277 void* memory = allocator->Alloc(sizeof(ResMaterial) * m_BufferCount); in CreateBuffers() 285 m_Buffers = ResMaterialArray(memory, m_BufferCount, allocator); in CreateBuffers() [all …]
|
| /NW4C-1.2.23/include/nw/ut/generated/ |
| D | ut_Signal.hi | 33 explicit Slot0(AllocatorType* allocator) : m_Allocator(allocator) {} 38 AllocatorType* allocator = this->GetAllocator(); 39 if (allocator) 42 allocator->Free(this); 47 void Destroy(AllocatorType* allocator) 49 NW_NULL_ASSERT(allocator); 51 allocator->Free(this); 87 FunctionSlot0(AllocatorType* allocator, FunctionType function) 88 : Slot0<TResult, TAllocator>(allocator), m_Function(function) {} 145 //! @param[in] allocator アロケータです。 [all …]
|
| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_AmbientLight.h | 94 AmbientLight* Create(os::IAllocator* allocator); 113 os::IAllocator* allocator); 150 ResAmbientLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() 169 os::IAllocator* allocator, in AmbientLight() argument 173 allocator, in AmbientLight() 180 os::IAllocator* allocator, in AmbientLight() argument 184 allocator, in AmbientLight() 200 virtual Result Initialize(os::IAllocator* allocator); 210 …static ResAmbientLightData* CreateResAmbientLight(os::IAllocator* allocator, const char* name =… 218 …static void DestroyResAmbientLight(os::IAllocator* allocator, ResAmbientLightData* resAmbientLight… [all …]
|
| D | gfx_HemiSphereLight.h | 95 HemiSphereLight* Create(os::IAllocator* allocator); 114 os::IAllocator* allocator); 151 ResHemiSphereLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() 170 os::IAllocator* allocator, in HemiSphereLight() argument 174 allocator, in HemiSphereLight() 181 os::IAllocator* allocator, in HemiSphereLight() argument 185 allocator, in HemiSphereLight() 200 virtual Result Initialize(os::IAllocator* allocator); 210 …static ResHemiSphereLightData* CreateResHemiSphereLight(os::IAllocator* allocator, const char* … 218 …static void DestroyResHemiSphereLight(os::IAllocator* allocator, ResHemiSphereLightData* resHemiSp… [all …]
|
| D | gfx_Fog.h | 117 Fog* Create(os::IAllocator* allocator); 136 os::IAllocator* allocator); 185 ResFogDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() 197 ResFogUpdaterDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() 217 os::IAllocator* allocator, in Fog() argument 221 allocator, in Fog() 231 os::IAllocator* allocator, in Fog() argument 235 allocator, in Fog() 250 virtual Result Initialize(os::IAllocator* allocator); 260 static ResFogData* CreateResFog(os::IAllocator* allocator, const char* name = NULL); [all …]
|
| D | gfx_FragmentLight.h | 128 FragmentLight* Create(os::IAllocator* allocator); 147 os::IAllocator* allocator); 193 ResFragmentLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() 212 os::IAllocator* allocator, in FragmentLight() argument 216 allocator, in FragmentLight() 224 os::IAllocator* allocator, in FragmentLight() argument 228 allocator, in FragmentLight() 245 virtual Result Initialize(os::IAllocator* allocator); 255 …static ResFragmentLightData* CreateResFragmentLight(os::IAllocator* allocator, const char* name… 263 …static void DestroyResFragmentLight(os::IAllocator* allocator, ResFragmentLightData* resFragmentLi… [all …]
|
| D | gfx_VertexLight.h | 128 VertexLight* Create(os::IAllocator* allocator); 147 os::IAllocator* allocator); 192 ResVertexLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() 211 os::IAllocator* allocator, in VertexLight() argument 215 allocator, in VertexLight() 223 os::IAllocator* allocator, in VertexLight() argument 227 allocator, in VertexLight() 244 virtual Result Initialize(os::IAllocator* allocator); 254 …static ResVertexLightData* CreateResVertexLight(os::IAllocator* allocator, const char* name = N… 262 … static void DestroyResVertexLight(os::IAllocator* allocator, ResVertexLightData* resVertexLight); [all …]
|
| /NW4C-1.2.23/sources/libraries/gfx/res/ |
| D | gfx_ResTextureMapper.cpp | 27 typedef Result (*SetupFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator, ResGraphi… 29 …ResTextureMapper (*CloneDynamicFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator); 30 typedef void (*DestroyDynamicFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator); 32 …dTextureMapper_Setup(ResTextureMapper resTextureMapper, os::IAllocator* allocator, ResGraphicsFile… 33 …lTextureMapper_Setup(ResTextureMapper resTextureMapper, os::IAllocator* allocator, ResGraphicsFile… 36 …PixelBasedTextureMapper_CloneDynamic(ResTextureMapper resTextureMapper, os::IAllocator* allocator); 37 …ProceduralTextureMapper_CloneDynamic(ResTextureMapper resTextureMapper, os::IAllocator* allocator); 38 …xelBasedTextureMapper_DestroyDynamic(ResTextureMapper resTextureMapper, os::IAllocator* allocator); 39 …oceduralTextureMapper_DestroyDynamic(ResTextureMapper resTextureMapper, os::IAllocator* allocator); 41 static ResTexture ReferResTexture(os::IAllocator* allocator, ResTexture resTexture); [all …]
|
| D | gfx_ResGraphicsFile.cpp | 35 ResGraphicsFile::Setup(os::IAllocator* allocator, ResGraphicsFile graphicsFile) in Setup() argument 45 result |= this->GetLutSets( i ).Setup(allocator, graphicsFile); in Setup() 51 result |= this->GetLights( i ).Setup(allocator, graphicsFile); in Setup() 57 result |= this->GetFogs( i ).Setup(allocator, graphicsFile); in Setup() 63 result |= this->GetShaders( i ).Setup(allocator, graphicsFile); in Setup() 69 result |= this->GetTextures( i ).Setup(allocator, graphicsFile); in Setup() 75 result |= this->GetSkeletalAnims( i ).Setup(allocator, graphicsFile); in Setup() 81 result |= this->GetMaterialAnims( i ).Setup(allocator, graphicsFile); in Setup() 87 result |= this->GetVisibilityAnims( i ).Setup(allocator, graphicsFile); in Setup() 93 result |= this->GetCameraAnims( i ).Setup(allocator, graphicsFile); in Setup() [all …]
|
| /NW4C-1.2.23/sources/libraries/dev/ |
| D | dev_Screenshot.cpp | 31 nw::os::IAllocator* allocator, in Create() argument 36 u32* hash = allocator->AllocAndFill(HASH_LENGTH, static_cast<u32>(0)); in Create() 40 u8* copyScreen = allocator->AllocAndFill(maxLength, static_cast<u8>(0)); in Create() 43 void* memory = allocator->Alloc(sizeof(Screenshot)); in Create() 47 allocator, in Create() 115 nw::os::IAllocator* allocator, in Create() argument 122 void* memory = allocator->Alloc(sizeof(Screenshot)); in Create() 123 ScreenshotArray screenshots = ScreenshotArray(maxScreenshot, allocator); in Create() 127 screenshots.push_back(Screenshot::Create(allocator, memorySize)); in Create() 130 return new(memory) ScreenshotManager(allocator, screenshots); in Create() [all …]
|