메소드 | 설명 | |
---|---|---|
GetPixel ( int x, int y ) : Color |
Gets the current color of the pixel.
|
|
Lock ( ) : |
Call this before any modification/read of the texture via GetPixel/SetPixel If you try to modify/acces the texture without it, it will still work but really slower Because it will lock and unlock the texture each time you access a pixel.
|
|
MakeColorKey ( |
||
MakeColorKey ( |
||
MakeColorKey ( |
||
Modify ( ModifyPixel callback ) : void |
Modifies the texture using a simple callback called on each pixel's modification.
|
|
RegenerateMipMapLevels ( ) : void | ||
Retrieve ( ) : ].Color[ |
Safe and fast way to retrieve all pixels of the texture.
|
|
SafeCopyInto ( |
||
Save ( string name ) : void |
Saves the texture to a file
|
|
SetPixel ( int x, int y, Color color ) : void |
Sets the current color of a pixel
|
|
Texture ( |
||
Unlock ( ) : void |
You must always call this after each lock.
|
메소드 | 설명 | |
---|---|---|
ModifyA1R5G5B5 ( ModifyPixel callback ) : void | ||
ModifyA8R8G8B8 ( ModifyPixel callback ) : void | ||
ModifyR5G6B5 ( ModifyPixel callback ) : void | ||
RetrieveA1R5G5B5 ( ) : ].Color[ | ||
RetrieveA8R8G8B8 ( ) : ].Color[ | ||
RetrieveR5G6B5 ( ) : ].Color[ |
메소드 | 설명 | |
---|---|---|
LockResult_GetPixel ( |
||
LockResult_SetPixel ( |
||
Texture_GetColorFormat ( |
||
Texture_GetDriverType ( |
||
Texture_GetName ( |
||
Texture_GetOriginalSize ( |
||
Texture_GetPitch ( |
||
Texture_Lock ( |
||
Texture_RegenerateMipMapLevels ( |
||
Texture_UnLock ( |
public GetPixel ( int x, int y ) : Color | ||
x | int | Width of the pixel |
y | int | Height of the pixel |
리턴 | Color |
public MakeColorKey ( |
||
drv | ||
color | Color | |
리턴 | void |
public MakeColorKey ( |
||
drv | ||
colorKeyPixelPos | IrrlichtNETCP.Position2D | |
리턴 | void |
public Modify ( ModifyPixel callback ) : void | ||
callback | ModifyPixel | Callback called for each pixel |
리턴 | void |
protected ModifyA1R5G5B5 ( ModifyPixel callback ) : void | ||
callback | ModifyPixel | |
리턴 | void |
protected ModifyA8R8G8B8 ( ModifyPixel callback ) : void | ||
callback | ModifyPixel | |
리턴 | void |
protected ModifyR5G6B5 ( ModifyPixel callback ) : void | ||
callback | ModifyPixel | |
리턴 | void |
public Save ( string name ) : void | ||
name | string | Path to the file in Irrlicht's working directory |
리턴 | void |
public SetPixel ( int x, int y, Color color ) : void | ||
x | int | Width of the pixel |
y | int | Height of the pixel |
color | Color | Color of the pixel |
리턴 | void |