-------------------------------------------------------------------------------------- Description: Assigns new values to buffer parameters and construct AL buffer. Arguments: count - Number of elements in the buffer format - Type of buffer elements cpuWritable - Can the buffer be locked with write-only access gpuWritable - Can the buffer be written into by GPU drawIndirect - Is the buffer used fo
| 98 | // false Otherwise |
| 99 | // -------------------------------------------------------------------------------------- |
| 100 | ALResult Tr2GpuBuffer::Create( uint32_t count, |
| 101 | Tr2RenderContextEnum::PixelFormat format, |
| 102 | CreationFlags creationFlags ) |
| 103 | { |
| 104 | m_count = count; |
| 105 | m_format = format; |
| 106 | m_creationFlags = creationFlags; |
| 107 | return CreateBuffer(); |
| 108 | } |
| 109 | |
| 110 | // -------------------------------------------------------------------------------------- |
| 111 | // Description: |
no outgoing calls
no test coverage detected