5#ifndef JAWSMAKO_APEX_RENDERER_H
6#define JAWSMAKO_APEX_RENDERER_H
45 int32 deviceIndex = -1);
69 return ! (*
this == other);
105 %apply
char *ARRAY_INPUT_SIZEINDEX_1 {
const void *data };
108 %apply (
char *ARRAY_INPUT,
size_t LENGTH) { (
const void *data,
uint32 size) };
111 %apply
char INPUT[] {
const void *data};
156 bool filtered =
false) = 0;
158 %clear
const void *data;
159 %clear (
const void *data,
uint32 size);
164 %apply
char *ARRAY_INPUT_SIZEINDEX_1 {
const void *data };
167 %apply (
char *ARRAY_INPUT,
size_t LENGTH) { (
const void *data,
uint32 size) };
170 %apply
char INPUT[] {
const void *data};
188 %clear
const void *data;
189 %clear (
const void *data,
uint32 size);
Definition edlvector.h:31
Base class Interface for all Reference Counted objects.
Definition ircobject.h:35
A class representing a GPU device discovered on the current host.
Definition apexrenderer.h:51
bool operator==(const CGpuDeviceInfo &other) const
Definition apexrenderer.h:59
uint32 index
The index of the GPU in the available system GPU list.
Definition apexrenderer.h:53
U8String deviceName
The name of the device.
Definition apexrenderer.h:54
bool discreteDevice
True if the device is a discrete GPU, false otherwise.
Definition apexrenderer.h:56
uint32 vendorId
The PCI vendor ID of the device manufacturer.
Definition apexrenderer.h:55
uint64 deviceLocalMemorySize
The size of device local memory.
Definition apexrenderer.h:57
bool operator!=(const CGpuDeviceInfo &other) const
Definition apexrenderer.h:67
Definition apexrenderer.h:96
virtual ~IFragmentShader()
Definition apexrenderer.h:98
Definition apexrenderer.h:88
virtual ~ITexture()
Definition apexrenderer.h:90
A renderer that uses the GPU-accelerated Apex RIP to create images from arbitrary DOM....
Definition apexrenderer.h:32
CEDLVector< ITexturePtr > CTextureVect
Definition apexrenderer.h:93
static JAWSMAKO_API IApexRendererPtr create(const IJawsMakoPtr &jawsMako, int32 deviceIndex=-1)
Create an Apex renderer instance.
virtual CGpuDeviceInfo getGpuInfo()=0
Fetch the GPU information of the GPU being used by this Apex instance.
virtual ITexturePtr uploadImage(const void *data, uint32 size, uint8 numComponents, uint32 width, uint32 height, uint32 depth, bool filtered=false)=0
Upload an image to the GPU preparing for its use as a texture by a custom post processing step (see a...
DECL_SMART_PTR(IFragmentShader)
static JAWSMAKO_API CGpuDeviceInfoVect enumerateGpus()
Enumerate all the available GPU devices.
virtual IFragmentShaderPtr createFragmentShader(const void *data, uint32 size)=0
Create a fragment shader ready to run on the GPU. These fragment shaders must be presented in SPIR-V ...
CEDLVector< CGpuDeviceInfo > CGpuDeviceInfoVect
Definition apexrenderer.h:73
A generic renderer interface.
Definition renderspec.h:1053
unsigned int uint32
Definition edltypes.h:36
unsigned long long uint64
Definition edltypes.h:37
signed int int32
Definition edltypes.h:31
unsigned char uint8
Definition edltypes.h:34
EDLSysString U8String
A UTF-8 String.
Definition types.h:150
Definition apexcustompostprocess.h:17
Render specification classes and post-processes.
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211
#define JAWSMAKO_API
Definition types.h:29