Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 8 of 8) sorted by relevance

/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_ParticleCollection.cpp35 int capacity, in ParticleStreamCreateSize() argument
39 NW_ASSERT(capacity > 0); in ParticleStreamCreateSize()
45 ut::RoundUp(capacity, internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(T) + in ParticleStreamCreateSize()
56 int capacity, in ParticleStreamCreate() argument
60 NW_ASSERT(capacity > 0); in ParticleStreamCreate()
65 ut::RoundUp(capacity, internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(T) + in ParticleStreamCreate()
130 const int capacity = resNode.GetCapacity(); in GetMemorySizeInternal() local
155 ParticleStreamCreateSize<u16>(capacity, collectionMemorySize); in GetMemorySizeInternal()
167 ParticleStreamCreateSize<f32>(capacity, collectionMemorySize); in GetMemorySizeInternal()
224 ParticleStreamCreateSize<f32>(capacity, collectionMemorySize); in GetMemorySizeInternal()
[all …]
Dgfx_ParticleShape.cpp362 int capacity) in GetMemorySizeInternal() argument
366 const int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(u16); in GetMemorySizeInternal()
399 int capacity) in GetDeviceMemorySizeInternal() argument
403 const int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(u16); in GetDeviceMemorySizeInternal()
426 int capacity, in Create() argument
437 const int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(u16); in Create()
473 capacity, in Create()
517 int capacity, in AddVertexStreamSize() argument
531 int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * dimension * formatSize; in AddVertexStreamSize()
546 int capacity, in AddVertexStream() argument
[all …]
Dgfx_SceneEnvironment.cpp180 int vertexLightMaxCount = m_VertexLights.capacity(); in SetActiveLightSet()
/NW4C-1.3.3/include/nw/gfx/
Dgfx_ParticleShape.h76 int capacity,
85 int capacity,
90 GetMemorySizeInternal(&size, capacity);
98 int capacity);
105 int capacity,
110 GetDeviceMemorySizeInternal(&size, capacity);
118 int capacity);
124 int capacity,
138 int capacity,
414 int capacity,
Dgfx_SceneEnvironment.h73 m_FragmentLights.resize(m_FragmentLights.capacity()); in SceneEnvironment()
74 m_VertexLights.resize(m_VertexLights.capacity()); in SceneEnvironment()
76 m_Cameras.resize(m_Cameras.capacity()); in SceneEnvironment()
79 m_Fogs.resize(m_Fogs.capacity()); in SceneEnvironment()
82 m_LightSets.resize(m_LightSets.capacity()); in SceneEnvironment()
253 if (m_ActiveVertexLightCount == m_VertexLights.capacity()) in SetVertexLight()
Dgfx_ParticleContext.h116 if (m_EmissionPositionWork.capacity() < requireSize)
133 if (m_EmissionParentWork.capacity() < requireSize)
/NW4C-1.3.3/include/nw/ut/
Dut_MoveArray.h145 size_t capacity,
156 SetCapacity(capacity); in m_Allocator()
172 size_t capacity,
179 if (0 < capacity) in m_Allocator()
182 …m_Elements = static_cast<TElement*>(allocator->Alloc(sizeof(TElement) * capacity, MEMORY_ALIGNMENT… in m_Allocator()
184 m_Elements = static_cast<TElement*>(allocator->Alloc(sizeof(TElement) * capacity)); in m_Allocator()
193 SetCapacity(capacity); in m_Allocator()
251 return (capacity() == 0 && GetArrayKind() != ARRAY_VARIABILITY) in SafeBool()
253 return (capacity() == 0) in SafeBool()
376 int capacity() const { return GetCapacity(); } in capacity() function
[all …]
/NW4C-1.3.3/include/nw/dev/
Ddev_Profile.h165 int GetReportCapacity() const { return m_Reports.capacity(); } in GetReportCapacity()