Resource::RenderTarget::BlendOp RenderTarget::GetAlphaBlendOp |
( |
| ) |
const |
Get the blend op to be used on the alpha channel of this render target *.
- Returns
- A BlendOp enum that represents the blending operation to be used on the alpha channel
Resource::RenderTarget::BlendOp RenderTarget::GetColorBlendOp |
( |
| ) |
const |
Get the blend op to be used on the color channels of this render target.
- Returns
- A BlendOp enum that represents the blending operation to be used on the color channels
bool RenderTarget::Initialize |
( |
const std::string & |
file | ) |
|
Initialize a RenderTarget synchronously with the GPUResourcePool.
If the GPUResourceThread is already in use the texture will be created directly. If the thread is not locked we will feed the thread a request. This will LOCK the main thread until it completes.
- Parameters
-
file | The file path of the RenderTexture json file that we want to load off the disk |
- Returns
- A boolean representing whether or not this operation succeeded
The documentation for this class was generated from the following files: