inochi2d.core

Undocumented in source.

Modules

automation
module inochi2d.core.automation
Undocumented in source.
dbg
module inochi2d.core.dbg
Undocumented in source.
meshdata
module inochi2d.core.meshdata
Undocumented in source.
nodes
module inochi2d.core.nodes
Undocumented in source.
param
module inochi2d.core.param
Undocumented in source.
puppet
module inochi2d.core.puppet
Undocumented in source.
shader
module inochi2d.core.shader
Undocumented in source.
texture
module inochi2d.core.texture
Undocumented in source.

Public Imports

inochi2d.core.shader
public import inochi2d.core.shader;
Undocumented in source.
inochi2d.core.texture
public import inochi2d.core.texture;
Undocumented in source.
inochi2d.core.nodes
public import inochi2d.core.nodes;
Undocumented in source.
inochi2d.core.puppet
public import inochi2d.core.puppet;
Undocumented in source.
inochi2d.core.meshdata
public import inochi2d.core.meshdata;
Undocumented in source.
inochi2d.core.param
public import inochi2d.core.param;
Undocumented in source.
inochi2d.core.automation
public import inochi2d.core.automation;
Undocumented in source.
inochi2d.integration
public import inochi2d.integration;
Undocumented in source.

Members

Functions

inBeginComposite
void inBeginComposite()

Begins a composition step

inBeginScene
void inBeginScene()

Begins rendering to the framebuffer

inDrawScene
void inDrawScene(vec4 area)

Draw scene to area

inDumpViewport
void inDumpViewport(ubyte[] dumpTo)

Dumps viewport data to texture stream

inEndComposite
void inEndComposite()

Ends a composition step, re-binding the internal framebuffer

inEndScene
void inEndScene()

Ends rendering to the framebuffer

inGetCamera
Camera inGetCamera()

Gets the global camera

inGetCompositeImage
GLuint inGetCompositeImage()

Gets the Inochi2D composite render image

inGetRenderImage
GLuint inGetRenderImage()

Gets the Inochi2D framebuffer render image

inGetViewport
void inGetViewport(int width, int height)

Gets the viewport

inSetCamera
void inSetCamera(Camera camera)

Sets the global camera, allows switching between cameras

inSetClearColor
void inSetClearColor(float r, float g, float b, float a)

Sets the background clear color

inSetViewport
void inSetViewport(int width, int height)

Sets the viewport area to render to

inViewportDataLength
size_t inViewportDataLength()

Returns length of viewport data for extraction

initRenderer
void initRenderer()

Initializes the renderer

Structs

TypeId
struct TypeId

UDA for sub-classable parts of the spec eg. Nodes and Automation can be extended by adding new subclasses that aren't in the base spec.

Variables

AmdPowerXpressRequestHighPerformance
int AmdPowerXpressRequestHighPerformance;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
NvOptimusEnablement
int NvOptimusEnablement;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta