Public Member Functions | |
DrawInfo () | |
No size - GPU mode. More... | |
DrawInfo (int width, int height) | |
Non-square GPU draw info. More... | |
DrawInfo (int size) | |
Square GPU draw info. More... | |
DrawInfo (int size, SurfaceDrawMode mode) | |
Square GPU draw info. More... | |
void | SetSize (int x, int y) |
Non-square texture. More... | |
void | Square (int size) |
Square texture (ImageX and ImageY are set equal to size). More... | |
DrawStack | GetStack (int id) |
Gets the stack with the given index, or creates it. More... | |
DrawStack | CreateStack () |
Creates and adds a new draw stack. More... | |
void | Clear () |
Clears out this DrawInfo by destroying internal textures. More... | |
Static Public Member Functions | |
static Mesh | CreateLines (int pixelsPerLine, int imageY) |
A series of strips, each pixelsPerLine high. It's used for generating audio with the Loonim pipeline. A 256x256 image can safely generate roughly 33k samples (or about 0.75 seconds of audio) using the GPU. This method may end up being bumped into the SoundSynth module instead. More... | |
Public Attributes | |
int | ImageX |
int | ImageY |
SurfaceTypeMode | SurfaceType =SurfaceTypeMode.Albedo |
The type of image to draw. More... | |
bool | HDR =true |
The HDR mode. More... | |
SurfaceDrawMode | Mode |
The selected draw mode. More... | |
FilterMode | FilterMode =FilterMode.Bilinear |
The pipeline filter mode to use. More... | |
float | DeltaX |
A value to advance by on X when scanning the image. More... | |
float | DeltaY |
A value to advance by on Y when scanning the image. More... | |
Mesh | Mesh |
The mesh to use for standard pipeline nodes. More... | |
List< DrawStack > | Stacks =new List<DrawStack>() |
<summmary>The current set of stacks. More... | |
Package Attributes | |
TextureNode | CurrentParent |
Only available during Draw() passes. This is the current parent node. More... | |
int | CurrentIndex |
Only available during Draw() passes. The current index in parents source nodes. More... | |
Properties | |
int | PixelCount [get] |
ImageX * ImageY. More... | |
bool | IsSquare [get] |
True if this is drawing a square image. More... | |
static Mesh | Quad [get] |
A full screen quad. This is the most commonly used mesh type (it gets set to the DrawInfo.Mesh property by default). More... | |
Static Private Attributes | |
static Mesh | SharedQuad |
The cached fullscreen quad. See Quad. More... | |
|
inline |
No size - GPU mode.
|
inline |
Non-square GPU draw info.
|
inline |
Square GPU draw info.
|
inline |
Square GPU draw info.
|
inline |
Clears out this DrawInfo by destroying internal textures.
|
inlinestatic |
A series of strips, each pixelsPerLine high. It's used for generating audio with the Loonim pipeline. A 256x256 image can safely generate roughly 33k samples (or about 0.75 seconds of audio) using the GPU. This method may end up being bumped into the SoundSynth module instead.
|
inline |
Creates and adds a new draw stack.
|
inline |
Gets the stack with the given index, or creates it.
|
inline |
Non-square texture.
|
inline |
Square texture (ImageX and ImageY are set equal to size).
|
package |
Only available during Draw() passes. The current index in parents source nodes.
|
package |
Only available during Draw() passes. This is the current parent node.
float Loonim.DrawInfo.DeltaX |
A value to advance by on X when scanning the image.
float Loonim.DrawInfo.DeltaY |
A value to advance by on Y when scanning the image.
FilterMode Loonim.DrawInfo.FilterMode =FilterMode.Bilinear |
The pipeline filter mode to use.
bool Loonim.DrawInfo.HDR =true |
The HDR mode.
int Loonim.DrawInfo.ImageX |
int Loonim.DrawInfo.ImageY |
Mesh Loonim.DrawInfo.Mesh |
The mesh to use for standard pipeline nodes.
SurfaceDrawMode Loonim.DrawInfo.Mode |
The selected draw mode.
|
staticprivate |
The cached fullscreen quad. See Quad.
SurfaceTypeMode Loonim.DrawInfo.SurfaceType =SurfaceTypeMode.Albedo |
The type of image to draw.
|
get |
True if this is drawing a square image.
|
get |
ImageX * ImageY.
|
staticget |
A full screen quad. This is the most commonly used mesh type (it gets set to the DrawInfo.Mesh property by default).