| BaseType | ||
| FOpenGLTextureBase
|
Module |
|
Header |
/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLResources.h |
Include |
#include "OpenGLResources.h" |
template<typename BaseType>
class TOpenGLTexture :
public BaseType,
public FOpenGLTextureBase
Textures.
Name | Description | |
---|---|---|
|
TOpenGLTexture ( |
Initialization constructor. |
Name | Description | |
---|---|---|
|
~TOpenGLTexture() |
Name | Description | ||
---|---|---|---|
|
CloneViaCopyImage ( |
Clone texture from a source using CopyImageSubData |
|
|
CloneViaPBO ( |
Clone texture from a source going via PBOs |
|
|
GetAllocatedStorageForMip |
Accessors to mark whether or not we have allocated storage for each mip/face. |
|
|
GLuint |
GetBufferResource |
Get PBO Resource for readback |
|
GetLockSize ( |
Returns the size of the memory block that is returned from Lock, threadsafe |
|
|
void * |
GetNativeResource() |
FRHITexture override. |
|
void * |
GetTextureBaseRHI() |
|
|
IsCubemap() |
||
|
IsDynamic() |
Accessors. |
|
|
IsStaging() |
||
|
void * |
Lock ( |
Locks one of the texture's mip-maps. |
|
Resolve |
Resolved the specified face for a read Lock, for non-renderable, CPU readable surfaces this eliminates the readback inside Lock itself. |
|
|
SetAllocatedStorage ( |
Set allocated storage state for all mip/faces. |
|
|
SetAllocatedStorageForMip |
||
|
Unlock |
Unlocks a previously locked mip-map. |
|
|
UpdateHost |
Updates the host accessible version of the texture |