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 |
glName() |
boolean |
isDeleted() |
String |
name() |
JCGLProgramShaderUsableType |
program() |
protected void |
setDeleted() |
JCGLType |
type() |
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 name()
name in interface JCGLProgramAttributeTypepublic JCGLProgramShaderUsableType program()
program in interface JCGLProgramAttributeTypepublic JCGLType type()
type in interface JCGLProgramAttributeTypepublic int glName()
glName 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 © 2017 <code@io7m.com> http://io7m.com