Home | History | Annotate | Download | only in optimize

Lines Matching refs:null

147         if (diffuse == null) {
151 if (diffuse != null && diffuse.getKey() != null) {
156 if (normal != null && normal.getKey() != null) {
159 if (specular != null && specular.getKey() != null) {
175 if (texture == null) {
176 throw new IllegalStateException("Texture cannot be null!");
179 if (texture.getImage() != null && name != null) {
180 return addImage(texture.getImage(), name, mapName, null);
194 if (sourceTextureName == null) {
208 if (texture == null) {
209 throw new IllegalStateException("Texture cannot be null!");
212 if (texture.getImage() != null && name != null) {
220 if (texture == null) {
221 return null;
224 if (key != null) {
227 return null;
232 if (rootMapName == null) {
235 if (sourceTextureName == null && !rootMapName.equals(mapName)) {
240 if (location != null) {
249 } else if (sourceTextureName == null) {
252 if (node == null) {
259 if (location == null) {
272 if (images == null) {
276 if (image == null) {
284 Image newImage = null;
326 if (newImage == null) {
328 if (newImage != null) {
351 if (clazz == null) {
352 return null;
365 return null;
375 if (sourceTextureName != null) {
378 return null;
396 if (images == null) {
397 return null;
400 if (image != null) {
407 return null;
435 if (inBuf == null || outBuf == null) {
440 if (tex == null) {
444 if (tex != null) {
446 if (tile != null) {
463 * @return Null if the atlas cannot be created because not all textures fit.
472 return null;
484 * @return A new geometry that uses the generated texture atlas and merges all meshes of the root spatial, null if the atlas cannot be created because not all textures fit.
490 if (atlas == null) {
491 return null;
506 if (diffuseMap != null) {
509 if (normalMap != null) {
512 if (specularMap != null) {
533 if (inBuf == null || outBuf == null) {
545 if (mat == null || mat.getParam(mapName) == null || !(mat.getParam(mapName) instanceof MatParamTexture)) {
546 return null;
550 if (texture == null) {
551 return null;
567 child[0] = null;
568 child[1] = null;
573 return child[0] == null && child[1] == null;
581 if (newNode != null) {
588 return null; // occupied
592 return null; // does not fit