Rendertarget
self:is_hdr
ClientChecks whether this instance uses a 16 bit float color format
Syntax
local result = self:is_hdr()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if this instance was created with hdr, false otherwise |
Examples
local entity = core.rendertarget.create({512, 288}, true, true)
core.engine.print("info", "Is rendertarget HDR:", entity:is_hdr()) -- true