com.gempukku.libgdx.graph.shader.node.DefaultFieldOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libgdx-graph Show documentation
Show all versions of libgdx-graph Show documentation
libGDX-graph runtime library for pipeline rendering
The newest version!
package com.gempukku.libgdx.graph.shader.node;
import com.gempukku.libgdx.graph.shader.ShaderFieldType;
public class DefaultFieldOutput implements GraphShaderNodeBuilder.FieldOutput {
private ShaderFieldType fieldType;
private String representation;
private String samplerRepresentation;
public DefaultFieldOutput(ShaderFieldType fieldType, String representation) {
this(fieldType, representation, null);
}
public DefaultFieldOutput(ShaderFieldType fieldType, String representation, String samplerRepresentation) {
this.fieldType = fieldType;
this.representation = representation;
this.samplerRepresentation = samplerRepresentation;
}
@Override
public ShaderFieldType getFieldType() {
return fieldType;
}
@Override
public String getRepresentation() {
return representation;
}
@Override
public String getSamplerRepresentation() {
return samplerRepresentation;
}
public String toString() {
return getRepresentation();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy