public final class FakeProgramUniform extends Object implements JCGLProgramUniformType
| Constructor and Description |
|---|
FakeProgramUniform(FakeContext in_context,
JCGLProgramShaderUsableType in_program,
int in_location,
String in_name,
JCGLType in_type)
Construct a uniform.
|
| Modifier and Type | Method and Description |
|---|---|
protected FakeContext |
getContext() |
int |
getGLName() |
String |
getName() |
JCGLProgramShaderUsableType |
getProgram() |
JCGLType |
getType() |
boolean |
isDeleted() |
protected void |
setDeleted() |
public FakeProgramUniform(FakeContext in_context, JCGLProgramShaderUsableType in_program, int in_location, String in_name, JCGLType in_type)
in_context - The contextin_program - The owning programin_location - The uniform locationin_name - The uniform namein_type - The uniform typepublic String getName()
getName in interface JCGLProgramUniformTypepublic JCGLProgramShaderUsableType getProgram()
getProgram in interface JCGLProgramUniformTypepublic JCGLType getType()
getType in interface JCGLProgramUniformTypepublic int getGLName()
getGLName in interface JCGLNamedTypeprotected final FakeContext getContext()
public final boolean isDeleted()
isDeleted in interface JCGLResourceUsableTypetrue iff the given resource has been deleted.protected final void setDeleted()
Copyright © 2015 <code@io7m.com> http://io7m.com