#include <OpenGLBuffer.h>
OpenGLBuffer.h 파일의 23 번째 라인에서 정의되었습니다.
◆ OpenGLIndexBuffer()
| Gear::OpenGLIndexBuffer::OpenGLIndexBuffer |
( |
uint32_t * |
indices, |
|
|
uint32_t |
count |
|
) |
| |
OpenGLBuffer.cpp 파일의 46 번째 라인에서 정의되었습니다.
53 glBufferData(GL_ELEMENT_ARRAY_BUFFER, count *
sizeof(uint32_t), indices, GL_STATIC_DRAW);
◆ ~OpenGLIndexBuffer()
| Gear::OpenGLIndexBuffer::~OpenGLIndexBuffer |
( |
| ) |
|
|
virtual |
◆ Bind()
| void Gear::OpenGLIndexBuffer::Bind |
( |
| ) |
const |
|
overridevirtual |
◆ Create()
| IndexBuffer * Gear::IndexBuffer::Create |
( |
uint32_t * |
indices, |
|
|
uint32_t |
count |
|
) |
| |
|
staticinherited |
Buffer.cpp 파일의 26 번째 라인에서 정의되었습니다.
31 GR_CORE_ASSERT(
false,
"RendererAPI::None is currently not supported!");
34 return new OpenGLIndexBuffer(indices, count);
◆ GetCount()
| virtual uint32_t Gear::OpenGLIndexBuffer::GetCount |
( |
| ) |
const |
|
inlinevirtual |
◆ Unbind()
| void Gear::OpenGLIndexBuffer::Unbind |
( |
| ) |
const |
|
overridevirtual |
◆ m_Count
| uint32_t Gear::OpenGLIndexBuffer::m_Count |
|
private |
◆ m_RendererID
| uint32_t Gear::OpenGLIndexBuffer::m_RendererID |
|
private |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: