inochi2d.core

Undocumented in source.

Modules

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.

Members

Functions

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

inEndScene
void inEndScene()

Ends rendering to the framebuffer

inGetCamera
Camera inGetCamera()

Gets the global camera

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

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