MCPcopy Create free account
hub / github.com/carbonengine/trinity / OnPrepareResources

Method OnPrepareResources

trinity/Tr2GpuBuffer.cpp:183–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183bool Tr2GpuBuffer::OnPrepareResources()
184{
185 if( !m_buffer.IsValid() && m_format != PIXEL_FORMAT_UNKNOWN )
186 {
187 return SUCCEEDED( CreateBuffer() );
188 }
189 return true;
190}
191
192uint32_t Tr2GpuBuffer::GetCount() const
193{

Callers

nothing calls this directly

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected