public final class FakeProgramAttribute extends Object implements JCGLProgramAttributeType
| Constructor and Description |
|---|
FakeProgramAttribute(FakeContext in_context,
JCGLProgramShaderUsableType in_program,
int in_location,
String in_name,
JCGLType in_type)
Construct an attribute.
|
| Modifier and Type | Method and Description |
|---|---|
protected FakeContext |
getContext() |
int |
getGLName() |
String |
getName() |
JCGLProgramShaderUsableType |
getProgram() |
JCGLType |
getType() |
boolean |
isDeleted() |
protected void |
setDeleted() |
public FakeProgramAttribute(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 attribute locationin_name - The attribute namein_type - The attribute typepublic String getName()
getName in interface JCGLProgramAttributeTypepublic JCGLProgramShaderUsableType getProgram()
getProgram in interface JCGLProgramAttributeTypepublic JCGLType getType()
getType in interface JCGLProgramAttributeTypepublic 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