#include <Texture.h>
|
| virtual uint32_t | GetWidth () const =0 |
| |
| virtual uint32_t | GetHeight () const =0 |
| |
| virtual void | SetData (void *data, uint32_t size)=0 |
| |
| virtual void | Bind (uint32_t slot=0) const =0 |
| |
Texture.h 파일의 21 번째 라인에서 정의되었습니다.
◆ Bind()
| virtual void Gear::Texture::Bind |
( |
uint32_t |
slot = 0 | ) |
const |
|
pure virtualinherited |
◆ Create() [1/2]
| Ref< Texture2D > Gear::Texture2D::Create |
( |
const std::string & |
path | ) |
|
|
static |
Texture.cpp 파일의 23 번째 라인에서 정의되었습니다.
28 GR_CORE_ASSERT(
false,
"RendererAPI::None is currently not supported!");
31 return CreateRef<OpenGLTexture2D>(path);
◆ Create() [2/2]
| Ref< Texture2D > Gear::Texture2D::Create |
( |
uint32_t |
width, |
|
|
uint32_t |
height |
|
) |
| |
|
static |
Texture.cpp 파일의 9 번째 라인에서 정의되었습니다.
14 GR_CORE_ASSERT(
false,
"RendererAPI::None is currently not supported!");
17 return CreateRef<OpenGLTexture2D>(width, height);
◆ GetHeight()
| virtual uint32_t Gear::Texture::GetHeight |
( |
| ) |
const |
|
pure virtualinherited |
◆ GetWidth()
| virtual uint32_t Gear::Texture::GetWidth |
( |
| ) |
const |
|
pure virtualinherited |
◆ SetData()
| virtual void Gear::Texture::SetData |
( |
void * |
data, |
|
|
uint32_t |
size |
|
) |
| |
|
pure virtualinherited |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: