public void SetPixel(CubemapFace face, int x, int y, Color color) { INTERNAL_CALL_SetPixel(this, face, x, y, ref color); }
void createPlaceHolderCube() { if( PlaceHolderCube == null ) { PlaceHolderCube = new Cubemap(16,TextureFormat.ARGB32,true); for(int face = 0; face < 6; face++) { for(int x = 0; x < 16; x++) { for(int y = 0; y < 16; y++) { PlaceHolderCube.SetPixel((CubemapFace)face, x, y, Color.black); } } } PlaceHolderCube.Apply(true); } }