Searched refs:capacity (Results 1 – 8 of 8) sorted by relevance
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_ParticleCollection.cpp | 37 int capacity, in ParticleStreamCreateSize() argument 41 NW_ASSERT(capacity > 0); in ParticleStreamCreateSize() 47 const int size = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(T) + 8; in ParticleStreamCreateSize() 57 int capacity, in ParticleStreamCreate() argument 61 NW_ASSERT(capacity > 0); in ParticleStreamCreate() 65 const int size = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(T) + 8; in ParticleStreamCreate() 129 const int capacity = resNode.GetCapacity(); in GetMemorySizeInternal() local 154 ParticleStreamCreateSize<u16>(capacity, collectionMemorySize); in GetMemorySizeInternal() 166 ParticleStreamCreateSize<f32>(capacity, collectionMemorySize); in GetMemorySizeInternal() 223 ParticleStreamCreateSize<f32>(capacity, collectionMemorySize); in GetMemorySizeInternal() [all …]
|
| D | gfx_ParticleShape.cpp | 364 int capacity) in GetMemorySizeInternal() argument 368 const int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(u16); in GetMemorySizeInternal() 401 int capacity) in GetDeviceMemorySizeInternal() argument 405 const int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(u16); in GetDeviceMemorySizeInternal() 428 int capacity, in Create() argument 439 const int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(u16); in Create() 475 capacity, in Create() 519 int capacity, in AddVertexStreamSize() argument 533 int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * dimension * formatSize; in AddVertexStreamSize() 548 int capacity, in AddVertexStream() argument [all …]
|
| D | gfx_SceneEnvironment.cpp | 182 int vertexLightMaxCount = m_VertexLights.capacity(); in SetActiveLightSet()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_ParticleShape.h | 78 int capacity, 87 int capacity, 92 GetMemorySizeInternal(&size, capacity); 100 int capacity); 107 int capacity, 112 GetDeviceMemorySizeInternal(&size, capacity); 120 int capacity); 126 int capacity, 140 int capacity, 416 int capacity,
|
| D | gfx_SceneEnvironment.h | 75 m_FragmentLights.resize(m_FragmentLights.capacity()); in SceneEnvironment() 76 m_VertexLights.resize(m_VertexLights.capacity()); in SceneEnvironment() 78 m_Cameras.resize(m_Cameras.capacity()); in SceneEnvironment() 81 m_Fogs.resize(m_Fogs.capacity()); in SceneEnvironment() 84 m_LightSets.resize(m_LightSets.capacity()); in SceneEnvironment() 255 if (m_ActiveVertexLightCount == m_VertexLights.capacity()) in SetVertexLight()
|
| D | gfx_ParticleContext.h | 128 if (m_EmissionPositionWork.capacity() < requireSize) 147 if (m_EmissionParentWork.capacity() < requireSize) 173 if (m_PrevTranslateWork.capacity() < requireSize)
|
| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_MoveArray.h | 147 size_t capacity, 158 SetCapacity(capacity); in m_Allocator() 174 size_t capacity, 181 if (0 < capacity) in m_Allocator() 184 …m_Elements = static_cast<TElement*>(allocator->Alloc(sizeof(TElement) * capacity, MEMORY_ALIGNMENT… in m_Allocator() 186 m_Elements = static_cast<TElement*>(allocator->Alloc(sizeof(TElement) * capacity)); in m_Allocator() 195 SetCapacity(capacity); in m_Allocator() 253 return (capacity() == 0 && GetArrayKind() != ARRAY_VARIABILITY) in SafeBool() 255 return (capacity() == 0) in SafeBool() 378 int capacity() const { return GetCapacity(); } in capacity() function [all …]
|
| /NW4C-2.0.3/include/nw/dev/ |
| D | dev_Profile.h | 167 int GetReportCapacity() const { return m_Reports.capacity(); } in GetReportCapacity()
|